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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a844]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a825
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a834
or bl, 4
test esi, 0x20000000
je 0x44a83f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450eec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450efe
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419438
mov eax, dword [0x46a7b0]
mov dword [eax + 4], ebx
mov dword [eax], 0x451290
mov eax, dword [0x46a7bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45129c
mov eax, ebx
call fcn.004512a8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411730]
call fcn.00403218
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411730]
call fcn.00403218
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411730]
call fcn.00403218
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411730]
call fcn.00403218
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411730]
call fcn.00403218
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, 0x44d6c4
push eax
push 0
push 0
mov eax, dword [0x46a908]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ae9c]
call fcn.0041c610
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ae9c]
call fcn.0041c610
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ae9c]
call fcn.0041c610
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004516c8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4515a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4515a4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4515a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45103b
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451388
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 0x451533
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451514
mov dl, 1
mov eax, dword [0x411b4c]
call fcn.00403218
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451503
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.0043f394
test al, al
je 0x4514f6
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, 0x451544
lea eax, [ebp - 0x254]
call fcn.00408c0c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4514f6
xor eax, eax
push ebp
push 0x4514ef
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 0x45157c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4514d8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
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 0x4514d8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4514f6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4513f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415628
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 0x45153a
lea eax, [ebp - 0x260]
call fcn.00403f98
ret

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

Disassembly:
push ecx
mov eax, dword [0x46bbb0]
cmp byte [eax + 0xa5], 0
jne 0x451ed9
cmp dword [0x46bbc8], 0
jne 0x451e9a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451e24
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46bbc8], eax
cmp dword [0x46bbc4], 0
jne 0x451eb5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46bbc4], eax
cmp dword [0x46bbcc], 0
jne 0x451ed9
push esp
push 0
push 0
push 0x451dc8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46bbcc], eax
pop edx
ret
Function at 0x451fd0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451fe7
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419438
mov eax, dword [0x46a8f4]
cmp word [eax + 2], 0
jne 0x45200f
mov eax, dword [0x46a8f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004536a8
mov eax, dword [0x46a9a4]
cmp word [eax + 2], 0
jne 0x452029
mov eax, dword [0x46a9a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004538a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411730]
call fcn.00403218
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411730]
call fcn.00403218
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 [0x41b97c]
call fcn.00423050
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4521b0
mov eax, dword [0x46a818]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423420
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453e50
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46a818]
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.0040c2d4
test eax, eax
je 0x45211e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408600
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c2fc
test eax, eax
je 0x452132
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.00404208
mov eax, dword [0x46a6fc]
cmp byte [eax], 0
jne 0x452166
mov eax, ebx
call fcn.004522d8
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.0045402c
mov eax, ebx
call fcn.004549f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4521a6
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452558
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46bbb0]
cmp dword [eax + 0x30], 0
je 0x452602
cmp dword [ebx + 0x94], 0
jne 0x4525fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4524e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4525fc
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 0x4525c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4525fc
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.00413a98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4525d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453164
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 0x453199
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.00404088
jmp 0x4531a6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454208
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454249
mov eax, esi
call fcn.0043a9c0
test al, al
je 0x454249
mov eax, dword [ebx + 0x84]
call fcn.0043a6bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454249
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a6bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x457910
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45793e
mov eax, ebx
call fcn.004583c4
cmp dword [ebx + 0x40], 0
je 0x457937
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4579af
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4579a1
cmp dword [ebx + 8], 0
je 0x457960
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x457972
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4579a1
cmp dword [ebx + 8], 0
je 0x457953
cmp eax, 3
je 0x457985
dec eax
jne 0x457953
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x457953
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x457953
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4579cd
cmp dword [ebx + 0x14], 0xcc
je 0x4579cd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004579d8
pop ebx
ret
Function at 0x4686f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404448
xor eax, eax
push ebp
push 0x46879a
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404458
push eax
push 0x4687a8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x46877f
mov eax, dword [0x46a988]
mov eax, dword [eax]
call fcn.00452660
push 0x10
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 8]
call fcn.0040ad04
mov eax, dword [ebp - 8]
call fcn.00404458
mov edx, eax
mov ecx, 0x4687b0
mov eax, dword [0x46a988]
mov eax, dword [eax]
call fcn.00453738
mov eax, dword [0x46a988]
mov eax, dword [eax]
call fcn.00452670
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4687a1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403fbc
ret

Function at 0x40bac4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
lea eax, [edi + 1]
push eax
push 0x40
call dword [0x40d00c]
mov esi, eax
xor ebx, ebx
mov byte [esi + edi], bl
test edi, edi
je 0x40bb18
sub dword [ebp - 4], esi
push dword [ebp - 8]
call dword [0x40d008]
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [ebp - 8]
mov cl, byte [edx + eax]
lea edx, [ebx + esi]
mov eax, dword [ebp - 4]
mov al, byte [eax + edx]
xor al, cl
inc ebx
mov byte [edx], al
cmp ebx, edi
jb 0x40baef
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop eax
add edx, 1
mov edx, edi
add edx, 0x56d371bc
call fcn.0043b68e
dec edx
add edx, 0x6df3e815
and edi, edi
xor dword [ecx], eax
and edi, edx
mov edx, 0x864e62db
mov edx, 0xf5a1d73b
inc ecx
dec edi
mov edi, 0x87339dc
cmp ecx, ebx
jne fcn.0043b64a
mov edx, edi
ret
Function at 0x5e9e5c
Capabilities:
Encode data using xor

Disassembly:
add ebx, 1
add ebx, 0x4d707111
push ebx
mov ebx, 0x4fbf3f45
add edi, 0x77ff90ea
add edi, ebx
sub edi, 0x77ff90ea
pop ebx
add edi, ebx
jmp 0x5e9dc3
mov dword [esp], 0x401f8c54
mov dword [esp], edx
jmp 0x5e9ec8
sub edi, 0x4fbf3f45
jmp 0x5e9e30
pop edx
jmp 0x5e9dd4
pop edi
jmp 0x5e9f38
mov edx, ecx
push dword [esp]
mov ecx, dword [esp]
add esp, 4
add esp, 4
add eax, edx
jmp 0x5e9dce
add ebp, 4
add ebp, 4
jmp 0x5e9e64
push eax
mov dword [esp], ebx
mov ebx, 0x5d771039
add ebx, 0x6ffaab08
jmp 0x5e9e90
xor eax, 0xfbdf79be
mov ebx, eax
pop eax
xor ebx, 0x3fa426a8
sub ebx, 0x3bfe7876
shr ebx, 8
jmp 0x5e9f05
pop ebx
add edi, 4
xor edi, dword [esp]
xor dword [esp], edi
xor edi, dword [esp]
mov esp, dword [esp]
push edi
push ecx
mov ecx, esp
add ecx, 4
sub ecx, 4
xchg dword [esp], ecx
pop esp
mov dword [esp], esi
jmp 0x5e9eb5
push ebp
mov ebp, esp
jmp 0x5e9def
xchg dword [esp], ebp
jmp 0x5e9e78
add dword [esp], 4
jmp 0x5e9e8a
pop esp
sub esp, 4
mov dword [esp], edi
sub esp, 4
jmp 0x5e9ead
pop edi
jmp 0x5e9e00
inc ebx
sub esp, 4
mov dword [esp], edi
mov edi, 0xffffffff
sub ebx, edi
pop edi
push ebp
mov ebp, 0x7ffe35b1
xor ebx, ebp
pop ebp
jmp 0x5e9d8f
mov dword [esp], esp
jmp 0x5e9e6c
mov dword [esp], ebx
mov ebx, 0x70f7573b
mov edi, 0x70f759d0
push edx
jmp 0x5e9db4
mov edx, 0x4db3e0e9
sub edi, edx
pop edx
sub edi, ebx
add edi, 0x4db3e0e9
pop ebx
sub eax, 0x77d69a42
push edi
jmp 0x5e9ee4
mov dword [esp], ebx
push eax
push 0x7ffec7d2
pop eax
jmp 0x5e9ef3
or eax, 0x761f8b47
shl eax, 5
xor eax, 0x7fd9f11d
jmp 0x5e9e14
add ebx, 0xffffffff
inc ebx
add ebx, 0x5d169999
sub eax, ebx
pop ebx
sub eax, edi
add eax, 0x5d1ef675
push edx
jmp 0x5e9f1f
push ecx
push 0x27fae3b4
pop ecx
jmp 0x5e9f2b
neg ecx
sub ecx, 0x602e820a
jmp 0x5e9dda

Function at 0x5eaf4a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5eaf65
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b018a]
pop edx
test eax, eax
je 0x5eb037
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5eb026
test dword [ebp - 0x2a8], 1
jne 0x5eb026
and dword [ebp - 0x2a8], 0x100
jne 0x5eb026
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2ee1]
pop edx
pop esi
test eax, eax
je 0x5eafc9
jmp 0x5eb026
cmp word [esi], 0x5a4d
jne 0x5eb026
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5eb026
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2e49]
pop edx
test eax, eax
je 0x5eb026
lea eax, [ebp - 0x28c]
push eax
call fcn.005eaea6
test eax, eax
jne 0x5eb01f
jmp 0x5eb026
mov eax, esi
jmp 0x5eb037
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5eaf65
pop esi
leave
ret 4
Function at 0x4a2bef
Capabilities:
Encode data using xor

Disassembly:
movsb byte es:[edi], byte [esi]
aad 0xab
ret 0xb99d
invalid
cmp eax, 0x5b862bb1
invalid
jge 0x4a2b82
out dx, eax
std
lodsd eax, dword [esi]
je 0x4a2be3
pushfd

Function at 0x4b9c52
Capabilities:
Encode data using xor

Disassembly:
sbb byte [edx + 0xd], cl
xor dword [ebx + 0x15e27eb0], eax
std
sahf
leave
and eax, 0x24b57026
xchg edi, eax
adc al, 0x29
xchg esp, eax
jl 0x4b9cdf
popal
invalid
fcomp dword [esi + eax*8 - 0x21]
sbb eax, 0x245d45e1
jo 0x4b9d1e
and al, 0x70
xor al, 0x83
leave
and al, byte [ecx + esi + 0x45e50f3f]
add cl, byte [esi]
or ecx, 0x22
test byte [ecx], dh
aas
pmulhw mm0, qword [ebp + 2]
push cs
mov eax, dword [0x44997687]
xchg edi, eax
xchg edi, eax
cld
push ebx
jno 0x4b9ce7
aas
wait
pop es
push ds
shl dword [eax - 0x5f], cl
pop ecx
pushal
in eax, dx
jmp 0xe70e94c1
lahf
jmp 0x74404a7

Function at 0x4bb6a9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33b8
cmp edx, dword [eax]
je 0x4bb6cb
add eax, 8
inc ecx
cmp eax, 0x4c3448
jl 0x4bb6bc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33b8]
jne 0x4bb7f9
mov eax, dword [0x4c8de0]
cmp eax, 1
je 0x4bb7d3
test eax, eax
jne 0x4bb6fc
cmp dword [0x4c32e0], 1
je 0x4bb7d3
cmp edx, 0xfc
je 0x4bb7f9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb733
lea eax, [ebp - 0x1a4]
push 0x4c09a8
push eax
call fcn.004bc090
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc520
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb776
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc520
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c09a4
push edi
call fcn.004be3f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0988
push eax
call fcn.004bc090
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc0a0
lea eax, [ebp - 0xa0]
push 0x4c0984
push eax
call fcn.004bc0a0
push dword [esi + 0x4c33bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc0a0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c095c
push eax
call fcn.004be364
add esp, 0x2c
pop edi
jmp 0x4bb7f9
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33bc]
push 0
push eax
push dword [esi]
call fcn.004bc520
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x65cc08c7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x308d16b2
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x421f81
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x421f81
lcall 0x5de5, 0x8b10c483
jmp fcn.007bb8b4
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str._proc
push eax
call fcn.004023d0
pop ecx
pop ecx
test eax, eax
je 0x40104a
add eax, 6
push eax
call fcn.004049cf
pop ecx
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40104a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40104d
xor eax, eax
inc eax
pop esi
ret 0x10

Function at 0x401528
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x40155d
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x40155a
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x401566
add edx, 0x28
cmp edx, esi
jne 0x401548
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x401563

Function at 0x4019d8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a17
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401a17
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401a17
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401a17
cmp dword [ecx + 0x74], 0xe
jbe 0x401a17
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408da7
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x408e44
push ebx
push esi
call fcn.00408d70
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00408d06
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408df1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408e43
push edi
push eax
call fcn.004078b0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x408e11
call fcn.004063e0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408e42
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00408d06
add esp, 0x20
test eax, eax
jne 0x408e30
push edi
call fcn.004063e0
jmp 0x408e38
push ebx
call fcn.004063e0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret