joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a9f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40aa46
test eax, edx
je 0x40aa49
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40aa09
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 0x40aa2f
add ecx, 4
js 0x40aa1f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40aa2c
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 0x40aa55
test edx, edx
jne 0x40a9fc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b24c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004051a0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40b265
test al, 0x10
je 0x40b269
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40dd60
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 0x40dd99
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e00
jmp 0x40dda2
mov eax, ebx
mov edx, esi
call fcn.00404d64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ddac
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 0x40ddce
movzx eax, byte [esp]
jmp 0x40ddd0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e460
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e2d8
mov eax, dword [0x46856c]
cmp byte [eax], 0
je 0x40e4dc
mov eax, dword [0x46838c]
call fcn.004035b8
call fcn.00403230
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.0040b4a8
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 0x40e524
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e512
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x468334]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46b7f8]
call fcn.004063a4
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 0x40edd0
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 0x40eea6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404da8
lea eax, [ebp - 4]
call fcn.004051f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004051a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ee90
mov eax, ebx
call fcn.00403064
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ee89
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.004051a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ee73
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40eeb8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ee73
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 0x40ee90
mov eax, dword [ebp - 0x10]
call fcn.00403080
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eead
lea eax, [ebp - 4]
call fcn.00404d10
ret

Function at 0x420b10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46fc28
cmp dword [edi], 0
jne 0x420b8c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46fc24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x467208
mov ecx, 2
call fcn.004032c4
mov edx, 0x420ae8
lea eax, [esi + 5]
call fcn.00420b08
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420b08
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 0x420b61
mov dword [0x46fc24], 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 0x42b0fc
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x467440]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x42b134
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x42b14c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x42b145
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.0040372c
xor edx, edx
mov eax, 0x467640
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x42b1b3
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x42b16a
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x42b3f4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x42b40d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x42b406
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x42b41f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x42b418
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0042afec
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x42b439
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0042b0fc
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x42b4c1
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x42b4df
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0042b07c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x42b509
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42b520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x42b539
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x42b532
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x42b54d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0042aeec
test bl, bl
jne 0x42b627
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x46fc40
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x42b585
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x42b59a
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0042b3f4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x42b5cd
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x42b57a
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x42b5f1
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x42b603
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x42b618
jmp 0x42b6e8
cmp bl, 1
jne 0x42b6e8
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x46fc9a
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x42b647
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x42b65c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0042b3f4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x42b68f
sub ebx, 6
inc dword [ebp - 8]
jne 0x42b63c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x42b6b7
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x42b6c9
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x42b6de
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0042af6c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x42dc10
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.004051a0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42dc68
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x468690]
mov dl, 1
mov eax, dword [0x42d71c]
call fcn.0040e620
call fcn.00404758
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042d824
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 0x42eac4
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 0x42eaca
ret
Function at 0x4397ac
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.00404d10
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4397fa
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.00404f80
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d87c
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 0x43d9af
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 [0x42d77c]
call fcn.0042d84c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43d985
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042d8ec
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404f80
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x43d9c4
call fcn.00405028
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042d950
lea ecx, [ebp - 4]
mov edx, 0x43da00
mov eax, dword [ebp - 0xc]
call fcn.0042db98
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040fff0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43d968
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43da0c
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 [0x467fe4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d96f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x43da5c
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 0x43daa3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43da86
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43da97
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43daa3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x442594
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 [0x46fefc], 0
je 0x4426dd
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x468508]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4426dd
mov eax, dword [0x46ff00]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46fefc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4426ac
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46fefc]
call fcn.00419b50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4426a4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x4426a4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4426a4
mov eax, dword [ebp - 0x14]
call fcn.0044cb40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4426a4
push ebp
call fcn.00442550
pop ecx
test al, al
jne 0x4426a4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004040f8
test al, al
je 0x4426a4
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.004040f8
cmp byte [ebp - 1], 0
je 0x4426a4
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4426a4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46ff00]
call fcn.00441cc0
inc edi
dec ebx
jne 0x4425f9
mov eax, dword [0x46ff00]
cmp dword [eax + 8], 0
jle 0x4426c4
mov eax, dword [0x46ff00]
call fcn.00441d78
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4426dd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004423b4
pop ecx
test al, al
jne 0x4426dd
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 0x449a3c
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.0040706c
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.0044491c
test ebx, ebx
jne 0x449a8f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00449978
mov ebx, eax
test ebx, ebx
je 0x449b7a
cmp esi, ebx
je 0x449ab8
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 0x449acd
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 0x449b05
add eax, 0xffffff5f
sub eax, 2
jb 0x449b1d
dec eax
sub eax, 2
jb 0x449b31
dec eax
sub eax, 2
jb 0x449b27
jmp 0x449b3b
add eax, 0xfffffdff
sub eax, 2
jb 0x449b1d
dec eax
sub eax, 2
jb 0x449b31
dec eax
sub eax, 2
jb 0x449b27
jmp 0x449b3b
mov byte [esp + 0x120], 0
jmp 0x449b43
mov byte [esp + 0x120], 2
jmp 0x449b43
mov byte [esp + 0x120], 1
jmp 0x449b43
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00457700
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00446094
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x449b7c
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x451c30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x468684]
cmp byte [eax + 0xc], 0
je 0x451d9d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451d96
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46ff0c], 0
jne 0x451c84
push 0x451da4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x451dac
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff0c], eax
cmp dword [0x468128], 0
jne 0x451d7f
push 0x451dbc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x468128], eax
cmp dword [0x468128], 0
je 0x451d7f
push 0x451dc8
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff10], eax
push 0x451dd8
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff14], eax
push 0x451dec
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff18], eax
push 0x451e04
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff1c], eax
push 0x451e1c
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff20], eax
push 0x451e30
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff24], eax
push 0x451e48
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff28], eax
push 0x451e60
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff2c], eax
push 0x451e7c
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff30], eax
push 0x451e88
mov eax, dword [0x468128]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ff34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451d9d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x457248
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 [0x46ff44]
cmp esi, dword [eax + 0x30]
jne 0x45726f
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 0x45729e
mov eax, dword [0x46ff44]
cmp esi, dword [eax + 0x30]
jne 0x45729a
mov eax, dword [0x46ff44]
cmp byte [eax + 0x5b], 0
jne 0x45729e
xor eax, eax
jmp 0x4572a0
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x4572b5
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x4572cc
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4572db
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 0x4572ea
test bl, bl
je 0x457300
test bl, bl
je 0x4572f8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x457300
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4575a4
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 0x4575ca
mov eax, esp
push eax
push 0x45756c
call sub.user32.dll_EnumWindows
jmp 0x4575dd
mov eax, esp
push eax
push 0x45754c
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 0x457668
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4576bc]
test si, 4
je 0x45767d
or bl, 1
test si, 8
je 0x457687
or bl, 4
test si, 1
je 0x457691
or bl, 8
test si, 2
je 0x45769b
or bl, 0x10
test si, 0x10
je 0x4576a5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4576b4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4576c0
Capabilities:
Log keystrokes via polling

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