joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f61c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42f638
cmp dword [esi + 4], 0
je 0x42f665
test byte [ebx + 0x45], 1
jne 0x42f657
mov eax, ebx
call fcn.0042e68c
test eax, eax
jne 0x42f657
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42f775
mov edx, esi
mov eax, ebx
call fcn.0042f294
jmp 0x42f775
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42f76e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00431508
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042c7e0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042f61c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00431508
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f775
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x439094
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403c48
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4390f5
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x4390f5
cmp byte [ebp - 0x102], 0
je 0x4390f5
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403e74
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f390
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5277d8
cmp dword [edi], 0
jne 0x43f40c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5277d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x522924
mov ecx, 2
call fcn.00402928
mov edx, 0x43f368
lea eax, [esi + 5]
call fcn.0043f388
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043f388
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43f3e1
mov dword [0x5277d4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43f530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43f580]
test si, 4
je 0x43f544
or bl, 1
test si, 8
je 0x43f54e
or bl, 4
test si, 1
je 0x43f558
or bl, 8
test si, 2
je 0x43f562
or bl, 0x10
test si, 0x10
je 0x43f56c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43f57b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43f584
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43f5bc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43f59d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43f5ac
or bl, 4
test esi, 0x20000000
je 0x43f5b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x445c60
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x445e05
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41121c]
call fcn.00403008
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403c48
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x445ddb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00435bac
test al, al
je 0x445dce
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x445e14
lea eax, [ebp - 0x254]
call fcn.0040af84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x445dce
xor eax, eax
push ebp
push 0x445dc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x445e4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x445db0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e74
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x445db0
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445dce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x445cd1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00414d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445e0c
lea eax, [ebp - 0x260]
call fcn.00403c48
ret

Function at 0x4465a8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5277a8]
cmp byte [eax + 0x8d], 0
jne 0x446619
cmp dword [0x5277e4], 0
jne 0x4465da
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x446564
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5277e4], eax
cmp dword [0x5277e0], 0
jne 0x4465f5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5277e0], eax
cmp dword [0x5277e8], 0
jne 0x446619
push esp
push 0
push 0
push 0x446508
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5277e8], eax
pop edx
ret
Function at 0x446710
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x446727
add esp, 0xfffffff0
call fcn.00403378
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419498
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x410cf0]
call fcn.00403008
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x410cf0]
call fcn.00403008
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x41b224]
call fcn.00422238
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x446898
mov eax, dword [0x52592c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004225dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x4481d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x52592c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e294
test eax, eax
je 0x446817
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a874
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e2bc
test eax, eax
je 0x44682b
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403e74
mov eax, dword [0x5254d4]
cmp byte [eax], 0
jne 0x44685c
mov eax, ebx
call fcn.00446984
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44688e
call fcn.004033d0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446be0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5277a8]
cmp dword [eax + 0x24], 0
je 0x446c70
cmp dword [ebx + 0x7c], 0
jne 0x446c6d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x446b74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x446c6d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x446c3c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x446c6d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.004127a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x446c48
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4475c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x4475f5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d2c
jmp 0x4475ff
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403ce0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x448504
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44853c
mov eax, esi
call fcn.00431930
test al, al
je 0x44853c
mov eax, dword [ebx + 0x6c]
call fcn.00431508
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44853c
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00431508
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404088
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45f0f9
test al, 0x10
jne 0x45f0fd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x48bdb4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 1
jno 0x48bdd0
call fcn.00402f78
test eax, eax
jl 0x48bf08
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00466a94
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x48a088]
call fcn.0048a3bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 5]
mov edx, dword [ebp - 0x14]
mov byte [edx + 5], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 6]
mov edx, dword [ebp - 0x14]
mov byte [edx + 6], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 7]
mov edx, dword [ebp - 0x14]
mov byte [edx + 7], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 8]
mov edx, dword [ebp - 0x14]
mov byte [edx + 8], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 9]
mov edx, dword [ebp - 0x14]
mov byte [edx + 9], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
call fcn.00403c9c
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
call fcn.00403c9c
mov eax, dword [ebp - 0x14]
add eax, 0x18
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x18]
call fcn.00403c9c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x14]
add eax, 0x24
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x24]
call fcn.00403c9c
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x28]
call fcn.00403c9c
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2c]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2c], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2d]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2d], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2e]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2e], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2f]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2f], al
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00466a70
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x48bde3
mov esp, ebp
pop ebp
ret
Function at 0x492c28
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
test dl, dl
je 0x492c3a
add esp, 0xfffffff0
call fcn.00403378
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406d00
xor eax, eax
push ebp
push 0x492d11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00406ca0
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d], 0
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00403c48
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 0xc]
call fcn.00406cb8
mov dl, 1
mov eax, dword [0x41121c]
call fcn.00403008
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov dl, 1
mov eax, dword [0x41121c]
call fcn.00403008
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
cmp dword [ebp + 8], 0
je 0x492cfb
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492d18
lea eax, [ebp - 0xc]
call fcn.00406ca0
ret

Function at 0x496eb4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x496ec6
add esp, 0xfffffff0
call fcn.00403378
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406d00
mov eax, dword [ebp + 8]
call fcn.00406d00
xor eax, eax
push ebp
push 0x496f65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x64
xor eax, eax
push ebp
push 0x496f40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00479a84
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496f47
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
ret
Function at 0x4a6ad4
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x4a6aec
add esp, 0xfffffff0
call fcn.00403378
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404078
mov eax, dword [ebp + 0x20]
call fcn.00406d00
mov eax, dword [ebp + 0x1c]
call fcn.00404078
mov eax, dword [ebp + 0x14]
call fcn.00404078
mov eax, dword [ebp + 0x10]
call fcn.00404078
mov eax, dword [ebp + 0xc]
call fcn.00404078
xor eax, eax
push ebp
push 0x4a6c63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x64
xor eax, eax
push ebp
push 0x4a6c21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x30
mov edx, dword [ebp + 0x20]
call fcn.00406cb8
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, 0x4a6c94
call fcn.00403fd4
jne 0x4a6b9b
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x49a530]
call fcn.0049a7d8
mov dword [ebp - 0x10], eax
jmp 0x4a6bd9
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, 0x4a6ca4
call fcn.00403fd4
jne 0x4a6bd4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x49fec4]
call fcn.004a0170
mov dword [ebp - 0x10], eax
jmp 0x4a6bd9
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048c5e0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6c28
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
ret
Function at 0x4a7334
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a73b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, 0x4a73c8
call fcn.00403fd4
jne 0x4a7391
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test al, al
je 0x4a7391
mov eax, dword [ebp - 4]
mov byte [eax + 0x27], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a73b7
lea eax, [ebp - 0xc]
call fcn.00403c48
ret

Function at 0x4a7950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a7a17
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 0x4a7a2c
call fcn.00403fd4
jne 0x4a799b
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 0x4a7a3c
call fcn.00403fd4
jne 0x4a79bf
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x48]
and eax, 0x7f
lea eax, [eax*8 + 0x523b68]
mov edx, dword [ebp - 8]
cmp edx, 1
jbe 0x4a79de
call fcn.00402f70
mov ecx, dword [eax + edx*4]
lea eax, [ebp - 0xc]
mov edx, 0x4a7a4c
call fcn.00403f10
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7a1e
lea eax, [ebp - 0x14]
call fcn.00403c48
lea eax, [ebp - 0xc]
call fcn.00403c48
ret
Function at 0x4ab140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x4ab158
add esp, 0xfffffff0
call fcn.00403378
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406d00
mov eax, dword [ebp + 0xc]
call fcn.00406d00
mov eax, dword [ebp + 8]
call fcn.00406d00
xor eax, eax
push ebp
push 0x4ab270
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00479a84
lea edx, [ebp - 0x18]
mov eax, dword [0x4a8338]
call fcn.004a8458
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00406cb8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406d80
push 0x4ab2a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00406d80
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00406d80
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
jle 0x4ab242
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x10]
test al, al
je 0x4ab23a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
add al, 0xfe
sub al, 4
jae 0x4ab23a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x34], edx
jmp 0x4ab242
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4ab20f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab277
lea eax, [ebp - 0x18]
call fcn.00406ca0
lea eax, [ebp - 0xc]
call fcn.00406ca0
lea eax, [ebp + 8]
call fcn.00406ca0
lea eax, [ebp + 0xc]
call fcn.00406ca0
ret