joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
and eax, 0xff
imul eax, eax, 0x1010101
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
xor eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x40
jne 0x432f25
mov esp, ebp
pop ebp
ret

Function at 0x432f48
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov edx, 0x580514
lea eax, [ebp - 0x108]
call fcn.00432f00
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x18]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
movzx eax, byte [eax + 0x580514]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x580714]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x432f7b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
mov edx, 0x580614
lea eax, [ebp - 0x108]
call fcn.00432f00
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x17]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
movzx eax, byte [eax + 0x580514]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x580b14]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4 + 0x400], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x432fdc
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
mov edx, 0x580514
lea eax, [ebp - 0x108]
call fcn.00432f00
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x16]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
movzx eax, byte [eax + 0x580614]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x580f14]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4 + 0x800], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x433041
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
mov edx, 0x580614
lea eax, [ebp - 0x108]
call fcn.00432f00
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x15]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
movzx eax, byte [eax + 0x580614]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + str.9g]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4 + 0xc00], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x4330a6
mov esp, ebp
pop ebp
ret
Function at 0x4330e4
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov edx, 0x580614
lea eax, [ebp - 0x10c]
call fcn.00432f00
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x14]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x10c]
movzx eax, byte [eax + 0x580514]
xor eax, dword [ebp - 8]
movzx eax, byte [eax + 0x580514]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x580714]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x100
jne 0x433121
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 8
mov edx, 0x580614
lea eax, [ebp - 0x10c]
call fcn.00432f00
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x17]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x13]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x10c]
movzx eax, byte [eax + 0x580614]
xor eax, dword [ebp - 8]
movzx eax, byte [eax + 0x580514]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x580b14]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x400], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x100
jne 0x433196
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x10
mov edx, 0x580514
lea eax, [ebp - 0x10c]
call fcn.00432f00
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x16]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x12]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x10c]
movzx eax, byte [eax + 0x580514]
xor eax, dword [ebp - 8]
movzx eax, byte [eax + 0x580614]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x580f14]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x800], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x100
jne 0x43320f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x18
mov edx, 0x580514
lea eax, [ebp - 0x10c]
call fcn.00432f00
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x15]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x11]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x10c]
movzx eax, byte [eax + 0x580614]
xor eax, dword [ebp - 8]
movzx eax, byte [eax + 0x580614]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + str.9g]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0xc00], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x100
jne 0x433288
mov esp, ebp
pop ebp
ret
Function at 0x449258
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4492cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004052ec
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040a468
mov eax, dword [ebp - 4]
call fcn.00449198
test al, al
je 0x44929f
mov byte [ebp - 5], 1
jmp 0x4492b4
mov eax, dword [ebp - 0xc]
call fcn.00405528
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4492d6
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405088
ret

Function at 0x449fa0
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x449fc3
and ecx, ecx
jle 0x449fc3
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x449fc9]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x449fb3
pop edi
pop ebx
ret

Function at 0x455bb8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x455c79
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x113]
mov edx, 0x455c8c
call fcn.0040a7a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor edx, edx
call fcn.00405b80
je 0x455c20
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.004052ec
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x108]
call fcn.0040a7a0
jmp 0x455c31
lea eax, [ebp - 0x108]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x113]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x218]
mov ecx, 0x105
call fcn.00405a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455c80
lea eax, [ebp - 0x21c]
call fcn.00405064
ret

Function at 0x45b58c
Capabilities:
Get disk information

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x105
call fcn.004057b4
push 0
push 0
lea eax, [esp + 8]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x45b5dc
call sub.kernel32.dll_GetVolumeInformationA
call fcn.0042236c
mov eax, dword [esp + 4]
xor edx, edx
push edx
push eax
mov edx, ebx
mov eax, 8
call fcn.00409e78
pop ecx
pop edx
pop ebx
ret

Function at 0x45d09c
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 0x45d0a2
ret
Function at 0x468b10
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.00405064
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x468b5e
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.004052d4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46cbe0
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 0x46cd13
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 [0x4243d8]
call fcn.004244d8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46cce9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004245b4
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004052d4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x46cd28
call fcn.00405374
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00424740
lea ecx, [ebp - 4]
mov edx, 0x46cd64
mov eax, dword [ebp - 0xc]
call fcn.00424ba0
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040fc58
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x46cccc
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x46cd70
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 [0x588dac]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ccd3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x46cdc0
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 0x46ce07
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46cdea
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46cdfb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x46ce07
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4718f8
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 [0x58f724], 0
je 0x471a41
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x58938c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x471a41
mov eax, dword [0x58f728]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x58f724]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x471a10
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x58f724]
call fcn.0041ae48
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x471a08
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x471a08
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x471a08
mov eax, dword [ebp - 0x14]
call fcn.0047bb50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x471a08
push ebp
call fcn.004718b4
pop ecx
test al, al
jne 0x471a08
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404430
test al, al
je 0x471a08
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.00404430
cmp byte [ebp - 1], 0
je 0x471a08
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x471a08
mov edx, dword [ebp - 0x14]
mov eax, dword [0x58f728]
call fcn.00471024
inc edi
dec ebx
jne 0x47195d
mov eax, dword [0x58f728]
cmp dword [eax + 8], 0
jle 0x471a28
mov eax, dword [0x58f728]
call fcn.004710dc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x471a41
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00471718
pop ecx
test al, al
jne 0x471a41
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 0x478d20
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.00407508
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.00473c80
test ebx, ebx
jne 0x478d73
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00478c5c
mov ebx, eax
test ebx, ebx
je 0x478e5e
cmp esi, ebx
je 0x478d9c
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 0x478db1
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 0x478de9
add eax, 0xffffff5f
sub eax, 2
jb 0x478e01
dec eax
sub eax, 2
jb 0x478e15
dec eax
sub eax, 2
jb 0x478e0b
jmp 0x478e1f
add eax, 0xfffffdff
sub eax, 2
jb 0x478e01
dec eax
sub eax, 2
jb 0x478e15
dec eax
sub eax, 2
jb 0x478e0b
jmp 0x478e1f
mov byte [esp + 0x120], 0
jmp 0x478e27
mov byte [esp + 0x120], 2
jmp 0x478e27
mov byte [esp + 0x120], 1
jmp 0x478e27
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00483a94
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004753c8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x478e60
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x479af8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x479b14
cmp dword [esi + 4], 0
je 0x479b41
test byte [ebx + 0x55], 1
jne 0x479b33
mov eax, ebx
call fcn.00477f20
test eax, eax
jne 0x479b33
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x479c51
mov edx, esi
mov eax, ebx
call fcn.00479500
jmp 0x479c51
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x479c4a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0047bb50
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004753c8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00479af8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0047bb50
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479c51
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480c34
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x58952c]
cmp byte [eax + 0xc], 0
je 0x480da1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480d9a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x58f734], 0
jne 0x480c88
push 0x480da8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x480db0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f734], eax
cmp dword [0x588ef0], 0
jne 0x480d83
push 0x480dc0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x588ef0], eax
cmp dword [0x588ef0], 0
je 0x480d83
push 0x480dcc
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f738], eax
push 0x480ddc
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f73c], eax
push 0x480df0
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f740], eax
push 0x480e08
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f744], eax
push 0x480e20
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f748], eax
push 0x480e34
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f74c], eax
push 0x480e4c
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f750], eax
push 0x480e64
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f754], eax
push 0x480e80
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f758], eax
push 0x480e8c
mov eax, dword [0x588ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x58f75c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480da1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4839fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x483a50]
test si, 4
je 0x483a11
or bl, 1
test si, 8
je 0x483a1b
or bl, 4
test si, 1
je 0x483a25
or bl, 8
test si, 2
je 0x483a2f
or bl, 0x10
test si, 0x10
je 0x483a39
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x483a48
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x483a54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x483a90]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x483a6e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x483a7d
or bl, 4
test esi, 0x20000000
je 0x483a88
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x48b1d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48b1e6
add esp, 0xfffffff0
call fcn.00404540
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421040
mov eax, dword [0x589194]
mov dword [eax + 4], ebx
mov dword [eax], 0x48b578
mov eax, dword [0x5891a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x48b584
mov eax, ebx
call fcn.0048b590
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418a9c]
call fcn.00404204
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418a9c]
call fcn.00404204
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418a9c]
call fcn.00404204
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418a9c]
call fcn.00404204
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418a9c]
call fcn.00404204
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, 0x487028
push eax
push 0
push 0
mov eax, dword [0x589314]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x45c6fc]
call fcn.0045dc1c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x45c6fc]
call fcn.0045dc1c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x45c6fc]
call fcn.0045dc1c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048b9c0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b890
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b890
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b890
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48b323
call fcn.00404598
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret