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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44e118]
cmp byte [eax + 0xc], 0
je 0x436fe5
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436fde
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x44fb64], 0
jne 0x436ecc
push 0x436fec
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x436ff4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb64], eax
cmp dword [0x44db00], 0
jne 0x436fc7
push 0x437004
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x44db00], eax
cmp dword [0x44db00], 0
je 0x436fc7
push 0x437010
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb68], eax
push 0x437020
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb6c], eax
push 0x437034
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb70], eax
push 0x43704c
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb74], eax
push 0x437064
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb78], eax
push 0x437078
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb7c], eax
push 0x437090
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb80], eax
push 0x4370a8
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb84], eax
push 0x4370c4
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb88], eax
push 0x4370d0
mov eax, dword [0x44db00]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436fe5
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ae70
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.00403f5c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43aebf
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.004041cc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4425d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442624]
test si, 4
je 0x4425e8
or bl, 1
test si, 8
je 0x4425f2
or bl, 4
test si, 1
je 0x4425fc
or bl, 8
test si, 2
je 0x442606
or bl, 0x10
test si, 0x10
je 0x442610
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44261f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442628
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442660]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442641
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442650
or bl, 4
test esi, 0x20000000
je 0x44265b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448d08
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448d1a
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419098
mov eax, dword [0x44ddf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4490ac
mov eax, dword [0x44de00]
mov dword [eax + 4], ebx
mov dword [eax], 0x4490b8
mov eax, ebx
call fcn.004490c4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
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, 0x4454e0
push eax
push 0
push 0
mov eax, dword [0x44df40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aabc]
call fcn.0041bf00
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aabc]
call fcn.0041bf00
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aabc]
call fcn.0041bf00
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004494e4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4493c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4493c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4493c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448e57
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4491a4
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 0x44934f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449330
mov dl, 1
mov eax, dword [0x4117ac]
call fcn.004031f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f5c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44931f
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.004371d8
test al, al
je 0x449312
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, 0x449360
lea eax, [ebp - 0x254]
call fcn.00408944
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449312
xor eax, eax
push ebp
push 0x44930b
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 0x449398
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4492f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
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 0x4492f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449312
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449215
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415288
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 0x449356
lea eax, [ebp - 0x260]
call fcn.00403f5c
ret

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

Disassembly:
push ecx
mov eax, dword [0x44fbb0]
cmp byte [eax + 0xa5], 0
jne 0x449cf5
cmp dword [0x44fbc8], 0
jne 0x449cb6
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x449c40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fbc8], eax
cmp dword [0x44fbc4], 0
jne 0x449cd1
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x44fbc4], eax
cmp dword [0x44fbcc], 0
jne 0x449cf5
push esp
push 0
push 0
push 0x449be4
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x44fbcc], eax
pop edx
ret
Function at 0x449dec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449e03
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419098
mov eax, dword [0x44df2c]
cmp word [eax + 2], 0
jne 0x449e2b
mov eax, dword [0x44df2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b56c
mov eax, dword [0x44dfd4]
cmp word [eax + 2], 0
jne 0x449e45
mov eax, dword [0x44dfd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b764
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b26c]
call fcn.00420eb4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x449fcc
mov eax, dword [0x44de54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421284
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bd14
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44de54]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040bf80
test eax, eax
je 0x449f3a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408338
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bfa8
test eax, eax
je 0x449f4e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
mov eax, dword [0x44dd58]
cmp byte [eax], 0
jne 0x449f82
mov eax, ebx
call fcn.0044a0f4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044bef0
mov eax, ebx
call fcn.0044c8b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449fc2
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a374
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbb0]
cmp dword [eax + 0x30], 0
je 0x44a41e
cmp dword [ebx + 0x94], 0
jne 0x44a418
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a304
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a418
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 0x44a3de
Function at 0x44af80
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 0x44afb5
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.0040404c
jmp 0x44afc2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c0cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c10d
mov eax, esi
call fcn.004329e0
test al, al
je 0x44c10d
mov eax, dword [ebx + 0x84]
call fcn.00432780
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c10d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432780
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10001750
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x110
mov eax, dword [0x10028e00]
xor eax, esp
mov dword [esp + 0x10c], eax
mov al, 0x74
mov byte [esp + 4], al
mov byte [esp + 6], al
push 0x104
lea eax, [esp + 0xc]
push eax
push 0
mov byte [esp + 0xc], 0x5c
mov byte [esp + 0xd], 0x50
mov byte [esp + 0xe], 0x58
mov byte [esp + 0xf], 0x2e
mov byte [esp + 0x11], 0x78
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp]
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100017b0
push esi
push edi
lea edi, [esp + 0x10]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100017c2
mov ecx, eax
shr ecx, 2
push 0
rep movsd dword es:[edi], dword [esi]
push 0x80
push 3
push 0
push 1
mov ecx, eax
push 0x80000000
lea edx, [esp + 0x28]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001836
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
push ebp
call fcn.100019e8
add esp, 4
push 0
mov edi, eax
lea eax, [esp + 0x10]
push eax
push ebp
push edi
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebp
test edi, edi
je 0x10001836
push edi
call fcn.10001040
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.1000e605
add esp, 0x110
ret

Function at 0x1000e605
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10028e00]
jne 0x1000e60f
repz ret
jmp fcn.10011c0f
Function at 0x10018ee6
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.10011d87
and dword [ebp - 4], 0
cmp dword [0x1002ca0c], 0
mov ebx, eax
jne 0x10018f97
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10019048
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10019048
push eax
call fcn.10011d15
mov dword [esp], 0x100232b0
push edi
mov dword [0x1002ca0c], eax
call esi
push eax
call fcn.10011d15
mov dword [esp], 0x1002329c
push edi
mov dword [0x1002ca10], eax
call esi
push eax
call fcn.10011d15
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1002ca14], eax
call esi
push eax
call fcn.10011d15
pop ecx
mov dword [0x1002ca1c], eax
test eax, eax
je 0x10018f97
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10011d15
pop ecx
mov dword [0x1002ca18], eax
mov eax, dword [0x1002ca18]
cmp eax, ebx
je 0x10018fef
cmp dword [0x1002ca1c], ebx
je 0x10018fef
push eax
call fcn.10011d90
push dword [0x1002ca1c]
mov esi, eax
call fcn.10011d90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10018fef
test edi, edi
je 0x10018fef
call esi
test eax, eax
je 0x10018fe6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10018fe6
test byte [ebp - 0xc], 1
jne 0x10018fef
or dword [ebp + 0x10], 0x200000
jmp 0x10019028
mov eax, dword [0x1002ca10]
cmp eax, ebx
je 0x10019028
push eax
call fcn.10011d90
pop ecx
test eax, eax
je 0x10019028
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10019028
mov eax, dword [0x1002ca14]
cmp eax, ebx
je 0x10019028
push eax
call fcn.10011d90
pop ecx
test eax, eax
je 0x10019028
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1002ca0c]
call fcn.10011d90
pop ecx
test eax, eax
je 0x10019048
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001904a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1018f810
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101b41b0], 0
mov byte [0x101b41b4], 0
mov dword [0x101b41a4], 0x184
mov dword [0x101b41ac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1018f90f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xffffdc24
mov dword [0x101b41a8], eax
mov eax, dword [0x101b41b0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x28], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x28]
idiv edi
mov dword [0x101b41b0], edx
mov dword [0x101b41a4], 0x22c8
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x101b41b4], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x101b41a8], 0xb1a
mov bl, byte [0x101b41b4]
mov ecx, dword [0x101b41b0]
mov byte [esi + ecx], bl
mov ecx, dword [0x101b41a8]
add ecx, 0x11b0
mov dword [0x101b41a8], ecx
mov edx, dword [0x101b41ac]
add edx, 1
mov dword [0x101b41ac], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
jl 0x1018f85a
jmp 0x1018f966
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101b41a4], 0x1f4
mov eax, dword [0x101b41ac]
add eax, 1
mov dword [0x101b41ac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1018f90f
xor eax, eax
mov dword [0x101b41a4], 0x358
mov dword [0x101b41ac], 0
mov ecx, dword [0x101b41a8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1018f85a
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10190000
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov eax, dword [0x101b41a4]
add eax, 0xffffe10f
mov dword [0x101b41a8], eax
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101b41a4], 0x2189
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x101900ad
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101900f1
jmp 0x10190099
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x101b41a4], ecx
mov dword [0x101b41a8], 0x269b
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10190099
mov dword [0x101b41a4], 0x1799
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10190046
mov dword [0x101b41a4], 0x7ca
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x1019016c
mov eax, dword [ebp - 0x14]
mov ecx, 0x25ee
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
je 0x1019005b
mov eax, 0x1f59
mov ecx, dword [ebp - 0x28]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
jl 0x101900ad
jmp 0x1019005b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10190099
mov dword [0x101b41a4], 0xd55
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x29], dl
mov al, byte [ebp - 0x29]
test al, 1
jne 0x10190129
jmp 0x10190099
mov dword [0x101b41a4], 0x14e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10190099
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x2c], dx
mov eax, 1
mov cx, word [ebp - 0x2c]
cmp cx, 0x6c
mov dword [ebp - 0x24], eax
jne 0x10190099
mov eax, dword [ebp - 0x24]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x101905b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x101b41a8], 0x17db
mov dword [0x101b41a4], 0x249e
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.10190cd0
lea ecx, [0x1018f970]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], 0x14f000
mov edx, dword [0x101b4190]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101b4194]
mov dword [esp + 0x60], edx
mov edx, dword [0x101b4198]
mov dword [esp + 0x9c], edx
mov edx, dword [0x101b419c]
mov dword [esp + 0x90], edx
mov edx, dword [0x101b41a0]
mov dword [esp + 0x94], edx
mov dword [0x101b41a8], 0x2630
mov dword [0x101b41a4], 0x1891
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x101906c9
lea eax, [esp + 0x40]
mov dword [0x101b41a4], 0x2401
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10190750
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101b41a4], 0x13c
mov dword [esp + 0x20], eax
jmp 0x1019073f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
sete dl
mov dword [esp + 0x18], ecx
mov byte [esp + 0x17], dl
mov al, byte [esp + 0x17]
test al, 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
jne 0x101906fe
jmp 0x101906d8
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x10190696
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
and eax, 0xfffff000
mov dword [0x101b41a8], 0x263e
mov dword [esp + 0x24], eax
jmp 0x101906c9
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov dword [0x101b41a8], 0xfffff902
mov dword [0x101b41a4], 0xfffff319
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x80], eax
call fcn.10190000
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
je 0x10190653
mov eax, dword [esp + 0x20]
mov esp, ebp
pop ebp
ret