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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, esp
mov ebx, dword [ebp + 8]
push eax
mov dword [esi + 4], esp
push eax
mov dword [esi + 0x14], esp
sub esp, 0x10
mov dword [esi + 0x10], esp
push eax
mov dword [esi + 8], esp
push eax
mov dword [esi + 0xc], esp
mov dword [esi + 0x18], 0xa3cda1f9
mov dword [esi + 0x1c], 0xdf51dd29
mov dword [esi + 0x20], 0xdb47d952
mov dword [esi + 0x24], 0xd7a8d54d
mov dword [esi + 0x28], 0xd34bd144
mov dword [esi + 0x2c], 0xcf53cd5c
mov dword [esi + 0x30], 0xcbc8c991
lea edx, [esi + 0x34]
mov dword [esi + 0x34], 0
mov word [esi + 0x38], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 0x21
ja 0x4330fd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi]
mov eax, dword [esi]
movzx edi, byte [esi + eax + 0x18]
add ecx, 0x8c7a4a3b
mov eax, ecx
and eax, edi
xor ecx, edi
lea ecx, [ecx + eax*2]
add eax, eax
mov edi, ecx
xor edi, eax
not eax
and eax, ecx
add eax, eax
sub eax, edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
add al, 0x63
mov ecx, dword [esi]
mov byte [esi + ecx + 0x18], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 0x22
jb 0x4330c0
lea edi, [esi + 0x40]
lea eax, [esi + 0x18]
mov ecx, 7
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esi + 0x5c]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
push dword [esi + 4]
push 8
lea eax, [esi + 0x18]
push eax
push 0xd
lea eax, [esi + 0x40]
push eax
push 0
call dword [0x446380]
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x44444c]
mov ecx, 0xf72f96b6
xor ecx, dword [0x444454]
add eax, ecx
inc eax
jmp eax
Function at 0x437c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov edi, dword [ebp + 8]
movzx eax, word [edi]
mov dword [esp + 0x28], 0x3b384379
mov dword [esp + 0x2c], 0
mov word [esp + 0x30], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 9
ja 0x437c99
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x28]
lea esi, [ecx + edx]
add esi, 0x8128a327
add ecx, 0x27
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, esi
not ecx
and ecx, esi
add ecx, ecx
sub ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
add cl, 0xef
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x28], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xa
jb 0x437c50
xor ecx, ecx
cmp dword [esp + 0x28], eax
setne cl
mov eax, dword [ecx*4 + 0x445250]
mov ecx, 0xc06a65e4
xor ecx, dword [0x445258]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx

Function at 0x438670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 0x10], 0x33343566
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x4386ef
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xd5af9fa9
mov edx, eax
and edx, ecx
mov esi, eax
xor esi, ecx
or eax, ecx
xor eax, esi
lea ecx, [esi + edx*2]
add eax, edx
sub ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
add al, 0x61
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x4386b0
mov eax, dword [esp + 0x10]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
jmp dword [ecx*4 + 0x445be4]
mov edx, dword [eax + 0xc]
add edx, 0xc
mov edi, dword [case.0x4386ff.4]
mov ebx, dword [edx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
jmp case.0x4386ff.2
jmp dword [esi*4 + 0x445c14]
mov ebx, dword [ebx]
nop
nop
nop
nop
nop
jmp edi
xor eax, eax
cmp ebx, edx
setne al
jmp dword [eax*4 + 0x445bfc]
mov ecx, dword [ebx + 0x30]
xor eax, eax
test ecx, ecx
setne al
mov esi, 1
jmp dword [eax*4 + 0x445c04]
mov edx, dword [ebp + 8]
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [edx]
movzx esi, word [ecx]
test ax, ax
je 0x438776
add edx, 2
add ecx, 2
cmp ax, si
je 0x438760
xor ecx, ecx
cmp ax, si
sete cl
mov edx, dword [esp + 8]
mov esi, 1
jmp dword [ecx*4 + 0x445c0c]
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
xor eax, eax
jmp dword [eax*4 + 0x445c14]
mov eax, dword [0x445c24]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
mov eax, dword [eax + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4389d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x23222d1c
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x438a62
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0xa6]
and edx, ecx
mov esi, 0xca3e5b59
sub esi, eax
or esi, ecx
not esi
add esi, ecx
sub esi, edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
add al, 0x76
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
mov eax, dword [esp + 4]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x438a10
mov eax, dword [esp + 0x10]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
jmp dword [ecx*4 + 0x445c74]
mov edx, dword [eax + 0xc]
add edx, 0xc
mov edi, dword [0x445c9c]
xor eax, eax
mov esi, dword [edx]
xor ecx, ecx
mov dword [esp + 8], edx
cmp esi, edx
setne cl
mov ebx, dword [0x445cbc]
jmp dword [ecx*4 + 0x445c7c]
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0xc]
add edx, 0xc
xor eax, eax
mov esi, dword [edx]
xor ecx, ecx
mov dword [esp + 8], edx
cmp esi, edx
setne cl
mov edi, dword [0x445c9c]
mov ebx, dword [0x445cbc]
jmp dword [ecx*4 + 0x445c7c]
jmp edi
jmp dword [0x445c8c]
mov ecx, dword [0x445cd0]
nop
nop
nop
nop
jmp ecx

Function at 0x438b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 0x10], 0x73726d1c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x438bc5
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add edx, 0xb07486ce
add eax, 0xce
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x5e
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x438b80
mov eax, dword [esp + 0x10]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
jmp dword [ecx*4 + 0x445cd4]
mov eax, dword [eax + 0xc]
add eax, 0xc
mov esi, dword [case.0x438bd5.11]
mov dword [esp + 4], 0
mov edi, dword [eax]
xor edx, edx
mov dword [esp + 8], eax
cmp edi, eax
setne dl
mov ebx, dword [0x445d14]
mov ecx, dword [0x445d28]
jmp dword [edx*4 + 0x445cdc]
jmp esi
xor edx, edx
mov eax, dword [ebp + 8]
cmp dword [edi + 0x18], eax
sete dl
jmp dword [edx*4 + 0x445d04]
mov edx, 1
jmp ecx
mov eax, dword [case.0x438bd5.7]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
mov eax, dword [0x445d3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x438ca0
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov edi, dword [ebp + 8]
movzx eax, word [edi]
mov dword [esp + 8], 0xb0a6b59
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xc
ja 0x438d1b
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov esi, ecx
and esi, 0x287f6d02
xor ecx, 0xa87f6d02
lea ecx, [ecx + esi*2]
xor ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0xf2
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xd
jb 0x438ce0
mov ecx, dword [esp + 8]
xor edx, edx
cmp ecx, eax
setne dl
xor eax, eax
jmp dword [edx*4 + 0x445d44]
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + ecx]
mov dword [esp + 8], 0xfbf83eb6
mov dword [esp + 0xc], 0
mov word [esp + 0x10], 0
mov dword [esp], 0
mov esi, dword [esp]
cmp esi, 9
ja 0x438da2
nop
nop
nop
nop
nop
mov esi, dword [esp]
mov edi, dword [esp]
movzx edi, byte [esp + edi + 8]
mov ebx, esi
and ebx, 0x1ea42fff
xor esi, 0x9ea42fff
lea esi, [esi + ebx*2]
lea ebx, [esi + edi]
and esi, edi
add esi, esi
sub ebx, esi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
add bl, 7
mov esi, dword [esp]
mov byte [esp + esi + 8], bl
inc dword [esp]
mov esi, dword [esp]
cmp esi, 0xa
jb 0x438d60
xor ebx, ebx
cmp edx, dword [esp + 8]
setne bl
mov edi, dword [ebp + 8]
jmp dword [ebx*4 + 0x445d4c]
mov edx, dword [edi + ecx + 0x7c]
xor eax, eax
test edx, edx
sete al
jmp dword [eax*4 + 0x445d54]
mov ecx, dword [edi + ecx + 0x78]
xor eax, eax
test ecx, ecx
sete al
jmp dword [eax*4 + 0x445d5c]
mov dword [esp + 0x20], edx
mov eax, dword [edi + ecx + 0x20]
add eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [edi + ecx + 0x24]
add eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [edi + ecx + 0x1c]
add eax, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + ecx + 0x18]
xor edx, edx
xor eax, eax
mov dword [esp + 0x34], ecx
cmp edx, ecx
setb al
mov esi, dword [0x445da0]
mov ecx, 1
jmp dword [eax*4 + 0x445d74]
xor eax, eax
jmp dword [0x445d6c]
jmp dword [ecx*4 + 0x445da4]
mov ecx, dword [case.0x438dae.1]
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4281ac
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4280f8
call sub.user32.dll_EnumWindows
ret

Function at 0x4282cc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x428349
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427d2c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4282f1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042792c
cmp dword [ebp - 4], 0
je 0x428333
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428350
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x42b068
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 [0x451b54], 0
je 0x42b1b7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44ffc0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42b1b7
mov eax, dword [0x451b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x451b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42b186
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x451b54]
call fcn.00413b84
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b17e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42b17e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42b17e
mov eax, dword [ebp - 0x14]
call fcn.00433ca4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b17e
push ebp
call fcn.0042b024
pop ecx
test al, al
jne 0x42b17e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42b13a
mov eax, dword [ebp - 0x14]
call fcn.004327d4
dec eax
jle 0x42b17e
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, 0xffbd
call fcn.00403674
cmp byte [ebp - 1], 0
je 0x42b17e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42b17e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x451b58]
call fcn.0042a7f0
inc edi
dec ebx
jne 0x42b0cd
mov eax, dword [0x451b58]
cmp dword [eax + 8], 0
jle 0x42b19e
mov eax, dword [0x451b58]
call fcn.0042a880
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b1b7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ae8c
pop ecx
test al, al
jne 0x42b1b7
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 0x42e77c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42e7c8
mov eax, esi
call fcn.00443d50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e7c8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42e7c8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42e907
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42e808
cmp eax, 0x108
ja 0x42e808
mov eax, esi
call fcn.00443d50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e8fe
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42e907
jmp 0x42e8fe
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42e8e7
cmp eax, 0x20a
ja 0x42e8e7
test byte [esi + 0x50], 0x80
jne 0x42e83a
sub eax, 0x203
je 0x42e837
sub eax, 3
je 0x42e837
sub eax, 3
jne 0x42e83a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42e84e
dec eax
je 0x42e863
dec eax
je 0x42e880
dec eax
je 0x42e863
jmp 0x42e887
mov ecx, ebx
mov eax, dword [0x44ffc0]
mov eax, dword [eax]
mov edx, esi
call fcn.0044d618
jmp 0x42e8fe
cmp byte [esi + 0x5d], 1
jne 0x42e879
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x42e907
or word [esi + 0x54], 1
jmp 0x42e8fe
and word [esi + 0x54], 0xfffe
jmp 0x42e8fe
mov eax, dword [0x451b10]
cmp byte [eax + 0x20], 0
je 0x42e8fe
mov eax, dword [0x451b10]
cmp dword [eax + 0x1c], 0
je 0x42e8fe
mov eax, dword [ebx]
mov edx, dword [0x451b10]
cmp eax, dword [edx + 0x1c]
jne 0x42e8fe
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00443c94
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403674
jmp 0x42e907
cmp eax, 0xb00b
jne 0x42e8fe
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042d0b8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431e34
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 + 0x1f8], 0
je 0x431e50
cmp dword [esi + 4], 0
je 0x431e7d
test byte [ebx + 0x55], 1
jne 0x431e6f
mov eax, ebx
call fcn.004309d4
test eax, eax
jne 0x431e6f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431f8d
mov edx, esi
mov eax, ebx
call fcn.00431958
jmp 0x431f8d
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 0x431f86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433ca4
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.0042e6b0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431e34
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.00433ca4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431f8d
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 0x438414
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x450120]
cmp byte [eax + 0xc], 0
je 0x438581
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43857a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x451b64], 0
jne 0x438468
push 0x438588
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x438590
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b64], eax
cmp dword [0x44fb08], 0
jne 0x438563
push 0x4385a0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44fb08], eax
cmp dword [0x44fb08], 0
je 0x438563
push 0x4385ac
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b68], eax
push 0x4385bc
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b6c], eax
push 0x4385d0
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b70], eax
push 0x4385e8
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b74], eax
push 0x438600
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b78], eax
push 0x438614
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b7c], eax
push 0x43862c
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b80], eax
push 0x438644
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b84], eax
push 0x438660
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b88], eax
push 0x43866c
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438581
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43c40c
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.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c45b
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.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443c04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443c54]
test si, 4
je 0x443c18
or bl, 1
test si, 8
je 0x443c22
or bl, 4
test si, 1
je 0x443c2c
or bl, 8
test si, 2
je 0x443c36
or bl, 0x10
test si, 0x10
je 0x443c40
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443c4f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x443c58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443c90]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443c71
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443c80
or bl, 4
test esi, 0x20000000
je 0x443c8b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44a354
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44a366
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419524
mov eax, dword [0x44fdfc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a6f8
mov eax, dword [0x44fe08]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a704
mov eax, ebx
call fcn.0044a710
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
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, 0x446b28
push eax
push 0
push 0
mov eax, dword [0x44ff48]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044ab60
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44aa28
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44aa28
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44aa28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a4a3
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret