joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4126cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 4], edi
jae 0x4126e5
lea eax, [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
push 0x20019
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412726
cmp dword [ebp + 0x3c], 0x10
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], 4
jae 0x412712
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push edi
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 4]
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00402614
push edi
push 1
lea ecx, [ebp + 0x24]
call fcn.00402614
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x41274e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5c
mov eax, 0x43870b
call fcn.00424c31
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 2
call fcn.0040265f
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], 1
jae 0x412783
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4128d3
push 4
call fcn.00412d50
pop ecx
cmp eax, ebx
je 0x4127b4
lea ecx, [ebp - 0x30]
mov dword [eax], ecx
jmp 0x4127b6
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 4
cmp dword [ebp + 0x3c], 0x10
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], ebx
jae 0x4127d5
lea eax, [ebp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x14]
call esi
cmp eax, ebx
jne 0x4128b3
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call fcn.0041291e
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
jne 0x412809
call fcn.00421eaf
cmp dword [ebp + 0x3c], 0x10
mov eax, dword [ebp + 0x28]
jae 0x412815
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x24]
push ebx
push ebx
push eax
push dword [ebp - 0x14]
call esi
cmp eax, ebx
jne 0x4128b3
mov esi, dword [ebp - 0x20]
mov eax, esi
sub eax, dword [ebp - 0x24]
cmp eax, ebx
jle 0x4128b3
cmp dword [ebp - 0x24], esi
jbe 0x412842
call fcn.00421eaf
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], esi
or edi, 0xffffffff
lea esi, [ebp - 0x44]
mov dword [ebp - 0x44], eax
call fcn.00412bec
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x20]
jbe 0x41286e
call fcn.00421eaf
mov esi, dword [ebp - 0x30]
push ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x50], 0xf
call fcn.004025f8
push dword [ebp - 0x48]
lea eax, [ebp - 0x68]
push edi
push dword [ebp - 0x34]
push esi
push dword [ebp - 0x34]
push eax
call fcn.00412c46
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0040251a
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00402614
cmp dword [ebp - 0x24], ebx
je 0x4128c1
push dword [ebp - 0x24]
call fcn.00412d7f
pop ecx
push dword [ebp - 0x30]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00412d7f
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00402614
push ebx
push 1
lea ecx, [ebp + 0x24]
call fcn.00402614
mov eax, dword [ebp - 0x38]
call fcn.00424d09
ret
Function at 0x415242
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x452c60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x4152e0
push 0x43bc7c
push 4
push eax
call fcn.00423114
push eax
call fcn.00412d9b
add esp, 0x10
push ebx
push edi
call fcn.00424fde
mov edi, dword [eax]
call fcn.00424fde
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004227fa
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00424fde
cmp dword [eax], ebx
je 0x4152f7
call fcn.00424fde
push dword [eax]
call fcn.00412ee4
pop ecx
jmp 0x4152fe
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x415288
jmp 0x415385
call fcn.00424fde
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x415381
cmp dword [ebp - 0x11c], esi
jae 0x415381
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.00425210
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x415370
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x415370
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x415370
push ebx
push ebx
push esi
jmp 0x415379
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x415383
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00421987
leave
ret

Function at 0x4165cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4165f0
cmp dword [edi + 0x54], 0
jne 0x4165f0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00414c72
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041658d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41d12e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41d175
call fcn.00414c72
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d175
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41d191
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041cca8
mov esi, eax
test edi, edi
je 0x41d18f
test ebx, ebx
je 0x41d18f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x421987
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452c60]
jne 0x421991
repz ret
jmp fcn.0042759f

Function at 0x422084
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4220b5
call fcn.00424ff1
mov dword [eax], esi
call fcn.00424fde
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00421e89
add esp, 0x14
push 0x16
pop eax
jmp 0x42210a
test dword [ebp + 0xc], 0xfffffff9
jne 0x422091
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4220e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00425004
pop ecx
call fcn.00424fde
mov eax, dword [eax]
jmp 0x42210a
test al, 0x10
jne 0x422108
test al, 1
je 0x422108
test byte [ebp + 0xc], 2
je 0x422108
call fcn.00424ff1
mov dword [eax], 5
call fcn.00424fde
mov dword [eax], 0xd
jmp 0x4220d9
xor eax, eax
pop esi
pop ebp
ret
Function at 0x433668
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004289c1
and dword [ebp - 4], 0
cmp dword [0x456cbc], 0
mov ebx, eax
jne 0x433719
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4337ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43f818
push edi
call esi
test eax, eax
je 0x4337ca
push eax
call fcn.0042894f
mov dword [esp], 0x43f808
push edi
mov dword [0x456cbc], eax
call esi
push eax
call fcn.0042894f
mov dword [esp], 0x43f7f4
push edi
mov dword [0x456cc0], eax
call esi
push eax
call fcn.0042894f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456cc4], eax
call esi
push eax
call fcn.0042894f
pop ecx
mov dword [0x456ccc], eax
test eax, eax
je 0x433719
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042894f
pop ecx
mov dword [0x456cc8], eax
mov eax, dword [0x456cc8]
cmp eax, ebx
je 0x433771
cmp dword [0x456ccc], ebx
je 0x433771
push eax
call fcn.004289ca
push dword [0x456ccc]
mov esi, eax
call fcn.004289ca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x433771
test edi, edi
je 0x433771
call esi
test eax, eax
je 0x433768
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x433768
test byte [ebp - 0xc], 1
jne 0x433771
or dword [ebp + 0x10], 0x200000
jmp 0x4337aa
mov eax, dword [0x456cc0]
cmp eax, ebx
je 0x4337aa
push eax
call fcn.004289ca
pop ecx
test eax, eax
je 0x4337aa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4337aa
mov eax, dword [0x456cc4]
cmp eax, ebx
je 0x4337aa
push eax
call fcn.004289ca
pop ecx
test eax, eax
je 0x4337aa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456cbc]
call fcn.004289ca
pop ecx
test eax, eax
je 0x4337ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4337cc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000f396
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000f3d5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000f3d5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000f3d5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000f3d5
cmp dword [ecx + 0x74], 0xe
jbe 0x1000f3d5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001204f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100120ec
push ebx
push esi
call fcn.10012018
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10011fac
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10012099
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100120eb
push edi
push eax
call fcn.1001300a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100120b9
call fcn.10010af4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100120ea
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10011fac
add esp, 0x20
test eax, eax
jne 0x100120d8
push edi
call fcn.10010af4
jmp 0x100120e0
push ebx
call fcn.10010af4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10012359
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019888
push 0x10019880
push str.FlsAlloc
push 0x1f
call fcn.10012275
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001238d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
jmp 0x10012393
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100123d7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019898
push 0x10019890
push str.FlsGetValue
push 0x21
call fcn.10012275
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001240e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10012416
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100198a0
push 0x10019898
push str.FlsSetValue
push 0x22
call fcn.10012275
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012450
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10017ad0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10017afd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10017afd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, esi
enter 0x40c0, 0xffffffffffffff96
push eax
add ecx, 0x40
push 0x40e274
popfd
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [0xcb4102ac]
add al, 0xc4
or al, 0x85
movsd dword es:[edi], dword [esi]
je 0x401787
push eax
push str.Total_of__d_requests_completed_n
call dword [0x404d00]
cld
les ecx, [eax]
push 0xffffffffffffff83
call dword [sym.imp.MSVCRT.dll_exit]
nop

Function at 0x406810
Capabilities:
Connect socket

Disassembly:
sbb cl, ch
push es
mov dword [eax - 0x2b], 0x5e50
mov ecx, dword [esi]
add ecx, 0x20
push ecx
call 0xf7406010
sub bl, byte [esi + 0x5b]
pop ebp
not byte [eax - 0x74aa6f70]
in al, dx
push esi
mov esi, dword [ebp + 8]
push 0x400ce0
push esi
test dword [esi], eax
push eax
call 0x3ffb40
push esi
or dword [ebp - 0x7c0092c7], esi
les esi, [ebp + 0x5e]
jge 0x4067f3
add al, 0xfe
nop
nop
nop
nop
nop
lodsb al, byte [esi]
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub dword [ebx + 0x210], 0x205d8b53
push esi
push edi
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x4069ef
call 0xc9c578ab
je 0x4069e6
mov eax, ebx
or al, 0x8b
push ds
adc al, 0x8d
push esi
sub byte [ecx + 0x52], dl
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp dword [edx + 0x37850f31], 1
add byte [eax], al
push esi
xchg ebp, eax
fadd st(1)
inc eax
add byte [edx + 0xfc05cd6], ch
test cl, bh
add byte [eax], al
add cl, al
wait
add eax, 0xc60afc80
cmp eax, 0xb23b3
cmovl ecx, dword [ebp + 1]
add ah, dh
mov edi, dword [ebx + 0x20]
mov esi, dword [ebx + 0x24]
mov ebx, dword [ebx + ecx + 0x36]
jne 0x4068bd
sub al, 0x5e
mov eax, 0xb23b4
pop ebx
nop
in eax, 0x5d
ret 8
mov eax, dword [eax]
add al, 0xb9
add dword [eax], eax
add byte [eax - 0x3376a22e], bl
hlt
pop ebx
mov ebp, 0x8c25db4
add bh, bh
pop di
pop esi
outsd dx, dword [esi]
add ch, 0xa
loop 0x4069fa
mov esp, ebp
pop ebp
sub byte [eax], cl
add byte [ecx + 0x45], ah
mov dword [ebp + 0x29eb75c0], 0xf38b5b5e
pop ebp
ret 0xc622
xor eax, eax
pop ebx
mov ebp, dword [edi + 0x5d]
ret 8
mov eax, 0x490975ef
pushal
mov byte [0x5de58b66], al
sbb byte [eax], cl
loopne 0x40698e
nop
nop
Function at 0x409e5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
cld
nop
call 0x4086ef
nop
jmp 0x4083dc
nop
jmp 0x4083ed
jmp 0x4083fa
pushal
jmp 0x408409
xor edx, edx
jmp 0x408416
mov ebp, esp
nop
jmp 0x408429
mov edx, dword fs:[edx + 0x30]
jmp 0x408437
mov edx, dword [edx + 0xc]
nop
jmp 0x408449
mov edx, dword [edx + 0x14]
nop
jmp 0x408458
xor edi, edi
jmp 0x408467
mov esi, dword [edx + 0x28]
nop
movzx ecx, word [edx + 0x26]
nop
nop
xor eax, eax
nop
lodsb al, byte [esi]
nop
jmp 0x408482
cmp al, 0x61
nop
jmp 0x408496
jl 0x4084c0
nop
jmp 0x4084a4
jmp 0x4084b0
sub al, 0x20
nop
jmp 0x4084c0
ror edi, 0xd
nop
add edi, eax
jmp 0x4084d7
dec ecx
jne 0x408470
nop
push edx
mov edx, dword [edx + 0x10]
nop
mov eax, dword [edx + 0x3c]
nop
add eax, edx
jmp 0x4084f7
mov eax, dword [eax + 0x78]
jmp 0x408507
test eax, eax
push edi
nop
je 0x4086c4
nop
jmp 0x408521
add eax, edx
nop
push eax
nop
jmp 0x408535
mov ebx, dword [eax + 0x20]
jmp 0x408546
add ebx, edx
nop
mov ecx, dword [eax + 0x18]
jmp 0x408559
nop
jmp 0x40856a
test ecx, ecx
je 0x4086b5
dec ecx
xor edi, edi
mov esi, dword [ebx + ecx*4]
nop
jmp 0x408586
add esi, edx
jmp 0x408596
nop
xor eax, eax
jmp 0x4085aa
ror edi, 0xd
jmp 0x4085b8
lodsb al, byte [esi]
nop
add edi, eax
cmp al, ah
nop
jmp 0x4085cf
jne 0x408596
nop
add edi, dword [ebp - 8]
jmp 0x4085e8
cmp edi, dword [ebp + 0x24]
jne 0x408559
nop
pop eax
jmp 0x408600
mov ebx, dword [eax + 0x24]
nop
jmp 0x408616
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
jmp 0x408633
sldt word [eax]
invalid
add ebx, edx
nop
mov eax, dword [ebx + ecx*4]
nop
add eax, edx
jmp 0x40864c
mov dword [esp + 0x24], eax
nop
jmp 0x408662
pop ebx
jmp 0x408676
pop ebx
nop
jmp 0x40868b
popal
jmp 0x40869d
pop ecx
jmp 0x4086b0
pop edx
push ecx
nop
jmp eax
jmp 0x4086c3
pop eax
jmp 0x4086d5
pop edi
nop
pop edx
mov edx, dword [edx]
jmp 0x4086e9
jmp 0x40844d
dec ecx
nop
aaa
dec eax
daa
std
xchg ecx, eax
xchg ecx, eax
daa
inc ecx
nop
salc
wait
cdq
cld
das
cmc
das
daa
nop
inc ebx
cmc
std
xchg edx, eax
dec ebx
xchg ecx, eax
xchg ecx, eax
clc
stc
std
cwde
cdq
stc
cdq
xchg ebx, eax
cmc
nop
cld
xchg ebx, eax
nop
daa
inc ebx
das
dec edx
lahf
inc eax
inc eax
aas
xchg ecx, eax
cwde
das
stc
cld
inc ecx
clc
clc
jmp 0x4083c8
Function at 0x40a720
Capabilities:
Check os version

Disassembly:
ror dword [ebx - 0x7a3fcc38], 0xdb
jle 0x40a701
mov edx, dword [edi + eax*4]
add edx, ecx
mov dword [edi + eax*4], edx
inc eax
insb byte es:[edi], dx
ror dword [ecx + 0x6c408714], 1
cld
jl 0x40a6de
mov ecx, dword [ebp + 8]
outsd dx, dword [esi]
ret
mov esi, dword [eax - 0x763c74f8]
test esi, 0xe6e5565b
imul ebp, eax, 0x38890845
mov ebp, dword [ebx]
ficomp dword [ebx - 0x75]
in eax, 0x5d
ret
push ebp
mov ebp, esp
mov eax, dword [0xbf4108dc]
push esi
jecxz 0x40a6eb
movsb byte es:[edi], byte [esi]
jne 0x5040a91b
push 0x4107f8
mov dword [0x4107f8], 0xbe0094
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [0x410808]
cmp eax, 2
inc edi
test dword [ecx + eax + 0xc7c0000], ebx
or byte [ecx - 0x7c], al
mov esi, 0x41080c
cmp eax, 0x8b3b74c0
cmp eax, sym.imp.MSVCRT.dll__isctype
mov eax, dword [0x40a8ff]
cmp dword [eax], 1
jb 0x40a781
cwde
leave
push 0x42
or cl, byte [esi]
jg 0x40a77a
jmp dword [esi]
add esp, 8
jmp 0x40a792
invalid
test eax, eax
jne 0x40a7cc
mov al, byte [esi - 0x46]
inc esi
test al, al
jne 0x40a769
push ecx
or eax, 0x4108e0
push ebx
cld
dec ebx
xchg ebx, eax
add byte [ebx - 0x7df0fc08], al
jae 0x40a7b1
add byte [eax], al
je 0x135a911
add byte [edi], cl
test byte [ecx + 1], bl
cmc
add byte [ebx + 0x657504f8], al
cmp eax, 4
jne 0x40a822
cmp ecx, 2
jae 0x40a816
mov eax, 0x6928
jmp 0x40a916
cmp byte [esi], 0x9c
cmp ecx, ebp
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, eax
sbb dword [edi - 0x1ff276ad], 8
inc ecx
add bl, ch
mov edi, 0x2a7c3a77
add byte [eax], al
add cl, ch
mov bl, 0x5f
add byte [eax], al
cmp ecx, 3
ja 0x40a800
mov eax, 0x2b
jmp 0x419c16
cmp ecx, 4
ja 0x40a80f
jp 0x40a814
add dh, ah
cmc
jmp 0x6c40a980
mov edx, 0x3c000005
cmp edx, ecx
invalid
cmp eax, 5
inc esi
push ebp
mov eax, dword [0xae72d00]
test eax, eax
jne 0x40a84e
test ecx, ecx
bound ecx, qword [edx]
mov eax, 0x7d000032
jmp 0x416d16
sub dword [ebp - 8], 0x75
or bh, byte [eax + 0x46]
dec ecx
wait
add byte [eax], al
add byte [ebx + 0xa9d01f9], al
add eax, 0x3000003c
jmp 0x40a916
or al, 0xdc
or byte [ecx], al
out 0x55, eax
or byte [edi - 0x77], bl
add bl, byte [eax + 0x35]
fmul qword [eax]
inc ecx
add byte [esi], bl
rol byte [ebx - 0x62f0fe02], 0x34
dec eax
iretd
Function at 0x404b00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 0x40000002
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x404b98
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x404b98
nop dword [eax]
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x404b78
test dl, dl
je 0x404b74
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x404b78
add ecx, 2
add eax, 2
test dl, dl
jne 0x404b58
xor eax, eax
jmp 0x404b7d
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x130]
push eax
cmove esi, dword [ebp - 0x128]
push edi
call dword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x404b50
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404bab
mov esp, ebp
pop ebp
ret
Function at 0x4013b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push eax
call fcn.00403930
add esp, 4
mov esi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4013c5
mov ecx, dword [ebp + 8]
push 0
sub eax, edx
push eax
push esi
push ecx
call dword [sym.imp.WSOCK32.dll_send]
push esi
call fcn.00404776
add esp, 4
pop esi
pop ebp
ret
Function at 0x403530
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40d865
mov esi, ecx
push str.logsitpilot
mov dword [esi], vtable.CLogFile.0
call fcn.00402b40
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test edi, edi
je 0x403565
push edi
call fcn.00404776
add esp, 4
mov eax, dword [ebp + 8]
push eax
push str.logsitpilot
mov ecx, esi
call fcn.00402b40
mov dword [esi + 0xc], eax
lea edx, [eax + 1]
jmp 0x403580
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403580
sub eax, edx
add eax, 6
push eax
call fcn.00404c9b
mov ecx, dword [esi + 0xc]
mov edi, eax
add esp, 4
mov edx, edi
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4035a0
lea eax, [edi - 1]
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4035b0
mov ecx, dword [str..lock]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 4
mov dword [eax], ecx
mov dx, word [0x40d854]
push 0
push 3
mov word [eax + 4], dx
mov eax, dword [esi + 0xc]
push 0x40000000
push eax
call ebx
push 0
push 0x4000002
push 4
push 0
push 7
push 0x40000000
push edi
mov dword [esi + 4], eax
call ebx
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x403e26
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412150]
jne 0x403e30
repz ret
jmp fcn.0040736c