joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4269d7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x455ef0], 0
push esi
jne 0x42694a
call fcn.00426870
test eax, eax
je 0x42698d
mov eax, dword [0x455ef0]
cmp eax, 1
jne 0x42696b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42698d
pop esi
ret
push eax
call dword [0x455ef8]
test eax, eax
jne 0x4269d5
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 0x426991
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x455ef0]
call dword [0x455ef8]
mov edi, eax
test edi, edi
je 0x4269b6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4269d2
mov edi, esi
add esi, 0xff0
push edi
push dword [0x455ef0]
call dword [0x455ef4]
add edi, 0x10
cmp edi, esi
jb 0x4269be
mov eax, edi
pop edi
pop esi
ret
jmp 0x426937

Function at 0x428407
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4531a0]
jne 0x428411
repz ret
jmp fcn.0042ed5c

Function at 0x43b4a7
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.0043029a
and dword [ebp - 4], 0
cmp dword [0x456d5c], 0
mov ebx, eax
jne 0x43b558
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43b609
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43b609
push eax
call fcn.00430228
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x456d5c], eax
call esi
push eax
call fcn.00430228
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x456d60], eax
call esi
push eax
call fcn.00430228
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456d64], eax
call esi
push eax
call fcn.00430228
pop ecx
mov dword [0x456d6c], eax
test eax, eax
je 0x43b558
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00430228
pop ecx
mov dword [0x456d68], eax
mov eax, dword [0x456d68]
cmp eax, ebx
je 0x43b5b0
cmp dword [0x456d6c], ebx
je 0x43b5b0
push eax
call fcn.004302a3
push dword [0x456d6c]
mov esi, eax
call fcn.004302a3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43b5b0
test edi, edi
je 0x43b5b0
call esi
test eax, eax
je 0x43b5a7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b5a7
test byte [ebp - 0xc], 1
jne 0x43b5b0
or dword [ebp + 0x10], 0x200000
jmp 0x43b5e9
mov eax, dword [0x456d60]
cmp eax, ebx
je 0x43b5e9
push eax
call fcn.004302a3
pop ecx
test eax, eax
je 0x43b5e9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43b5e9
mov eax, dword [0x456d64]
cmp eax, ebx
je 0x43b5e9
push eax
call fcn.004302a3
pop ecx
test eax, eax
je 0x43b5e9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456d5c]
call fcn.004302a3
pop ecx
test eax, eax
je 0x43b609
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b60b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x408310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408362
test eax, edx
je 0x408365
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408325
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40834b
add ecx, 4
js 0x40833b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408348
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408371
test edx, edx
jne 0x408318
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b538
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b571
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404904
jmp 0x40b57a
mov eax, ebx
mov edx, esi
call fcn.00404868
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b584
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b5a6
movzx eax, byte [esp]
jmp 0x40b5a8
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bc38
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bab0
mov eax, dword [0x471a70]
cmp byte [eax], 0
je 0x40bcb4
mov eax, dword [0x471894]
call fcn.004031c8
call fcn.00402fac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408cb8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bcfc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bcea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47183c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4747f4]
call fcn.0040596c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c560
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c636
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048ac
lea eax, [ebp - 4]
call fcn.00404cfc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c620
mov eax, ebx
call fcn.00402e50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c619
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c603
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c648
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c603
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c620
mov eax, dword [ebp - 0x10]
call fcn.00402e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c63d
lea eax, [ebp - 4]
call fcn.00404814
ret

Function at 0x41b1bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4769e8
cmp dword [edi], 0
jne 0x41b238
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4769e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x470ad4
mov ecx, 2
call fcn.00403040
mov edx, 0x41b194
lea eax, [esi + 5]
call fcn.0041b1b4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b1b4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b20d
mov dword [0x4769e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d788
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ca4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41d7e0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x471b84]
mov dl, 1
mov eax, dword [0x41d294]
call fcn.0040bdf8
call fcn.0040425c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d39c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e63c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e642
ret
Function at 0x43113c
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.00404814
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43118a
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.00404a84
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43520c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43533f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41d2f4]
call fcn.0041d3c4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x435315
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d464
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404a84
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x435354
call fcn.00404b2c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d4c8
lea ecx, [ebp - 4]
mov edx, 0x435390
mov eax, dword [ebp - 0xc]
call fcn.0041d710
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d780
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4352f8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43539c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4714f0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4352ff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4353ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x435433
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x435416
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x435427
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x435433
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43a3fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x476c4c], 0
je 0x43a545
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x471a0c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43a545
mov eax, dword [0x476c50]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x476c4c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43a514
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x476c4c]
call fcn.00414250
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43a50c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43a50c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43a50c
mov eax, dword [ebp - 0x14]
call fcn.00444c04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43a50c
push ebp
call fcn.0043a3b8
pop ecx
test al, al
jne 0x43a50c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403bfc
test al, al
je 0x43a50c
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403bfc
cmp byte [ebp - 1], 0
je 0x43a50c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43a50c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x476c50]
call fcn.00439b28
inc edi
dec ebx
jne 0x43a461
mov eax, dword [0x476c50]
cmp dword [eax + 8], 0
jle 0x43a52c
mov eax, dword [0x476c50]
call fcn.00439be0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43a545
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043a21c
pop ecx
test al, al
jne 0x43a545
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441b00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406634
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043c784
test ebx, ebx
jne 0x441b53
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00441a3c
mov ebx, eax
test ebx, ebx
je 0x441c3e
cmp esi, ebx
je 0x441b7c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x441b91
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x441bc9
add eax, 0xffffff5f
sub eax, 2
jb 0x441be1
dec eax
sub eax, 2
jb 0x441bf5
dec eax
sub eax, 2
jb 0x441beb
jmp 0x441bff
add eax, 0xfffffdff
sub eax, 2
jb 0x441be1
dec eax
sub eax, 2
jb 0x441bf5
dec eax
sub eax, 2
jb 0x441beb
jmp 0x441bff
mov byte [esp + 0x120], 0
jmp 0x441c07
mov byte [esp + 0x120], 2
jmp 0x441c07
mov byte [esp + 0x120], 1
jmp 0x441c07
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044fae8
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043df5c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x441c40
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x449f94
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x471b78]
cmp byte [eax + 0xc], 0
je 0x44a101
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a0fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x476c5c], 0
jne 0x449fe8
push 0x44a108
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44a110
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c5c], eax
cmp dword [0x471634], 0
jne 0x44a0e3
push 0x44a120
call sub.kernel32.dll_LoadLibraryA
mov dword [0x471634], eax
cmp dword [0x471634], 0
je 0x44a0e3
push 0x44a12c
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c60], eax
push 0x44a13c
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c64], eax
push 0x44a150
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c68], eax
push 0x44a168
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c6c], eax
push 0x44a180
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c70], eax
push 0x44a194
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c74], eax
push 0x44a1ac
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c78], eax
push 0x44a1c4
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c7c], eax
push 0x44a1e0
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c80], eax
push 0x44a1ec
mov eax, dword [0x471634]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476c84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a101
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f630
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x476c94]
cmp esi, dword [eax + 0x30]
jne 0x44f657
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x44f686
mov eax, dword [0x476c94]
cmp esi, dword [eax + 0x30]
jne 0x44f682
mov eax, dword [0x476c94]
cmp byte [eax + 0x5b], 0
jne 0x44f686
xor eax, eax
jmp 0x44f688
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x44f69d
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x44f6b4
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x44f6c3
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x44f6d2
test bl, bl
je 0x44f6e8
test bl, bl
je 0x44f6e0
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x44f6e8
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x44f98c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x44f9b2
mov eax, esp
push eax
push 0x44f954
call sub.user32.dll_EnumWindows
jmp 0x44f9c5
mov eax, esp
push eax
push 0x44f934
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x44fa50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44faa4]
test si, 4
je 0x44fa65
or bl, 1
test si, 8
je 0x44fa6f
or bl, 4
test si, 1
je 0x44fa79
or bl, 8
test si, 2
je 0x44fa83
or bl, 0x10
test si, 0x10
je 0x44fa8d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fa9c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44faa8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44fae4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fac2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fad1
or bl, 4
test esi, 0x20000000
je 0x44fadc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret