joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4155f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5b5de9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
lea edi, [ebp + 4]
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov dword [esp + 0x1c], ebp
mov word [edi], ax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 1
mov ebx, eax
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x415650
sub eax, edx
mov esi, dword [ebp + 0x14]
sar eax, 1
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ecx + eax + 7]
cmp esi, eax
ja 0x4156a1
cmp dword [ebp + 0x18], eax
je 0x4156a1
push 1
push eax
mov eax, ebp
call fcn.0040e360
test al, al
je 0x4156a1
cmp dword [ebp + 0x18], 8
mov dword [ebp + 0x14], esi
jb 0x41569b
mov edi, dword [edi]
xor ecx, ecx
mov word [edi + esi*2], cx
movzx eax, word [ebx]
test ax, ax
je 0x4157bb
mov esi, dword [esp + 0x38]
and esi, 0x100
mov dword [esp + 0x14], esi
test esi, esi
je 0x4156d8
lea edx, [eax - 0x22]
cmp dx, 0x1c
ja 0x4157a1
movzx ecx, ax
movsx edi, byte [ecx + 0x617c4e]
jmp 0x4156ef
lea edx, [eax - 0x26]
cmp dx, 0x18
ja 0x4157a1
movzx ecx, ax
movsx edi, byte [ecx + 0x617c6a]
test edi, edi
je 0x4157a1
test byte [esp + 0x38], 8
je 0x415777
cmp ax, 0x26
jne 0x415777
movzx eax, word [ebx + 2]
lea esi, [ebx + 2]
lea edx, [eax - 0x23]
cmp dx, 0x57
ja 0x415722
movzx ecx, ax
movsx ecx, byte [ecx + 0x617c8d]
test ecx, ecx
jne 0x415728
cmp ax, 0x7f
jbe 0x415777
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
je 0x41575f
lea edx, [eax - 0x2d]
cmp dx, 0x4d
ja 0x41574c
movzx ecx, ax
movsx ecx, byte [ecx + 0x617ce3]
test ecx, ecx
jne 0x415752
cmp ax, 0x7f
jbe 0x415777
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
jne 0x415735
mov eax, esi
sub eax, ebx
sar eax, 1
inc eax
push eax
push ebx
mov eax, ebp
call fcn.0040e0c0
mov ebx, esi
mov esi, dword [esp + 0x14]
jmp 0x4157ab
mov edx, dword [edi*4 + 0x640a94]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415783
sub eax, esi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040e0c0
mov esi, dword [esp + 0x14]
jmp 0x4157ab
push 1
push ebx
mov eax, ebp
call fcn.0040e0c0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x4156bb
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x418970
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5b5d18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.0040d090
mov eax, 0x6185a0
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4189d0
sub eax, edx
sar eax, 1
push eax
push 0x6185a0
lea eax, [esp + 0x14]
call fcn.0040e0c0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.0040d090
cmp dword [esp + 0x24], 8
jb 0x418a1c
mov edx, dword [esp + 0x10]
push edx
call fcn.0044f8b0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x418b00
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
cmp byte [0x64843c], 0
je 0x418b18
cmp byte [esp + 4], 0
jne 0x418b18
mov eax, 0x11
ret 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [edi + 8], eax
test eax, eax
jge 0x418b2c
xor eax, eax
ret 4
push esi
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x418b50
cmp eax, 0x80010119
jne 0x418bad
lea esi, [edi + 4]
push esi
push 0x6129a4
push 1
push 0
push 0x612a74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x418ba7
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rootCIMV2
push eax
call edx
test eax, eax
jl 0x418ba7
mov eax, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x418bad
xor eax, eax
pop esi
ret 4
mov byte [0x64843c], 1
mov eax, 1
pop esi
ret 4
Function at 0x41c5a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5b7a00
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push 0x618558
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [esp + 0x14]
xor eax, eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x1c], 0
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
call fcn.0041c490
mov dl, byte [esp + 0x12]
add byte [esp + 0x1c], dl
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x1e]
add al, byte [esp + 0x13]
add byte [esp + 0x1f], bl
add cl, dl
movzx edx, bh
push edx
movzx edx, bl
push edx
movzx edx, byte [esp + 0x28]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x2b]
push edx
push ecx
movzx ecx, byte [esp + 0x30]
movzx edx, al
movzx eax, byte [esp + 0x31]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x54]
push 0x11
push edx
call fcn.0058907a
add esp, 0x2c
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x14]
call fcn.00410ff0
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov esi, dword [eax]
cmp esi, ebx
je 0x41c69e
cmp dword [esi + 4], ebx
jne 0x41c699
mov ecx, dword [esi]
push ecx
call fcn.005ac930
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41c6a0
xor esi, esi
push esi
lea ecx, [esp + 0x20]
call fcn.00424f20
push eax
push str.MachId
mov ecx, edi
mov byte [esp + 0x58], 1
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], bl
call fcn.00425280
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x41c710
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41c710
cmp esi, ebx
je 0x41c710
mov eax, dword [esi]
cmp eax, ebx
je 0x41c6f7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41c707
push eax
call fcn.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0058844d
add esp, 0x48
ret
Function at 0x41c730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push 0x618558
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [esp + 0x10]
xor eax, eax
lea esi, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x18], 0
mov dword [esp + 0x19], eax
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
call fcn.0041c490
mov dl, byte [esp + 0xe]
add byte [esp + 0x18], dl
mov cl, byte [esp + 0x1d]
mov al, byte [esp + 0x1a]
add al, byte [esp + 0xf]
add byte [esp + 0x1b], bl
add cl, dl
movzx edx, bh
push edx
movzx edx, bl
push edx
movzx edx, byte [esp + 0x24]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x27]
push edx
push ecx
movzx ecx, byte [esp + 0x2c]
movzx edx, al
movzx eax, byte [esp + 0x2d]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x44]
push 0x11
push edx
call fcn.0058907a
add esp, 0x2c
mov ecx, edi
call fcn.0040c080
lea eax, [esp + 0x20]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c7f3
sub eax, ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0040dd10
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0058844d
mov esp, ebp
pop ebp
ret
Function at 0x41cf30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b69a0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
xor edi, edi
push 0xffffffffffffffff
mov dword [esp + 0x18], ecx
xor edx, edx
mov esi, 7
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], dx
call fcn.0040d090
mov dword [esp + 0x78], edi
xor eax, eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov word [esp + 0x38], ax
mov byte [esp + 0x78], 1
xor esi, esi
mov ecx, dword [ebp + 0x14]
mov ebx, 8
cmp dword [ebp + 0x18], ebx
jb 0x41cfc2
mov eax, dword [ebp + 4]
jmp 0x41cfc5
lea eax, [ebp + 4]
push ecx
push eax
mov edx, esi
lea eax, [esp + 0x58]
call fcn.0041d210
lea edx, [esp + 0x50]
mov edi, eax
push edx
mov edx, esi
cmp edi, 0xffffffff
je 0x41d053
mov ecx, edi
sub ecx, esi
lea esi, [esp + 0x1c]
call fcn.00418380
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 2
call fcn.0040d090
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], ebx
jb 0x41d01a
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044f8b0
add esp, 4
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
call fcn.0040c900
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 0x14]
jb 0x41d036
mov eax, dword [ebp + 4]
jmp 0x41d039
lea eax, [ebp + 4]
push ecx
push eax
mov edx, edi
lea eax, [esp + 0x58]
call fcn.0041d2a0
mov esi, eax
cmp esi, 0xffffffff
jne 0x41cfb0
jmp 0x41d09a
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.00418380
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 3
call fcn.0040d090
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], ebx
jb 0x41d08c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044f8b0
add esp, 4
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
call fcn.0040c900
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x41d0b2
mov edx, dword [esp + 0x38]
push edx
call fcn.0044f8b0
add esp, 4
xor eax, eax
mov word [esp + 0x38], ax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 7
cmp dword [esp + 0x68], esi
jb 0x41d0d8
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0044f8b0
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0058844d
add esp, 0x68
ret 8
Function at 0x41e780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41e799
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41e7d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x41e7d0
lea ebx, [ebx]
cmp esi, eax
jae 0x41e7d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x41e7c0
cmp esi, eax
jb 0x41e7da
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4223e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5b572b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005a86a4
push 4
mov dword [esp + 0x24], 0
call fcn.0044f881
mov edi, eax
add esp, 4
test edi, edi
je 0x422462
call fcn.005a89ef
mov dword [edi], eax
call fcn.005a881d
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.005a8741
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x422457
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.005a8769
jmp 0x422464
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x42cc70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b5b82
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.005890d0
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x1010], eax
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x14], esi
mov edi, edx
mov word [esi + 4], ax
push 0x1000
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1030], eax
push ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x1000
call fcn.00588e40
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x42cd06
mov edi, dword [edi + 4]
jmp 0x42cd09
add edi, 4
lea edx, [esp + 0x10]
push edx
mov edx, dword [ebx + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42cd30
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x20]
call fcn.0040e1e0
mov eax, esi
mov ecx, dword [esp + 0x1020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.0058844d
add esp, 0x1020
ret

Function at 0x42cd80
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5b65ab
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x254]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov ebx, ecx
xor edi, edi
push 0x200
lea ecx, [esp + 0x40]
push ebp
push ecx
mov dword [esp + 0x28], 0x200
call fcn.00588e40
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x50]
push eax
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
jne 0x42ce6f
xor eax, eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ce22
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
lea esi, [esp + 0x24]
call fcn.0040e1e0
mov ecx, esi
push ecx
mov dword [esp + 0x250], ebp
call fcn.0040c900
mov dword [esp + 0x24c], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x42ce76
mov edx, dword [esp + 0x24]
push edx
call fcn.0044f8b0
add esp, 4
jmp 0x42ce76
cmp eax, 0x103
je 0x42ce83
inc edi
cmp edi, 0x400
jl 0x42cdcc
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0058844d
add esp, 0x23c
ret 4
Function at 0x42de50
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad208
mov eax, dword fs:[0]
push eax
mov eax, 0x11f0
call fcn.005890d0
mov eax, dword [0x63ee20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], 0
push 0x612d66
lea ecx, [ebp - 0x1c]
call fcn.0043b410
mov dword [ebp - 4], 0
mov byte [ebp - 0x11b0], 0
push 0xfff
push 0
lea eax, [ebp - 0x11af]
push eax
call fcn.00588e40
add esp, 0xc
lea eax, [ebp - 0x1ac]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42df5e
push 0x1000
lea eax, [ebp - 0x11b0]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x42df58
lea eax, [ebp - 0x11b0]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
je 0x42df58
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x11b4], eax
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x11b8], eax
mov eax, dword [ebp - 0x11b4]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043b4c0
lea ecx, [ebp - 0x1c]
call fcn.00439be0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00589100
add esp, 8
mov byte [ebp - 0x15], 1
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x11f9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041e760
mov al, byte [ebp - 0x11f9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058844d
mov esp, ebp
pop ebp
ret 4
Function at 0x42e550
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.005890d0
mov eax, dword [0x63ee20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1010], 0
push 0x1000
push 0
lea eax, [ebp - 0x100f]
push eax
call fcn.00588e40
add esp, 0xc
push 0x1000
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootA]
mov ecx, dword [ebp - 8]
call fcn.0042e470
test eax, eax
je 0x42e5f4
mov dword [0x640e14], 0
cmp dword [0x64529c], 0
je 0x42e5ef
push 0x22
push 0x22
push 0x5d2d24
mov eax, dword [0x64529c]
mov ecx, dword [eax]
mov edx, dword [0x64529c]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x42e67d
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x42e67d
mov eax, dword [ebp - 0xc]
and eax, 0x40
je 0x42e64e
cmp dword [0x64529c], 0
je 0x42e642
push 0x22
push 0x22
push 0x5d2d0c
mov eax, dword [0x64529c]
mov ecx, dword [eax]
mov edx, dword [0x64529c]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [0x640e14], 1
jmp 0x42e67d
cmp dword [0x64529c], 0
je 0x42e673
push 0x22
push 0x22
push 0x5d2cf0
mov eax, dword [0x64529c]
mov ecx, dword [eax]
mov edx, dword [0x64529c]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [0x640e14], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058844d
mov esp, ebp
pop ebp
ret 4
Function at 0x42fb90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.005890d0
mov eax, dword [0x63ee20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 0x1008], 0
push 0xfff
push 0
lea eax, [ebp - 0x1007]
push eax
call fcn.00588e40
add esp, 0xc
mov ecx, dword [ebp - 8]
add ecx, 0x200
call fcn.00411110
push eax
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push 0x612d66
push str.StartingShotTaskIsComplete
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1008]
push eax
push str.COMPLETE
call fcn.00589230
add esp, 8
test eax, eax
jne 0x42fc1b
mov eax, 1
jmp 0x42fc1d
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058844d
mov esp, ebp
pop ebp
ret
Function at 0x42fca0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad34b
mov eax, dword fs:[0]
push eax
mov eax, 0x3080
call fcn.005890d0
mov eax, dword [0x63ee20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], 0x41
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x21], 0x41
jmp 0x42fcf5
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movsx eax, byte [ebp - 0x21]
cmp eax, 0x5a
jg 0x42fdc3
mov byte [ebp - 0x1024], 0
push 0xfff
push 0
lea eax, [ebp - 0x1023]
push eax
call fcn.00588e40
add esp, 0xc
mov byte [ebp - 0x2024], 0
push 0xfff
push 0
lea eax, [ebp - 0x2023]
push eax
call fcn.00588e40
add esp, 0xc
movsx eax, byte [ebp - 0x21]
push eax
push str._c:_
lea ecx, [ebp - 0x2024]
push ecx
call fcn.00588ffd
add esp, 0xc
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x2028], eax
cmp dword [ebp - 0x2028], 3
je 0x42fd76
jmp 0x42fced
lea eax, [ebp - 0x2024]
push eax
call fcn.0050a0c0
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x202c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x202c]
ja 0x42fdbe
jb 0x42fda6
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x2030]
jae 0x42fdbe
mov al, byte [ebp - 0x21]
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x2030]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x202c]
mov dword [ebp - 0x1c], ecx
jmp 0x42fced
mov byte [ebp - 0x3030], 0
push 0xfff
push 0
lea eax, [ebp - 0x302f]
push eax
call fcn.00588e40
add esp, 0xc
movsx eax, byte [ebp - 0x15]
push eax
push 0x5d3020
lea ecx, [ebp - 0x3030]
push ecx
call fcn.00588ffd
add esp, 0xc
lea eax, [ebp - 0x3030]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x270
call fcn.004115e0
mov ecx, dword [ebp - 0x14]
add ecx, 0x270
call fcn.0040c0f0
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x270
call fcn.0040c0f0
sub eax, 1
push eax
lea eax, [ebp - 0x304c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x270
call fcn.0040c130
mov dword [ebp - 4], 0
lea eax, [ebp - 0x304c]
push eax
push 0x5d2fb8
call fcn.0040fbf0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42fe79
push 0x5d2fb8
mov ecx, dword [ebp - 0x14]
add ecx, 0x270
call fcn.0040c050
push str.DragonNest573
mov ecx, dword [ebp - 0x14]
add ecx, 0x270
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x304c]
call fcn.00411770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058844d
mov esp, ebp
pop ebp
ret