joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44274c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442784]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442765
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442774
or bl, 4
test esi, 0x20000000
je 0x44277f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448e2c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448e3e
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418e78
mov eax, dword [0x44ddec]
mov dword [eax + 4], ebx
mov dword [eax], 0x4491d0
mov eax, dword [0x44ddf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4491dc
mov eax, ebx
call fcn.004491e8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411170]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411170]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411170]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411170]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411170]
call fcn.004030a8
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, 0x445604
push eax
push 0
push 0
mov eax, dword [0x44df34]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a89c]
call fcn.0041bce0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a89c]
call fcn.0041bce0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a89c]
call fcn.0041bce0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449608
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4494e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4494e4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4494e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448f7b
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4492c8
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 0x449473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449454
mov dl, 1
mov eax, dword [0x41158c]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449443
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.004372fc
test al, al
je 0x449436
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, 0x449484
lea eax, [ebp - 0x254]
call fcn.00408724
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x449436
xor eax, eax
push ebp
push 0x44942f
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 0x4494bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x449418
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
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 0x449418
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449436
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449339
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415068
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 0x44947a
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x44fbac]
cmp byte [eax + 0xa5], 0
jne 0x449e19
cmp dword [0x44fbc4], 0
jne 0x449dda
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x449d64
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fbc4], eax
cmp dword [0x44fbc0], 0
jne 0x449df5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x44fbc0], eax
cmp dword [0x44fbc8], 0
jne 0x449e19
push esp
push 0
push 0
push 0x449d08
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x44fbc8], eax
pop edx
ret
Function at 0x449f10
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449f27
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418e78
mov eax, dword [0x44df20]
cmp word [eax + 2], 0
jne 0x449f4f
mov eax, dword [0x44df20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b464
mov eax, dword [0x44dfc4]
cmp word [eax + 2], 0
jne 0x449f69
mov eax, dword [0x44dfc4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b65c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411170]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411170]
call fcn.004030a8
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 [0x41b04c]
call fcn.00420c94
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44a0f0
mov eax, dword [0x44de4c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421064
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bbfc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44de4c]
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.0040bd60
test eax, eax
je 0x44a05e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408118
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bd88
test eax, eax
je 0x44a072
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.00404080
mov eax, dword [0x44dd54]
cmp byte [eax], 0
jne 0x44a0a6
mov eax, ebx
call fcn.0044a218
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.0044bdd8
mov eax, ebx
call fcn.0044c79c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a0e6
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a498
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbac]
cmp dword [eax + 0x30], 0
je 0x44a542
cmp dword [ebx + 0x94], 0
jne 0x44a53c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a428
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a53c
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 0x44a502
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a53c
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.004134d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a511
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b0a4
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 0x44b0d9
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.00403f00
jmp 0x44b0e6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44bfb4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44bff5
mov eax, esi
call fcn.00432b04
test al, al
je 0x44bff5
mov eax, dword [ebx + 0x84]
call fcn.004328a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44bff5
push 0
mov eax, dword [ebx + 0x84]
call fcn.004328a4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44ca6c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov eax, 0x44c894
call fcn.00405bc8
mov dl, 1
mov eax, dword [0x4252f8]
call fcn.0042539c
mov ebx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.0042543c
xor ecx, ecx
mov edx, 0x44cb34
mov eax, ebx
call fcn.004254a0
test al, al
je 0x44cae8
mov edx, 0x44cb6c
mov eax, ebx
call fcn.00425634
test al, al
je 0x44cac5
mov edx, 0x44cb6c
mov eax, ebx
call fcn.004255c4
mov edx, 0x44cb8c
mov eax, ebx
call fcn.00425634
test al, al
je 0x44cae1
mov edx, 0x44cb8c
mov eax, ebx
call fcn.004255c4
mov eax, ebx
call fcn.0042540c
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 4]
push 0x44cbac
call sub.user32.dll_RegisterWindowMessageA
mov ebx, eax
push 0x44cbbc
push 0
call sub.user32.dll_FindWindowA
test eax, eax
jbe 0x44cb25
push 0
push 0x470
push ebx
push eax
call sub.user32.dll_PostMessageA
push 0x1f4
call sub.KERNEL32.DLL_Sleep_1
pop ebx
call fcn.00403d20
add bh, bh
invalid
Function at 0x40106a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x42b3f8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x42b3fc]
push edi
xor edi, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], edi
call fcn.00401063
mov eax, dword [0x42b400]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x42b404]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, dword [ebp - 0xc]
shl eax, 4
cmp dword [0x1a1bfac], 0xc
mov dword [ebp - 4], eax
jne 0x4010ef
push edi
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x434]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x1a1bfac]
cmp eax, 0xfa9
jne 0x40110b
mov dword [0x1a1bfa8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40111f
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x1a1befc], edi
mov eax, dword [ebp - 0xc]
add eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a1bfa4], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a1bfac], 0xc
mov dword [ebp - 4], eax
jne 0x401175
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add ebx, 0x61c88647
dec dword [ebp - 0x20]
jne 0x4010be
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebx
leave
ret 4
Function at 0x40445c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a250]
jne 0x404466
repz ret
jmp fcn.00409b94

Function at 0x40b17a
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.00406f2c
and dword [ebp - 4], 0
cmp dword [0x4347a4], 0
mov ebx, eax
jne 0x40b22b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2dc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2dc
push eax
call fcn.00406eba
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4347a4], eax
call esi
push eax
call fcn.00406eba
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4347a8], eax
call esi
push eax
call fcn.00406eba
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4347ac], eax
call esi
push eax
call fcn.00406eba
pop ecx
mov dword [0x4347b4], eax
test eax, eax
je 0x40b22b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406eba
pop ecx
mov dword [0x4347b0], eax
mov eax, dword [0x4347b0]
cmp eax, ebx
je 0x40b283
cmp dword [0x4347b4], ebx
je 0x40b283
push eax
call fcn.00406f35
push dword [0x4347b4]
mov esi, eax
call fcn.00406f35
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b283
test edi, edi
je 0x40b283
call esi
test eax, eax
je 0x40b27a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b27a
test byte [ebp - 0xc], 1
jne 0x40b283
or dword [ebp + 0x10], 0x200000
jmp 0x40b2bc
mov eax, dword [0x4347a8]
cmp eax, ebx
je 0x40b2bc
push eax
call fcn.00406f35
pop ecx
test eax, eax
je 0x40b2bc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2bc
mov eax, dword [0x4347ac]
cmp eax, ebx
je 0x40b2bc
push eax
call fcn.00406f35
pop ecx
test eax, eax
je 0x40b2bc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4347a4]
call fcn.00406f35
pop ecx
test eax, eax
je 0x40b2dc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2de
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401637
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x402750
call fcn.00401c80
push 1
call fcn.00401377
pop ecx
test al, al
je 0x401793
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00401345
mov byte [ebp - 0x24], al
mov eax, dword [0x4030a8]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x401793
test eax, eax
jne 0x4016c1
mov dword [0x4030a8], ecx
push 0x402128
push 0x40211c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4016a4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40178d
push 0x402118
push 0x40210c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x4030a8], 2
jmp 0x4016c6
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004014e4
pop ecx
call fcn.00401e03
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4016f7
push esi
call fcn.0040145a
pop ecx
test al, al
je 0x4016f7
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call dword [0x402108]
call esi
call fcn.00401e09
mov esi, eax
cmp dword [esi], edi
je 0x401715
push esi
call fcn.0040145a
pop ecx
test al, al
je 0x401715
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00401baa
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00401be0
test al, al
je 0x40179a
test bl, bl
jne 0x401743
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00401501
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40178d
call fcn.00401cc6
ret
push 7
call fcn.00401a8e
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00572000
jmp 0x401637
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

Function at 0xbd6ca0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0xc34014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push eax
push 0
call dword [0xc220a0]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xbd6e9b
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0xbd6e9b
push 0x44
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.00c06ab0
add esp, 0xc
lea eax, [ebp - 0x160]
xorps xmm0, xmm0
movups xmmword [ebp - 0x160], xmm0
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [0xc22048]
test eax, eax
je 0xbd6e9b
push 4
push 0x1000
push 4
push 0
call dword [0xc22090]
mov ebx, eax
push ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x15c]
call dword [0xc22034]
test eax, eax
je 0xbd6e9b
push 0
push 4
lea eax, [ebp - 0x150]
push eax
push 0xc2adcc
push dword [ebp - 0x160]
call dword [0xc220a4]
mov eax, dword [edi + 0x34]
cmp dword [ebp - 0x150], eax
jne 0xbd6dbc
push 0xc2add0
push 0xc2ade8
call dword [0xc22078]
push eax
call dword [0xc22038]
push dword [ebp - 0x150]
push dword [ebp - 0x160]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [ebp - 0x160]
call dword [0xc2203c]
mov dword [ebp - 0x168], eax
test eax, eax
je 0xbd6e9b
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [ebp - 0x160]
call dword [0xc2209c]
xor eax, eax
cmp ax, word [edi + 6]
jae 0xbd6e55
mov ecx, 0xa0
xor ebx, ebx
mov dword [ebp - 0x164], ecx
nop dword [eax]
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + esi + 0x68]
mov eax, dword [ecx + esi + 0x6c]
add eax, esi
push eax
mov eax, dword [ecx + esi + 0x64]
add eax, dword [ebp - 0x168]
push eax
push dword [ebp - 0x160]
call dword [0xc2209c]
mov ecx, dword [ebp - 0x164]
inc ebx
movzx eax, word [edi + 6]
add ecx, 0x28
mov dword [ebp - 0x164], ecx
cmp ebx, eax
jl 0xbd6e10
mov ebx, dword [ebp - 0x16c]
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x160]
call dword [0xc2209c]
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 0x168]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x15c]
call dword [0xc22050]
push dword [ebp - 0x15c]
call dword [0xc22080]
push 0x8000
push 0
push esi
call dword [0xc22098]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00bef9b1
mov esp, ebp
pop ebp
ret
Function at 0x4077c1
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add eax, 0xfbf7
and eax, 0x9159
pop eax
push edx
jmp 0x4077d9
pop edx
mov dword [ebp - 0x7a4], 0
jmp 0x407ed4
Function at 0x407d75
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x770]
add eax, 1
mov dword [ebp - 0x770], eax
mov eax, dword [ebp - 0x770]
mov ecx, dword [ebp - 0x1998]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x199c]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x19a0], ecx
mov dword [ebp - 0x1cc], 0
jmp 0x407d20
mov edx, dword [ebp - 0x1cc]
add edx, 1
mov dword [ebp - 0x1cc], edx
mov eax, dword [ebp - 0x774]
add eax, dword [ebp - 0x1cc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x407dd2
mov edx, dword [ebp - 0x1cc]
movsx eax, byte [ebp + edx - 0x880]
test eax, eax
je 0x407dd2
push edi
or edi, 0xead0
pop edi
push edx
push eax
add esp, 4
jmp 0x407d5f
or edx, 0x19b6
call 0x407d75
add byte [ebx + 0x4b], al
dec eax
xor cl, byte [esi + 0x33]
inc esi
cmp dword [edi], esi
xor al, byte [ebx - 0x1d7efb3c]
adc al, 0x89
add byte [eax], al
pop edx
mov ecx, dword [ebp - 0x774]
add ecx, dword [ebp - 0x1cc]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x1cc]
movsx ecx, byte [ebp + eax - 0x880]
cmp edx, ecx
je 0x407dc4
mov edx, dword [ebp - 0x774]
add edx, dword [ebp - 0x1cc]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x1cc]
movsx edx, byte [ebp + ecx - 0x880]
cmp eax, edx
jne 0x407dcb
jmp 0x407d11
jmp 0x407dd2
push eax
call 0x407ddf
add byte [ebx + 0x4b], cl
dec ebx
inc eax
inc ebx
inc eax
add esp, 4
and eax, 0x17aed
pop eax
push ebx
push edi
add esp, 4
xor ebx, 0x118
call 0x407e00
add byte [ebp + 0x39], al
cmp edi, dword [esi]
dec esp
inc eax
add esp, 4
pop ebx
mov eax, dword [ebp - 0x774]
add eax, dword [ebp - 0x1cc]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x1cc]
movsx eax, byte [ebp + edx - 0x880]
cmp ecx, eax
jne 0x407e31
mov dword [ebp - 0xcc8], 0
jmp 0x407ea0
push esi
or esi, 0x9262
xor esi, 0x22e9
or esi, 0x12a2f
call 0x407e53
add byte [esi + 0x4e], al
dec ecx
inc edi
inc ecx
dec ecx
dec ebp
dec esp
push eax
add esp, 4
pop esi
push edx
push ecx
add esp, 4
jmp 0x407e62
pop edx
mov ecx, dword [ebp - 0x774]
add ecx, dword [ebp - 0x1cc]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x1cc]
movsx ecx, byte [ebp + eax - 0x880]
or ecx, 0x20
cmp edx, ecx
jge 0x407e96
mov dword [ebp - 0xcc8], 0xffffffff
jmp 0x407ea0
mov dword [ebp - 0xcc8], 1
cmp dword [ebp - 0xcc8], 0
jne 0x407eb7
mov edx, dword [ebp - 0x19a0]
mov dword [ebp - 0x50c], edx
jmp 0x407ec8
jmp 0x407ca1