joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b045f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4efd34]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K10_FIDVID_Control.0
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
xor edi, edi
lea ebp, [esi + 0x3c]
jmp 0x441600
push 0x10
call fcn.00488f77
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x441627
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.0043bdf0
jmp 0x441629
xor eax, eax
mov dword [ebp], eax
add edi, 1
add ebp, 4
cmp edi, 5
mov byte [esp + 0x24], bl
jl 0x441600
push 0x10
call fcn.00488f77
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 2
je 0x441660
push 0xc0010062
mov ecx, eax
call fcn.0043bdf0
jmp 0x441662
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x54], eax
call fcn.00488f77
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 3
je 0x44168e
push 0xc0010063
mov ecx, eax
call fcn.0043bdf0
jmp 0x441690
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x50], eax
call fcn.00488f77
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 4
je 0x4416bc
push 0xc0010071
mov ecx, eax
call fcn.0043bdf0
jmp 0x4416be
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x2c], eax
call fcn.00488f77
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 5
je 0x4416ed
push 0xc0010070
mov ecx, eax
call fcn.0043bdf0
mov dword [esi + 0x30], eax
jmp 0x4416f0
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x486270
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push edi
push str.rootwmi
mov ebx, ecx
call esi
push str.MSSmBios_RawSMBiosTables
mov ebp, eax
call esi
mov edi, eax
push 0x4cd3e4
mov dword [esp + 0x2c], edi
call esi
xor esi, esi
push 2
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x48641a
push esi
push 2
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x4862e5
cmp eax, 0x80010119
jne 0x4863c1
lea eax, [esp + 0x10]
push eax
push 0x4d194c
push 1
push esi
push 0x4d1a0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4863c1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push ebp
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4863c1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push esi
push esi
push edi
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jl 0x4863c1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push 0xfa0
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x24], 1
jne 0x4863c1
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
push ecx
push eax
call edx
cmp word [esp + 0x30], 0x2011
jne 0x4863c1
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 0x10]
cmp edi, esi
je 0x4863c1
cmp edi, 0x4000
jg 0x4863c1
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
push edi
push eax
push ecx
call fcn.00499030
mov edx, dword [ebx + 0x10]
add esp, 0xc
mov word [edx + 6], di
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4863d5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4863e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4863fd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
push ebp
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret
Function at 0x48f1c8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x48f201
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048b074
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048b04f
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x490d7e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x490dc1
call fcn.0048af6e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x490dc1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x490ddc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00490935
test ebx, ebx
mov esi, eax
je 0x490dda
test edi, edi
je 0x490dda
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x494655
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x494683
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4946a1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004945bf
jmp 0x4946a1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4946a1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004945bf
test edi, edi
mov eax, edi
jne 0x49468b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4f3b18]
test ecx, ecx
je 0x494764
jmp 0x494654
ret 8

Function at 0x4972eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4efd34]
jne 0x4972f5
repz ret
jmp fcn.0049bcb3
Function at 0x4a8666
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0049d042
xor ebx, ebx
cmp dword [0x4f4834], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4a873b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4a86a6
xor eax, eax
jmp 0x4a87ff
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d186c
push edi
call esi
cmp eax, ebx
je 0x4a869f
push eax
call fcn.0049cfdf
mov dword [esp], 0x4d185c
push edi
mov dword [0x4f4834], eax
call esi
push eax
call fcn.0049cfdf
mov dword [esp], 0x4d1848
push edi
mov dword [0x4f4838], eax
call esi
push eax
call fcn.0049cfdf
mov dword [0x4f483c], eax
lea eax, [ebp - 8]
push eax
call fcn.0049b58c
test eax, eax
pop ecx
pop ecx
je 0x4a8709
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049bec2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4a873b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0049cfdf
cmp eax, ebx
pop ecx
mov dword [0x4f4844], eax
je 0x4a873b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049cfdf
pop ecx
mov dword [0x4f4840], eax
mov eax, dword [0x4f4840]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4a87b4
cmp dword [0x4f4844], esi
je 0x4a87b4
push eax
call fcn.0049d04b
pop ecx
call eax
cmp eax, ebx
je 0x4a8781
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4f4844]
call fcn.0049d04b
pop ecx
call eax
test eax, eax
je 0x4a8781
test byte [ebp - 0x18], 1
jne 0x4a87b4
lea eax, [ebp - 0xc]
push eax
call fcn.0049b5c3
test eax, eax
pop ecx
je 0x4a879c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049bec2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4a87ab
or dword [ebp + 0x10], 0x200000
jmp 0x4a87e5
or dword [ebp + 0x10], 0x40000
jmp 0x4a87e5
mov eax, dword [0x4f4838]
cmp eax, esi
je 0x4a87e5
push eax
call fcn.0049d04b
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4a87e5
mov eax, dword [0x4f483c]
cmp eax, esi
je 0x4a87e5
push dword [ebp - 4]
push eax
call fcn.0049d04b
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4f4834]
call fcn.0049d04b
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ab2b2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4efd34]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004ab247
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00497ff0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4ab301
cmp dword [ebp - 0x1c], 5
jb 0x4ab319
jmp 0x4ab315
cmp dword [ebp - 0x10], 1
jne 0x4ab319
cmp dword [ebp - 0x1c], 4
ja 0x4ab315
jne 0x4ab319
cmp dword [ebp - 0x18], 0
jbe 0x4ab319
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4d18dc
call fcn.004ab11b
test eax, eax
jge 0x4ab33a
mov byte [0x4f1f78], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004972eb
add ebp, 0x78
leave
ret

Function at 0x4ab960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5453
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4efd34]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
push 0x1000
call fcn.0044d560
or edi, 0xffffffff
xor ebx, ebx
push 0x400
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.CSoftwareInterface.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.00488f77
mov dword [esi + 0x1c], eax
push 0x200
mov byte [eax], bl
call fcn.00488f77
mov dword [esi + 0x20], eax
push 0x400
mov byte [eax], bl
call fcn.00488f77
mov dword [esi + 0x30], eax
push 0x200
mov byte [eax], bl
call fcn.00488f77
mov dword [esi + 0x34], eax
push 0x210
mov byte [eax], bl
call fcn.00488f77
add esp, 0x14
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x20], 1
je 0x4aba13
mov ecx, eax
call fcn.004373d0
jmp 0x4aba15
xor eax, eax
push 0xc
mov byte [esp + 0x24], bl
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov byte [esi + 0x40], bl
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x84], ebx
call fcn.00488f77
add esp, 4
cmp eax, ebx
je 0x4aba5e
mov ecx, eax
call fcn.004ab910
mov dword [esi + 0x80], eax
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
mov dword [esi + 0x80], ebx
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 0x4abab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b5478
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4efd34]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CSoftwareInterface.0
mov eax, dword [esi + 0x30]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x4abaf8
push eax
call fcn.00488fa7
add esp, 4
mov dword [esi + 0x30], edi
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x4abb0b
push eax
call fcn.00488fa7
add esp, 4
mov dword [esi + 0x34], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x4abb1b
push eax
call fcn.00488fa7
add esp, 4
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x4abb2e
push eax
call fcn.00488fa7
add esp, 4
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x4abb41
push eax
call fcn.00488fa7
add esp, 4
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 0x80]
cmp ecx, edi
je 0x4abb68
call fcn.00419ca0
mov ecx, dword [esi + 0x80]
cmp ecx, edi
je 0x4abb62
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x80], edi
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0044d580
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4abec0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4abf79
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4abf79
push esi
lea eax, [esp + 0x10]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x18], eax
jbe 0x4abf6d
push eax
call fcn.00488f77
mov esi, eax
add esp, 4
test esi, esi
jne 0x4abf0c
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4abf64
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4c3de4
push esi
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4abf64
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4abf64
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.00488fa7
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.00488fa7
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
add esp, 8
ret
pop edi
mov eax, 0x80070057
pop ebx
add esp, 8
ret
Function at 0x4ad650
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfile
push reloc.OLEAUT32.dll_SysReAllocString
or esi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ad67f
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.EnableFirewall
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ad6b7
cmp dword [esp + 0xc], 4
jne 0x4ad6b7
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 4]
test eax, eax
je 0x4ad6c6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x4ad770
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.HTTP_shellopencommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ad79c
xor eax, eax
pop edi
add esp, 0xc
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0x4b742d
push eax
call esi
test eax, eax
jne 0x4ad7ea
cmp dword [esp + 0xc], 1
jne 0x4ad7ea
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x4b742d
push ecx
call esi
mov edi, 1
mov eax, dword [esp + 8]
test eax, eax
pop esi
je 0x4ad7fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 0xc
ret
Function at 0x402467
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x404098]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.0040233d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4024c9
cmp dword [ebp - 0x1c], 5
jb 0x4024e1
jmp 0x4024dd
cmp dword [ebp - 0x10], 1
jne 0x4024e1
cmp dword [ebp - 0x1c], 4
ja 0x4024dd
jne 0x4024e1
cmp dword [ebp - 0x18], 0
jbe 0x4024e1
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x40344c
call fcn.004012a0
test eax, eax
jge 0x402502
mov byte [0x404108], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.004029bb
add ebp, 0x78
leave
ret
Function at 0x402784
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x403488
call fcn.004029d0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4027c4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4027c4
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4027dc
cmp eax, 0x20b
je 0x4027c9
mov dword [ebp - 0x1c], ebx
jmp 0x4027f0
cmp dword [ecx + 0x84], 0xe
jbe 0x4027c4
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x4027ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4027c4
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x404194], 0xffffffff
or dword [0x404198], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40418c]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x404188]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x404190], eax
call fcn.00402a64
call fcn.00402b0d
cmp dword [0x40409c], ebx
jne 0x402850
push 0x402b0a
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00402af2
push 0x404020
push 0x40401c
call sub.MSVCR71.dll__initterm
push 0x402aa8
call fcn.0040271c
mov eax, dword [0x404184]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x404180]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x4028a4
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x404018
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x402922
cmp al, bl
je 0x4028ce
cmp dword [ebp - 0x20], ebx
jne 0x402922
mov al, byte [esi]
cmp al, bl
je 0x4028de
cmp al, 0x20
ja 0x4028de
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4028ce
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x4028fa
movzx eax, word [ebp - 0x54]
jmp 0x4028fd
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00401760
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x40291a
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x402977
cmp al, 0x22
jne 0x402931
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x402944
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x4028bc
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00402a0b
ret
Function at 0x40ced4
Capabilities:
Hash data using fnv

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x40cedf
mov ecx, dword [eax + 4]
jmp 0x40cee2
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
push esi
mov eax, 0x811c9dc5
lea edx, [ecx + edx*2]
jmp 0x40cefd
movzx esi, word [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
inc ecx
cmp ecx, edx
jne 0x40cef0
mov esi, 0x7fffffff
and eax, esi
push 0x1f31d
push eax
call fcn.004807b6
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
pop ecx
sub edx, eax
pop ecx
mov eax, edx
jns 0x40cf29
add eax, esi
pop esi
ret
Function at 0x443f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49c5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4d3480]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4d561c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d561c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], 1
mov eax, dword [0x4d561c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d561c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 3
mov ecx, edi
call fcn.00443ed0
test al, al
je 0x4440a1
lea eax, [esp + 0x1c]
push eax
push edi
mov edx, 4
call fcn.00431413
mov byte [esp + 0x38], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x44405e
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x44404c
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x44404c
call fcn.00409bd1
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x444043
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov dword [esp + 0x14], esi
jmp 0x44405e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.00409f21
mov esi, dword [esp + 0x14]
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444083
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
invalid
inc edx