joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b700
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b231c]
cmp byte [eax + 0xc], 0
je 0x46b86d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46b866
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b3bc8], 0
jne 0x46b754
push 0x46b874
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46b87c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3bc8], eax
cmp dword [0x4b0fe4], 0
jne 0x46b84f
push 0x46b88c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b0fe4], eax
cmp dword [0x4b0fe4], 0
je 0x46b84f
push 0x46b898
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3bcc], eax
push 0x46b8a8
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3bd0], eax
push 0x46b8bc
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3bd4], eax
push 0x46b8d4
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3bd8], eax
push 0x46b8ec
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3bdc], eax
push 0x46b900
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3be0], eax
push 0x46b918
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3be4], eax
push 0x46b930
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3be8], eax
push 0x46b94c
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3bec], eax
push 0x46b958
mov eax, dword [0x4b0fe4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3bf0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b86d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x470564
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.00404730
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4705b3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x477dc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x477e14]
test si, 4
je 0x477dd8
or bl, 1
test si, 8
je 0x477de2
or bl, 4
test si, 1
je 0x477dec
or bl, 8
test si, 2
je 0x477df6
or bl, 0x10
test si, 0x10
je 0x477e00
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x477e0f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x477e18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x477e50]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x477e31
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x477e40
or bl, 4
test esi, 0x20000000
je 0x477e4b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47e514
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47e526
add esp, 0xfffffff0
call fcn.00403bdc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004227c0
mov eax, dword [0x4b1d98]
mov dword [eax + 4], ebx
mov dword [eax], 0x47e8b8
mov eax, dword [0x4b1da8]
mov dword [eax + 4], ebx
mov dword [eax], 0x47e8c4
mov eax, ebx
call fcn.0047e8d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417264]
call fcn.00403834
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417264]
call fcn.00403834
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417264]
call fcn.00403834
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417264]
call fcn.00403834
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417264]
call fcn.00403834
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47ace8
push eax
push 0
push 0
mov eax, dword [0x4b1ff0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424254]
call fcn.004259ec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424254]
call fcn.004259ec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424254]
call fcn.004259ec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047ed68
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47ec30
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47ec30
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47ec30
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47e663
call fcn.00403c34
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47ea14
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 0x47ebbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47eba0
mov dl, 1
mov eax, dword [0x417a3c]
call fcn.00403834
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404730
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47eb8f
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.0046ba60
test al, al
je 0x47eb82
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x47ebd0
lea eax, [ebp - 0x254]
call fcn.00409cc4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47eb82
xor eax, eax
push ebp
push 0x47eb7b
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 0x47ec08
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47eb64
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x47eb64
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47eb82
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47ea85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c668
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ebc6
lea eax, [ebp - 0x260]
call fcn.00404730
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b3c14]
cmp byte [eax + 0xa5], 0
jne 0x47f579
cmp dword [0x4b3c2c], 0
jne 0x47f53a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47f4c4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b3c2c], eax
cmp dword [0x4b3c28], 0
jne 0x47f555
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b3c28], eax
cmp dword [0x4b3c30], 0
jne 0x47f579
push esp
push 0
push 0
push 0x47f468
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b3c30], eax
pop edx
ret
Function at 0x47fc3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b3c14]
cmp dword [eax + 0x30], 0
je 0x47fce6
cmp dword [ebx + 0x94], 0
jne 0x47fce0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47fbcc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47fce0
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 0x47fca6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47fce0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419c78
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47fcb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x480844
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x480879
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404820
jmp 0x480886
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404784
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x481a50
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x481a91
mov eax, esi
call fcn.00466f94
test al, al
je 0x481a91
mov eax, dword [ebx + 0x84]
call fcn.00466c90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x481a91
push 0
mov eax, dword [ebx + 0x84]
call fcn.00466c90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x489fbc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416a10]
call fcn.004050f4
xor eax, eax
push ebp
push 0x48a100
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b1250], 0
jne 0x48a00f
mov ecx, dword [0x4b1c70]
mov dl, 1
mov eax, dword [0x407c1c]
call fcn.0040c908
call fcn.00404108
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004031f4
mov eax, ebx
call fcn.00404fa0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x48a110
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040616c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404fb0
test eax, eax
jle 0x48a0a7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48a0a0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004049b8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004049a0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408b48
test eax, eax
jne 0x48a0a0
mov ebx, 0x15
jmp 0x48a0ac
mov ebx, 0x10
jmp 0x48a0ac
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b1250]
call fcn.00489f14
mov eax, dword [ebp - 8]
call fcn.00489f14
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a107
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x10]
mov edx, dword [0x416a10]
call fcn.004051c4
ret
Function at 0x4269b8
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 0x4269fa
call fcn.0042b3e8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4269fa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4269f1
xor eax, eax
jmp 0x426a02
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00426a08
pop edi
pop esi
pop ebx
ret 4

Function at 0x42bc4c
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 0x42bc7a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42bc98
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042bbb2
jmp 0x42bc98
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42bc98
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042bbb2
test edi, edi
mov eax, edi
jne 0x42bc82
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10188577
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101e05d0]
jne 0x10188581
repz ret
jmp fcn.1018a06b

Function at 0x1018b35f
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.1018867c
and dword [ebp - 4], 0
cmp dword [0x101e27b8], 0
mov ebx, eax
jne 0x1018b410
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1018b4c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1018b4c1
push eax
call fcn.1018860a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101e27b8], eax
call esi
push eax
call fcn.1018860a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101e27bc], eax
call esi
push eax
call fcn.1018860a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101e27c0], eax
call esi
push eax
call fcn.1018860a
pop ecx
mov dword [0x101e27c8], eax
test eax, eax
je 0x1018b410
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1018860a
pop ecx
mov dword [0x101e27c4], eax
mov eax, dword [0x101e27c4]
cmp eax, ebx
je 0x1018b468
cmp dword [0x101e27c8], ebx
je 0x1018b468
push eax
call fcn.10188685
push dword [0x101e27c8]
mov esi, eax
call fcn.10188685
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1018b468
test edi, edi
je 0x1018b468
call esi
test eax, eax
je 0x1018b45f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1018b45f
test byte [ebp - 0xc], 1
jne 0x1018b468
or dword [ebp + 0x10], 0x200000
jmp 0x1018b4a1
mov eax, dword [0x101e27bc]
cmp eax, ebx
je 0x1018b4a1
push eax
call fcn.10188685
pop ecx
test eax, eax
je 0x1018b4a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1018b4a1
mov eax, dword [0x101e27c0]
cmp eax, ebx
je 0x1018b4a1
push eax
call fcn.10188685
pop ecx
test eax, eax
je 0x1018b4a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101e27b8]
call fcn.10188685
pop ecx
test eax, eax
je 0x1018b4c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1018b4c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1018ce41
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [0x101e0050], 0x461
mov dword [ebp - 0x10], eax
call fcn.1018df7d
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x101e0050], 0x804
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101e0054], 0xfffff2f9
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1018cf96
jmp 0x1018cf21
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov edx, dword [ebp - 0x2c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
jae 0x1018cf96
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [0x101e0050], 0x2204
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x1018cf35
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov dword [0x101e0050], 0x1323
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x101e0054], 0x1e67
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
jmp 0x1018cf96
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
jmp 0x1018cecc
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x1018cf86
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x1018cf35
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1018cef2
jmp 0x1018cea4
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018d065
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1019c409]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101e0050], 0xe60
mov dword [0x101e0054], 0x1be2
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1018d649
mov dword [0x101e0050], 0xf0d
call fcn.1018cfae
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1018ccd6
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1018d19b
jmp 0x1018d102
mov dword [0x101e0054], 0xa96
mov eax, dword [ebp - 0x44]
add eax, 0x274d
mov dword [ebp - 0x40], eax
jmp 0x1018d19b
mov eax, dword [ebp - 0x3c]
mov dword [0x101e0050], 0x1652
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1018da41
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101e0054], 0x26e4
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x54], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x48], ecx
mov esi, dword [0x101e0054]
add esi, 0x20a0
mov dword [0x101e0050], esi
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x1018d0e8
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1018d448
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1018d4bb
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, 1
mov dword [0x101e0054], 0x1ced
mov dword [ebp - 0x14], eax
jmp 0x1018d474
mov eax, 0x1ca6
mov dword [0x101e0050], 0x13c0
mov ecx, dword [ebp - 0x18]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jge 0x1018d4df
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov dword [ebp - 0x18], eax
jne 0x1018d490
mov eax, dword [0x101e0050]
add eax, 0x8e6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [0x101e0050], eax
mov eax, dword [ebp - 0xc]
cmp word [eax + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], edx
jne 0x1018d474
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x14], eax
jne 0x1018d474
xor eax, eax
mov dword [0x101e0050], 0x118c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x14], eax
jne 0x1018d474
xor eax, eax
mov dword [0x101e0050], 0x12f1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x14], eax
jne 0x1018d474
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x14], eax
jne 0x1018d474
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1018d474
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x1018d47c
jmp 0x1018d474