joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5eb160
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 8
cmp eax, dword [esp + 0x14]
push esi
mov esi, ecx
jg 0x5eb200
push ebx
push ebp
push edi
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x10]
mov ebp, dword [esp + 0x20]
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x5eb1cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5eb1cc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
or edx, eax
pop esi
add esp, 8
ret 0x14
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
je 0x5eb1b7
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov edx, ebp
pop ebp
mov eax, ebx
pop ebx
pop esi
add esp, 8
ret 0x14
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.005eb030
pop esi
add esp, 8
ret 0x14

Function at 0x5eb260
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x5eb2b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5eb2b7
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
je 0x5eb2a7
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret 0x10
Function at 0x5eb320
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.005eb220
mov ebp, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor eax, eax
cmp byte [esp + 0x18], al
push 0
setne al
push 0
lea eax, [eax + eax + 2]
mov edi, eax
push edi
push 0
push 3
push 0xc0000000
push ebp
call ebx
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x5eb36a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0
push 0
push edi
push 0
push 3
push 0xc0000000
push ebp
call ebx
mov dword [esi + 0x2c], eax
cmp eax, 0xffffffff
jne 0x5eb39b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.005eb220
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
cmp byte [esp + 0x18], 0
je 0x5eb3f1
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
cmp eax, 0xffffffff
jne 0x5eb3d2
cmp dword [esi + 0xc], 0
jne 0x5eb3d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x5eb38b
mov eax, dword [esp + 0x18]
push 1
push 0
push 0
push eax
call fcn.00624b80
add dword [esi + 8], eax
pop edi
adc dword [esi + 0xc], edx
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
pop esi
pop ebp
pop ebx
ret 8
Function at 0x5f594e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x66871b
call fcn.00628b38
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x5f5973
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x5f59b9
lea ecx, [ebp - 0x10]
call fcn.00402510
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005f4680
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004011f0
mov eax, esi
call fcn.00628c10
ret 8

Function at 0x5f6676
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.005fcbf8
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x5f66af
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.005f62c7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x5f670d
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 0x5f6731
cmp dword [edi + 0x54], 0
jne 0x5f6731
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.005fcbf8
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.005f66ce
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 0x5fc20b
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 0x5fc252
call fcn.005fcbf8
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 0x5fc252
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x5fc26e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005fbd85
mov esi, eax
test edi, edi
je 0x5fc26c
test ebx, ebx
je 0x5fc26c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x60493f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x758898]
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 0x6049dd
push 0x704a34
push 4
push eax
call fcn.0062a812
push eax
call fcn.00401000
add esp, 0x10
push ebx
push edi
call fcn.00625a54
mov edi, dword [eax]
call fcn.00625a54
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.006231b6
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00625a54
cmp dword [eax], ebx
je 0x6049f4
call fcn.00625a54
push dword [eax]
call fcn.005f4ae2
pop ecx
jmp 0x6049fb
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x604985
jmp 0x604a82
call fcn.00625a54
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x604a7e
cmp dword [ebp - 0x11c], esi
jae 0x604a7e
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.00620920
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x604a6d
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x604a6d
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x604a6d
push ebx
push ebx
push esi
jmp 0x604a76
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x604a80
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0062023e
leave
ret

Function at 0x606069
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x6060b1
call fcn.005fcbf8
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x6060b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x6060f4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x6060dd
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x6060dd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x6060f1
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x609548
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.005fcbf8
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x609575
xor eax, eax
jmp 0x60961b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x60956e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x60956e
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f44e8
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x6095cc
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x6095bb
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.006082c9
push edi
mov ebx, eax
call fcn.005f4517
pop ecx
test ebx, ebx
je 0x60960e
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0060895d
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00608a11
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x60adb3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x60adcb
mov edi, dword [esi + 0xc]
jmp 0x60ae0b
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x60ade4
call fcn.005fcf05
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x60adf9
call fcn.005fcf05
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x60ae0b
call fcn.005fcf05
call fcn.005fcbf8
cmp dword [eax + 0x3c], 0
je 0x60ae20
push edi
mov ecx, ebx
call fcn.00609bbe
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0060acd9
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x60ae3e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x60ae4a
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x61e762
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x61e797
xor eax, eax
jmp 0x61e7ea
lea eax, [ebp - 0x210]
push eax
call fcn.00628c5f
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x61e7c8
push 0x679980
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0062b42b
add esp, 0xc
test eax, eax
jne 0x61e793
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0062b42b
add esp, 0xc
test eax, eax
jne 0x61e793
lea eax, [ebp - 0x210]
push eax
call fcn.0061e6d4
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0062023e
leave
ret

Function at 0x62023e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x758898]
jne 0x620248
repz ret
jmp fcn.0062c9ec

Function at 0x63a9d2
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.0062c330
and dword [ebp - 4], 0
cmp dword [0x762274], 0
mov ebx, eax
jne 0x63aa83
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x63ab34
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70cf50
push edi
call esi
test eax, eax
je 0x63ab34
push eax
call fcn.0062c2be
mov dword [esp], 0x70cf40
push edi
mov dword [0x762274], eax
call esi
push eax
call fcn.0062c2be
mov dword [esp], 0x70cf2c
push edi
mov dword [0x762278], eax
call esi
push eax
call fcn.0062c2be
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x76227c], eax
call esi
push eax
call fcn.0062c2be
pop ecx
mov dword [0x762284], eax
test eax, eax
je 0x63aa83
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0062c2be
pop ecx
mov dword [0x762280], eax
mov eax, dword [0x762280]
cmp eax, ebx
je 0x63aadb
cmp dword [0x762284], ebx
je 0x63aadb
push eax
call fcn.0062c339
push dword [0x762284]
mov esi, eax
call fcn.0062c339
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x63aadb
test edi, edi
je 0x63aadb
call esi
test eax, eax
je 0x63aad2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x63aad2
test byte [ebp - 0xc], 1
jne 0x63aadb
or dword [ebp + 0x10], 0x200000
jmp 0x63ab14
mov eax, dword [0x762278]
cmp eax, ebx
je 0x63ab14
push eax
call fcn.0062c339
pop ecx
test eax, eax
je 0x63ab14
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x63ab14
mov eax, dword [0x76227c]
cmp eax, ebx
je 0x63ab14
push eax
call fcn.0062c339
pop ecx
test eax, eax
je 0x63ab14
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x762274]
call fcn.0062c339
pop ecx
test eax, eax
je 0x63ab34
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x63ab36
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6375506
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x665911d5
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x404e33
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
pop eax
mov dword [ebp - 0xab8], 0
Function at 0x404fe4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ecx + 0x4f], eax
add esp, 4
add edi, 0x1d31
sub edi, 0xda1a
pop edi
push eax
push edx
add esp, 4
sub eax, 0xd266
xor eax, 0x918
pop eax
push edx
call 0x404fe4
add byte [ebp + 0x39], al
cmp dword [esi + 0x4a], eax
cmp dword [ecx - 0x7d], eax
les eax, [ebx + ebp*8]
push es
inc ecx
dec ebp
xor eax, dword [ebx + 0x33]
dec ebx
xor edx, 0x17ad6
pop edx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1954], edx
mov eax, dword [ebp - 0x1954]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1958], ecx
mov edx, dword [ebp - 0x1958]
mov dword [ebp - 0x15d8], edx
push esi
push edi
add esp, 4
xor esi, 0x17bc3
add esi, 0x6894
pop esi

Function at 0x405030
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
jmp 0x405038
xor ecx, 0x10e51
or ecx, 0xde58
pop ecx
push edi
jmp 0x40504f
pop edi
cmp dword [ebp - 0x15d8], 0
jne 0x405068
mov dword [ebp - 0x31c], 0
jmp 0x405324
mov eax, dword [ebp - 0x15d8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push edx
push ebx
add esp, 4
and edx, 0x15d2f
pop edx
push edx
push ecx
add esp, 4
sub edx, 0x148c3
pop edx
push esi
add esi, 0x6e71
pop esi
push edx
push edx
add esp, 4
xor edx, 0x555c
add edx, 0xbbef
pop edx
cmp dword [ebp - 0xc98], 0
invalid
inc dword [eax]
jne 0x4050c4
mov dword [ebp - 0x31c], 0
jmp 0x405324
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
Function at 0x405130
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
add esp, 4
sub edi, 0x13dfe
and edi, 0x96a1
add edi, 0x3369
pop edi
push eax
push ebx
add esp, 4
add eax, 0xfd6b
sub eax, 0x46c4
pop eax
push edx
sub edx, 0x1435b
pop edx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push eax
push ecx
add esp, 4
sub eax, 0x151c9
pop eax
push eax
add eax, 0x15efc
add eax, 0x17d77
call 0x4051e3
add byte [eax + 0x3a], dl
cmp al, 0x35
inc ebp

Function at 0x4051e3
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp al, 0x47
dec esi
add esp, 4
add eax, 0xa86e
pop eax
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x405210
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x405273
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x40512f
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x40512f
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x40525d
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x405267
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x4052bc
push ebx
jmp 0x405282
sub ebx, 0x2851
jmp 0x40528f
pop ebx
push ebx
push ebx
add esp, 4
xor ebx, 0x7366
sub ebx, 0xeba5
sub ebx, 0x36d
sub ebx, 0x17b34
pop ebx
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x405324
push ebx
call 0x4052cd
add byte [ebp + 0x33], al
inc ebx
dec esi
inc esp
dec eax
xor eax, dword [edi + 0x3a]
push eax
add esp, 4

Function at 0x4052cd
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp al, 0x47
dec esi
add esp, 4
add eax, 0xa86e
pop eax
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x405210
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x405273
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x40512f
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x40512f
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x40525d
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x405267
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x4052bc
push ebx
jmp 0x405282
sub ebx, 0x2851
jmp 0x40528f
pop ebx
push ebx
push ebx
add esp, 4
xor ebx, 0x7366
sub ebx, 0xeba5
sub ebx, 0x36d
sub ebx, 0x17b34
pop ebx
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x405324
push ebx
call 0x4052cd
add byte [ebp + 0x33], al
inc ebx
dec esi
inc esp
dec eax
xor eax, dword [edi + 0x3a]
push eax
add esp, 4
Function at 0x405860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
sub edi, 0x7448
pop edi
cmp dword [ebp - 0x750], 0
jne 0x405832
push edi
xor edi, 0xc46e
xor edi, 0xdd23
and edi, 0xa5b5
mov ch, 0xa5
add byte [eax], al
pop edi
push edi
push ebx
add esp, 4
and edi, 0x4e88
or edi, 0xc3f4
sub edi, 0xc40e
add edi, 0xad5f
add byte [eax], al
pop edi
mov dword [ebp - 0x79c], 0
jmp 0x406359
push eax
push ebx
add esp, 4
and eax, 0x1299c
jmp 0x405846
pop eax
push eax
push edi
add esp, 4
sub eax, 0x1fea
call 0x405860
add byte [esi], bh
dec eax
xor al, 0x4d
dec ebx
dec edx
dec ecx
dec esp
add esp, 4
pop eax
mov eax, dword [ebp - 0x750]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x760], 0
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x15f0], edx
cmp dword [ebp - 0x15f0], 0
jne 0x4058a3
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x405b94
mov ecx, dword [ebp - 0x15f0]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x15f4], edx
jne 0x4058cb
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x405b94
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x15f4]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x15f8], ecx
cmp dword [ebp - 0x15f8], 0
jne 0x4058fd
mov edx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], edx
jmp 0x405b94
invalid
test eax, esp