joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a54b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4a54f9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4a5970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e4480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004a5520
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004a55a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004a55a0
lea ecx, [esi + 0xc]
call fcn.004d15cf
lea ecx, [esi + 0x10]
call fcn.004d15cf
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004a6b40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004a6b40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004a6b40
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d1644
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d1644
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a7120
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e46c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x5d7098]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004d17cd
push str..
lea ecx, [esp + 0x10]
call fcn.004d1a20
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4a71c3
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.004d1644
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004d1644
xor eax, eax
jmp 0x4a7308
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x5d6978
push edx
call fcn.004c0a34
add esp, 8
test eax, eax
je 0x4a72b9
lea eax, [esp + 0x48]
push 0x5d6974
push eax
call fcn.004c0a34
add esp, 8
test eax, eax
je 0x4a72b9
test ebp, ebp
jne 0x4a7225
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.004c0ae3
add esp, 8
test eax, eax
je 0x4a72b9
push esi
lea ecx, [esp + 0x14]
call fcn.004d17cd
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004d1a47
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.004d1a20
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x4a7265
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x4a7287
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.004a7120
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4a72b9
test edi, edi
je 0x4a72ae
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.004c0ae3
add esp, 8
test eax, eax
jne 0x4a72ae
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.004a7330
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4a71d3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004d1644
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004d1644
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x4a7330
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e46db
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.004c12f0
mov eax, dword [0x5d7098]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004d17cd
push 0x5c
lea ecx, [esp + 8]
call fcn.004d1a47
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.004d1a20
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a73d6
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004d1644
xor eax, eax
jmp 0x4a7453
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x4a7431
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x4a7423
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x4a73fd
jmp 0x4a7431
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004d1644
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8
Function at 0x4a7470
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x14
push ebp
push esi
mov esi, dword [esp + 0x24]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebp
je 0x4a75a0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x4a758f
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x4a758f
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a758a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x4a758f
push eax
push eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x34]
push ebp
lea eax, [esp + 0x44]
push edx
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4a758f
push 0x105
call fcn.004d1385
mov esi, eax
mov eax, dword [esp + 0x30]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x4a7581
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x4a7571
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004a7470
jmp 0x4a7578
cmp eax, 0x103
je 0x4a7581
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jb 0x4a7547
push esi
call fcn.004d13ae
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x4a75a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x14
ret 0x10

Function at 0x4d248a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004dc8bf
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d24bb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004d24ce
pop edi
pop esi
pop ebx
ret 8

Function at 0x4d3aa2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d3ada
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d1aeb
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d1ac3
jmp 0x4d3ae6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4d5391
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d53d3
call fcn.004dc8bf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d53d3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d53ca
xor eax, eax
jmp 0x4d53db
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d53e1
pop edi
pop esi
pop ebx
ret 4

Function at 0x4dcdef
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 0x4dce1d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4dce3b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004dcd55
jmp 0x4dce3b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4dce3b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004dcd55
test edi, edi
mov eax, edi
jne 0x4dce25
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403b4b
Capabilities:
Delete directory
Get geographical location
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
cmp dword [0x2aa57f8], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
jne 0x403b87
push 0x403634
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x403654
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x4313b8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4313bc]
xor edi, edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00403b44
mov eax, dword [0x4313c0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4313c4]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
jmp 0x403bc9
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, esi
shl eax, 4
cmp dword [0x2aa57f8], 0xc
mov dword [ebp - 4], eax
jne 0x403c1b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x444]
push eax
push edi
push 0x403674
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x2aa57f8]
cmp eax, 0xfa9
jne 0x403c37
mov dword [0x2aa4d94], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403c44
mov dword [0x2aa4744], edi
mov ecx, dword [ebp - 8]
mov edx, esi
shr edx, cl
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
mov dword [0x2aa4d90], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2aa57f8], 0x213
mov dword [ebp - 0x14], edx
jne 0x403c81
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x2aa57f8], 0xc
jne 0x403cbe
push edi
lea eax, [ebp - 0x444]
push eax
push 0x403698
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x844]
push eax
push 0x4036f4
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov esi, eax
shr esi, cl
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
add esi, dword [ebp - 0x1c]
cmp dword [0x2aa57f8], 0x121
jne 0x403cf9
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], esi
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x10], ecx
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x403bc6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret 4
Function at 0x403d23
Capabilities:
Create pipe
Get common file path
Get system information on windows
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2aa57f8]
mov ecx, dword [0x2aa4748]
sub esp, 0x84c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403e0a
mov edi, ecx
mov ebx, eax
cmp dword [0x2aa57f8], 0x959
jne 0x403dfa
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403718
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x40367c
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x403768
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403774
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x848]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403b4b
add edi, 8
dec ebx
jne 0x403d4b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4040f7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80c
push ebx
push esi
push edi
mov edi, 0x5d744c
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
lea eax, [esp + 0xc]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatW]
dec edi
jne 0x40410d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], esi
mov ebx, 0x2b259d
call edi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
cmp dword [esp + 0xc], ebx
jle 0x404163
cmp dword [esp + 0x10], 0x785074d5
jne 0x404171
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x1c1b
jl 0x404146
mov dword [esp + 0xc], esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0xc], 0x206d47
jg 0x40419c
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x4f6a4
jl 0x404175
cmp dword [0x2aa57f8], 0x400
jne 0x4041ea
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push esi
push esi
call fcn.004047e7
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403adf
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403b02
fstp st(0)
push esi
call fcn.00404bd6
pop ecx
push esi
call fcn.00404a26
pop ecx
push esi
push esi
call fcn.004046db
pop ecx
pop ecx
mov eax, dword [0x43178c]
mov dword [0x2aa57f8], eax
mov eax, dword [0x431760]
mov dword [0x2aa57fc], eax
call fcn.00403ede
xor edi, edi
push 0x403808
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp edi, ebx
jle 0x40421e
cmp dword [esp + 0x10], 0x785074d5
jne 0x404227
inc edi
cmp edi, 0x11915
jl 0x404205
mov edi, 0x3078f
cmp dword [0x2aa57f8], 0x51f
jne 0x404258
push 0x403810
push esi
lea eax, [esp + 0x20]
push eax
push 0x403850
push 0x403868
push 0x403888
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
dec edi
jne 0x40422c
mov eax, dword [0x2aa4748]
mov dword [0x2aa4d8c], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40b061
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430828]
jne 0x40b06b
repz ret
jmp fcn.0040dc9b
Function at 0x40ce4e
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.00407bae
and dword [ebp - 4], 0
cmp dword [0x4320c8], 0
mov ebx, eax
jne 0x40ceff
push 0x402c54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cfb0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c48
push edi
call esi
test eax, eax
je 0x40cfb0
push eax
call fcn.00407b3c
mov dword [esp], 0x402c38
push edi
mov dword [0x4320c8], eax
call esi
push eax
call fcn.00407b3c
mov dword [esp], 0x402c24
push edi
mov dword [0x4320cc], eax
call esi
push eax
call fcn.00407b3c
mov dword [esp], 0x402c08
push edi
mov dword [0x4320d0], eax
call esi
push eax
call fcn.00407b3c
pop ecx
mov dword [0x4320d8], eax
test eax, eax
je 0x40ceff
push 0x402bf0
push edi
call esi
push eax
call fcn.00407b3c
pop ecx
mov dword [0x4320d4], eax
mov eax, dword [0x4320d4]
cmp eax, ebx
je 0x40cf57
cmp dword [0x4320d8], ebx
je 0x40cf57
push eax
call fcn.00407bb7
push dword [0x4320d8]
mov esi, eax
call fcn.00407bb7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cf57
test edi, edi
je 0x40cf57
call esi
test eax, eax
je 0x40cf4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cf4e
test byte [ebp - 0xc], 1
jne 0x40cf57
or dword [ebp + 0x10], 0x200000
jmp 0x40cf90
mov eax, dword [0x4320cc]
cmp eax, ebx
je 0x40cf90
push eax
call fcn.00407bb7
pop ecx
test eax, eax
je 0x40cf90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cf90
mov eax, dword [0x4320d0]
cmp eax, ebx
je 0x40cf90
push eax
call fcn.00407bb7
pop ecx
test eax, eax
je 0x40cf90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4320c8]
call fcn.00407bb7
pop ecx
test eax, eax
je 0x40cfb0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cfb2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409c90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41e7db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42b028]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
movq xmm0, qword [esp + 0x30]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x48]
push edi
movq qword [eax + 8], xmm0
call fcn.0040b050
test eax, eax
jne 0x409d94
push 0x1f8
call fcn.0041b218
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
test eax, eax
je 0x409d09
push edi
push eax
call fcn.00409580
mov esi, eax
jmp 0x409d0b
xor esi, esi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x18], esi
test esi, esi
je 0x409db9
movq xmm0, qword [esp + 0x30]
mov ecx, dword [edi + 0x18]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x48]
movq qword [eax + 8], xmm0
mov eax, dword [edi + 0x1c]
push eax
push ecx
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0x20]
call fcn.004096c0
lea ebx, [edi + 0x13c]
mov ecx, ebx
call fcn.0041d950
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0x134]
mov eax, dword [esi + 4]
lea ebp, [edi + 0x120]
lea edx, [esp + 0x14]
push edx
push eax
push esi
call fcn.004046c0
mov ecx, ebp
mov edi, eax
call fcn.00404700
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
mov ecx, ebx
call fcn.0041d960
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1d8]
test ecx, ecx
je 0x409db1
mov eax, dword [eax + 0x1dc]
test eax, eax
je 0x409db1
imul eax, eax, 0x64
xor edx, edx
div ecx
jmp 0x409db3
xor eax, eax
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x14
Function at 0x40ca10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41edf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x42b028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x28]
call fcn.0041d970
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 0x68]
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x40ca60
xor edi, edi
jmp 0x40ca68
xor eax, eax
cmp dword [edi], ebx
je 0x40ca68
mov eax, dword [edi]
mov byte [esp + 0x18], bl
cmp edi, ebx
jne 0x40ca91
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
cmp ecx, ebx
jne 0x40ca7f
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov byte [esp + 0x18], 1
call fcn.0040e5e0
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
cmp ecx, ebx
jne 0x40caa3
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x20], 1
call fcn.0040e5e0
cmp dword [esp + 0x1c], edi
je 0x40cb23
mov esi, dword [edi + 0x14]
cmp esi, ebx
je 0x40cab1
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40cad1
push eax
call fcn.0041b22a
add esp, 4
mov dword [esi + 8], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x40cae4
push eax
call fcn.0041b22a
add esp, 4
mov dword [esi + 0x10], ebx
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
push ebx
push ecx
call fcn.0040cb70
push esi
call fcn.0041af84
add esp, 4
cmp byte [esp + 0x18], bl
jne 0x40cb0a
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40cb0a
mov edi, eax
jmp 0x40cab1
mov byte [esp + 0x18], bl
cmp dword [edi + 0x10], ebx
jne 0x40cb1e
mov edi, dword [edi]
cmp edi, ebx
je 0x40cab1
cmp dword [edi + 0x10], ebx
je 0x40cb13
mov edi, dword [edi + 0x10]
jmp 0x40cab1
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0x14]
cmp eax, ebx
je 0x40cb3b
push eax
call fcn.0041af84
add esp, 4
call fcn.0040e4b0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.0041d9a0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4