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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451bc4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451ba5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451bb4
or bl, 4
test esi, 0x20000000
je 0x451bbf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45826c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45827e
add esp, 0xfffffff0
call fcn.0040423c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ee88
mov eax, dword [0x4a7870]
mov dword [eax + 4], ebx
mov dword [eax], 0x458610
mov eax, dword [0x4a7884]
mov dword [eax + 4], ebx
mov dword [eax], 0x45861c
mov eax, ebx
call fcn.00458628
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416b54]
call fcn.00403ee8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416b54]
call fcn.00403ee8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416b54]
call fcn.00403ee8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416b54]
call fcn.00403ee8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416b54]
call fcn.00403ee8
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, 0x454a44
push eax
push 0
push 0
mov eax, dword [0x4a7b5c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42090c]
call fcn.00422080
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42090c]
call fcn.00422080
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42090c]
call fcn.00422080
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458ad8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45896c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45896c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45896c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4583bb
call fcn.00404294
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458750
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 0x4588fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4588dc
mov dl, 1
mov eax, dword [0x416f70]
call fcn.00403ee8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404cec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4588cb
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.00446138
test al, al
je 0x4588be
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, 0x45890c
lea eax, [ebp - 0x254]
call fcn.00409ea8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4588be
xor eax, eax
push ebp
push 0x4588b7
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 0x458944
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4588a0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f5c
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 0x4588a0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4588be
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4587c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ab44
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 0x458902
lea eax, [ebp - 0x260]
call fcn.00404cec
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a9bec]
cmp byte [eax + 0xa5], 0
jne 0x4592e9
cmp dword [0x4a9c04], 0
jne 0x4592aa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459234
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a9c04], eax
cmp dword [0x4a9c00], 0
jne 0x4592c5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a9c00], eax
cmp dword [0x4a9c08], 0
jne 0x4592e9
push esp
push 0
push 0
push 0x4591d8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a9c08], eax
pop edx
ret
Function at 0x4593e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4593f7
add esp, 0xfffffff0
call fcn.0040423c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ee88
mov eax, dword [0x4a7b38]
cmp word [eax + 2], 0
jne 0x45941f
mov eax, dword [0x4a7b38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045aab8
mov eax, dword [0x4a7d0c]
cmp word [eax + 2], 0
jne 0x459439
mov eax, dword [0x4a7d0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045acb0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416b54]
call fcn.00403ee8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416b54]
call fcn.00403ee8
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 [0x4213ec]
call fcn.00428b60
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4595c0
mov eax, dword [0x4a7940]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428f30
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b250
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a7940]
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.0040da10
test eax, eax
je 0x45952e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409888
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da38
test eax, eax
je 0x459542
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.00404f5c
mov eax, dword [0x4a7678]
cmp byte [eax], 0
jne 0x459576
mov eax, ebx
call fcn.004596e8
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.0045b42c
mov eax, ebx
call fcn.0045bdf0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4595b6
call fcn.00404294
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459968
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a9bec]
cmp dword [eax + 0x30], 0
je 0x459a12
cmp dword [ebx + 0x94], 0
jne 0x459a0c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4598f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459a0c
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 0x4599d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459a0c
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.00418f9c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4599e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a574
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 0x45a5a9
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.00404ddc
jmp 0x45a5b6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d40
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b608
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b649
mov eax, esi
call fcn.00441720
test al, al
je 0x45b649
mov eax, dword [ebx + 0x84]
call fcn.0044141c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b649
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044141c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x481e8c
Capabilities:
Create process on windows

Disassembly:
test ax, ax
jne 0x481ea9
push 1
push 0
push 0x481ec4
push 0x481ec8
push 0
push 0
call sub.shell32.dll_ShellExecuteA
ret
push 1
push 0
push 0x481ed8
push 0x481ec8
push 0
push 0
call sub.shell32.dll_ShellExecuteA
ret
Function at 0x482458
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, dword [0x4a7f48]
mov esi, dword [0x4a7f90]
cmp byte [0x4a9dd0], 0
jne 0x482609
mov eax, dword [0x4a791c]
cmp word [eax], 0
jne 0x482609
mov eax, dword [0x4a7d5c]
cmp word [eax], 0
jne 0x482609
inc dword [0x4a9d5c]
fild dword [0x4a9d5c]
fstp dword [ebx]
wait
mov eax, dword [0x4a783c]
mov eax, dword [eax]
mov dword [ebx + 4], eax
mov eax, dword [0x4a76b4]
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [0x4a7e94]
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
mov eax, dword [0x4a7820]
mov eax, dword [eax]
mov dword [ebx + 0x10], eax
mov eax, dword [0x4a7920]
fld dword [eax]
fmul dword [0x482610]
call fcn.00402a18
fld xword [0x482614]
fmulp st(1)
fstp dword [ebx + 0x18]
wait
mov eax, dword [0x4a78f8]
mov eax, dword [eax]
mov dword [ebx + 0x1c], eax
movzx eax, word [esi]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x20]
wait
mov eax, dword [0x4a79d0]
mov eax, dword [eax]
mov dword [ebx + 0x24], eax
movzx eax, word [esi + 0x1a]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x28]
wait
movzx eax, word [esi + 0x14]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x2c]
wait
movzx eax, word [esi + 0xc]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x30]
wait
mov eax, dword [0x4a7b8c]
mov eax, dword [eax]
mov dword [ebx + 0x34], eax
mov eax, dword [0x4a7cc8]
fld xword [eax]
fstp dword [ebx + 0x38]
wait
movzx eax, word [esi + 4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x3c]
wait
movzx eax, word [esi + 6]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x40]
wait
movzx eax, word [esi + 8]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x44]
wait
movzx eax, word [esi + 0xa]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x48]
wait
movzx eax, word [esi + 0x10]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x4c]
wait
movzx eax, word [esi + 0xe]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x50]
wait
movzx eax, word [esi + 0x18]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x54]
wait
mov eax, dword [0x4a8010]
mov eax, dword [eax]
mov dword [ebx + 0x58], eax
movzx eax, word [esi + 0x12]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp dword [ebx + 0x5c]
wait
mov eax, 0x60
mov dword [esp], eax
push esp
mov edx, ebx
mov ecx, dword [0x4a7bd0]
xchg ecx, eax
call fcn.00402ed4
call fcn.004028c4
fild dword [0x4a9d5c]
mov eax, dword [0x4a802c]
fstp dword [eax + 0xac]
wait
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x48bae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48bd40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48bb43
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048b788
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d5fc
cmp al, 1
jne 0x48bb43
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048ba50
test al, al
je 0x48bccf
cmp dword [ebp - 8], 0
jge 0x48bb61
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048b788
mov eax, dword [ebp - 0x210]
call fcn.00404fac
cmp ebx, eax
jge 0x48bbab
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048b788
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4a8000]
and eax, 0xff
bt dword [edx], eax
jae 0x48bbab
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48bbbf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048babc
cmp ebx, dword [ebp - 8]
je 0x48bcc1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x48bbeb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404114
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a758c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48bcae
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404114
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a758c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044141c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404114
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a758c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044141c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bcb5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48bd22
cmp dword [ebp - 8], 0
jge 0x48bcda
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048b788
mov eax, dword [ebp - 0x218]
call fcn.00404fac
cmp eax, dword [ebp - 8]
jg 0x48bd14
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048b788
mov eax, dword [ebp - 0x21c]
call fcn.00404fac
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048babc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bd47
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404d10
ret
Function at 0x412082
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x418680], 0
push ebx
push esi
mov esi, 0x418688
jne 0x4120ae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186a0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x418680], 1
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41214b
push 0x14
push 8
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412175
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x418684]
test eax, eax
je 0x4120f0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x418684], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41217a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412175
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
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 0x43b649
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
sub edx, 0x7efff5dc
inc ecx
sub edx, ecx
call fcn.0043b680
push 0x662d0e4a
pop edx
xor dword [eax], edi
mov ecx, 0x5e0c2843
inc eax
sub ecx, 0x72b0b262
cmp eax, esi
jne fcn.0043b649
add edx, 0x41b8c604
ret

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 0x5cb0e5
Capabilities:
Encode data using xor

Disassembly:
invalid
cdq
lea edi, [eax - 0x29de1ede]
sal bl, cl
mov bh, 0xe3
dec ecx
mov byte [0xa4555ef], al
or bl, byte [0x35091c29]
push ecx
sbb al, byte [0xeab62a75]
adc al, 0x52
cmp byte [ebx - 0x6179c79], dl
fidivr word [ecx + ebp*4]
shl dword [ebp - 0x78684fde], cl
mov byte [0x617b0314], al
pop es
test al, 6
pop eax
xor byte [edi + 0x28], 0x1b
jb 0x5cb0dc
xor dword [ecx + 0x64], ebp
bswap ebx
mov esi, 0x489df337
dec eax

Function at 0x5ff1bb
Capabilities:
Encode data using xor

Disassembly:
add edx, dword [esi + 0x2de51310]
imul edx, dword [0x53b4e5eb], 0x25
adc dword [esi], edx
xchg ebx, eax
in eax, 0xb5
xlatb
sbb dword [eax], eax
mov eax, 0xccc8d3b5
out dx, al
cmp ecx, dword [edi]
popal
adc esi, dword [esi]
mov ah, 0x25
invalid
invalid
and eax, 0x30553dc7
inc edx
movsd dword es:[edi], dword [esi]
or ecx, edx
add ebx, dword [0x7fe2e65d]
je 0x5ff197
ror bl, cl
mov dword [0x7325f3d5], eax
stosb byte es:[edi], al
imul eax, dword [ebx + 0x3b6b0b2c], 1
add al, 0x65
mov bl, 0xed
sub esi, dword [0xfd24c78]
scasd eax, dword es:[edi]
adc eax, 0xf38ad5d3
add eax, 0x560ebc7
idiv ecx
push 0xffffffffffffffa0
xchg ebx, eax
popfd
or dword [0x61655912], edi
shr byte [eax + 0x5f], cl
popfd
xor ebx, dword [0xc3fa834b]
push 0x33f39d5f
sbb eax, 0xc3fa834b
xor ebx, dword [0xc3fa834b]
inc esp
mov cl, 0xbf
rol dword [edx - 0x5b410cdb], cl
lodsd eax, dword [esi]
jp 0x5ff201
sbb ecx, dword [ebx]
and byte [ebx + 0x32], dl
and al, byte [ebp + 0x3c]
stosd dword es:[edi], eax
add bh, cl
popfd
les esp, [ebx + esi*4 - 0x227d7cae]
test al, 0xef
jl 0x5ff1fd
mov edx, 0xc965fca5
mov al, byte [0x5730378]
out dx, al
insb byte es:[edi], dx
push edi
xor cl, dh
enter 0x67d2, 3
sub eax, 0xd44ee48b
ffree st(4)
cdq
out 0xe5, eax
leave
push ebp
imul esi, dword [eax + 0x770205b6], 0xb
arpl word [ebx], si
cmp byte [eax + 0x6b93b3d1], ch
inc ebp
aad 0x78
jno 0x5ff294
ret 0x1550
pushfd
ret
add esi, dword [eax - 0xc]
nop
push ebp
dec ebx
xchg edx, eax
jecxz 0x5ff263
in eax, 0x9d
fsubrp st(6)
lds ebp, [esi - 0x4c3e9a1b]
rcr dword [ecx - 0x641faa9a], 0x81
cld
add al, 0x73
sbb byte [0x644065b0], 0x15
jae 0x5ff301
adc eax, 0x56d44573
aam 0x56
mov edi, 0x73bfa257
and eax, 0x355752ed
xchg ebx, eax
pop edx
cmpsd dword [esi], dword es:[edi]
mov eax, 0x47d523c4
mov byte [0xed2573bf], al
push edx
push edi
xor eax, 0xb8a75a93
les esp, [ebx]
aad 0x47
add dword [edx + esi*8 - 0x1d6924a7], edx
add eax, 0xef730665
loopne 0x5ff323
mov ebp, 0xb9c5a022
xchg esi, eax
sbb edx, edi
int 0x7a
wait
invalid
call 0x33887e3c
push edx
test dword [esi + 0x7ee9c13e], esp
inc esi
mov al, 0x7c
mov byte fs:[0x75022821], al
xchg edx, eax
push ecx
and edx, dword [0x9437c43f]
mov byte [0xc3df20d5], al
jnp 0x5ff2c0
wait
add eax, 0xd96d956d
add ecx, dword [ebx]
mov bl, 0x45
mov ah, 0x10
pop ds
movsd dword es:[edi], dword [esi]
aaa
xchg ebx, eax
jne 0x5ff324
loope 0x5ff2b9
or byte [eax + 0x317efa94], 0xac
add cl, 0x2b
mov dword [0x23c38cca], eax
invalid
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x11524e7c
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7ce66531
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40a920
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x271a8c4], 0x930
jne 0x40a93d
push str.butupoxehurelelehocosohixunexa
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x271a8c4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x271a5e0], eax
jne 0x40a963
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret