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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x47bd16
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.0047b699
mov ecx, ebx
call fcn.0047bc3d
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x47bd6c
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x47bd31
cmp dword [ebp + 0xc], 0x79
je 0x47bd2c
cmp dword [ebp + 0xc], 0x12
jne 0x47bd6c
xor eax, eax
inc eax
jmp 0x47bd6c
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x47bd71
cmp esi, 0x79
je 0x47bd71
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x586dac], 0
jne 0x47bd68
test byte [ebx + 0x2f4], 2
jne 0x47bd68
cmp esi, 0x12
je 0x47bd95
cmp esi, 0x79
jne 0x47bd68
test edi, edi
jne 0x47bd68
test eax, eax
jne 0x47bd68
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0041186c
cmp eax, ebx
jne 0x47bdb8
test dword [ebp + 0x10], 0x40000000
jne 0x47bdb8
cmp esi, 0x79
jne 0x47bdc6
mov ecx, dword [ebp + 8]
jmp 0x47bdbf
cmp esi, 0x79
jne 0x47bdc6
mov ecx, ebx
call fcn.00414fe9
jmp 0x47bde1
cmp dword [ebx + 0x2a0], 0
jge 0x47bde1
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x47bd6a
Function at 0x48718d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, 0x104
cmp eax, ecx
ja 0x4872e7
je 0x48730d
cmp eax, 0xa1
jb 0x487339
cmp eax, 0xa2
jbe 0x48730d
cmp eax, 0xa3
jbe 0x487339
cmp eax, 0xa5
jbe 0x48730d
cmp eax, 0xa6
jbe 0x487339
cmp eax, 0xa8
jbe 0x48730d
cmp eax, 0x100
jne 0x487339
cmp dword [esi + 0x80], 0xffffffff
je 0x48730d
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x48730d
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x4872b3
dec eax
jne 0x48730d
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x4872ab
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x48726c
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x487244
jmp 0x4872ab
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x1e4], 1
call dword [eax + 0x1ec]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
mov ecx, eax
call fcn.00414fe9
push dword [esi + 0x80]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x248]
and dword [esi + 0x1e4], 0
xor eax, eax
inc eax
jmp 0x487341
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x4872ab
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x48726c
dec edi
cmp edi, dword [esi + 0x80]
jg 0x4872c4
jmp 0x4872ab
cmp eax, 0x200
jb 0x487339
cmp eax, 0x202
jbe 0x48730d
cmp eax, 0x203
jbe 0x487339
cmp eax, 0x205
jbe 0x48730d
add eax, 0xfffffdf9
cmp eax, 1
ja 0x487339
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x487323
cmp dword [ecx + 0x20], 0
je 0x487323
push edi
call fcn.00427dc1
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x487339
cmp dword [ecx + 0x20], 0
je 0x487339
push edi
call fcn.00427dc1
push edi
mov ecx, esi
call fcn.004a15cf
pop edi
pop esi
pop ebp
ret 4
Function at 0x48ba3c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x48ba5e
or eax, 0xffffffff
jmp 0x48ba63
mov eax, dword [0x57c10c]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x57d61c
call fcn.004177ab
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x48bb00
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x48bb00
cmp edi, ebx
je 0x48bab5
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x57dda0
call fcn.004177ab
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x48bb09
test ebx, ebx
je 0x48baec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x48bb00
cmp dword [ebp - 4], 0
je 0x48baec
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x48bb02
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x48bb00
test edi, edi
je 0x48bb00
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x48bb00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x48bb00
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x48bb02
Function at 0x48f3d6
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x5870f4], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x48f405
or dword [0x5870f4], 1
mov ecx, 0x5870f0
call fcn.004040b0
push 0x530f85
call fcn.00507c67
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x48f411
call fcn.00417572
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x48f48a
cmp dword [eax + 0x20], 0
je 0x48f48a
test eax, eax
je 0x48f428
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x48f48a
mov eax, dword [edi + 4]
dec eax
je 0x48f469
dec eax
je 0x48f43f
dec eax
jne 0x48f48a
mov esi, 0x428e
jmp 0x48f46e
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x48f46e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x48f46e
add esi, 3
jmp 0x48f46e
mov esi, 0x3ea0
push esi
mov ecx, 0x5870f0
call fcn.004047a0
test eax, eax
je 0x48f40c
mov eax, dword [0x5870f0]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x48f48c
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x48fe4e
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x48fece
cmp dword [ebp + 0xc], ecx
jne 0x48fece
cmp dword [ebx + 0x94], ecx
jne 0x48fece
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x48fec4
cmp eax, 0xffffffff
je 0x48fec4
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.0040f5be
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x48fece
xor eax, eax
jmp 0x49000e
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x48ff09
cmp dword [ebp + 0xc], 0
jne 0x48ff09
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.0040f5be
test eax, eax
jne 0x48febd
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x48ff2f
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x48ff2f
cmp eax, 0xffffffff
je 0x48ff2f
cmp dword [ebx + 0x90], ecx
jne 0x48ff2f
cmp dword [ebx + 0xa8], ecx
je 0x48febd
push dword [ebx + 0x6c]
push 0x57d4b0
call fcn.004177ab
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x48ff68
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x48ffce
push edi
jmp 0x48ffc9
push dword [ebx + 0x6c]
push 0x57d0f0
call fcn.004177ab
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x48ff94
cmp eax, edi
je 0x48ff94
cmp dword [0x5857bc], edi
jne 0x48ff94
push 1
push ebx
mov ecx, eax
call fcn.004787e2
jmp 0x48ffc1
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48ffac
push edi
call fcn.0042738e
cmp eax, edi
je 0x48ffac
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x48febd
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48ffce
push ebx
call fcn.00429fae
cmp dword [ebx + 0x6c], edi
je 0x49000b
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041a0a2
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4a46dd
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x52a4ac
call fcn.00508474
xor edi, edi
cmp dword [0x57cfec], edi
je 0x4a47a6
cmp dword [0x57dc4c], 0xfffffffe
jne 0x4a4793
cmp dword [ebp + 8], 0xffffffff
je 0x4a47a6
test byte [0x5874c0], 1
mov esi, 0x5874a0
jne 0x4a473c
or dword [0x5874c0], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00438ba6
push 0x531005
call fcn.00507c67
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.00438bfd
cmp dword [0x58749c], edi
je 0x4a4750
call fcn.00417572
push edi
push edi
push 0x4a4685
call fcn.0050c473
add esp, 0xc
mov dword [0x58749c], eax
cmp eax, edi
jbe 0x4a4780
cmp eax, 0xffffffff
je 0x4a4780
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x57dc4c], eax
jmp 0x4a4786
mov dword [0x58749c], edi
push 0x5874a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4a47a6
mov eax, dword [ebp + 8]
mov dword [0x57dc4c], eax
cmp eax, 0xffffffff
jne 0x4a47a6
mov dword [0x58749c], edi
call fcn.0050854c
ret
Function at 0x4e04d0
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x52cc39
call fcn.005084dd
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.004e5f77
push 0x15c
call fcn.00408cb2
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4e0514
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004e7853
jmp 0x4e0516
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004e5f49
call fcn.00416268
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x4e06b6
cmp dword [edi + 4], ebx
jle 0x4e06b6
lea ecx, [ebp - 0x21c]
call fcn.004040b0
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4e069a
lea ecx, [ebp - 0x220]
call fcn.004040b0
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4e05eb
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.00409ed8
add esp, 0xc
jmp 0x4e061d
jge 0x4e060b
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.00409ed8
add esp, 0x10
jmp 0x4e061d
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040a815
push 0x15c
call fcn.00408cb2
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4e0641
mov ecx, eax
call fcn.004b917d
mov esi, eax
jmp 0x4e0643
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0040e5db
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.004e5f49
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00404090
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00404090
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4e0584
call fcn.00508560
ret
Function at 0x4e50da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e50f2
mov edi, dword [esi + 0xc]
jmp 0x4e5132
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e510b
call fcn.0041824c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e5120
call fcn.0041824c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e5132
call fcn.0041824c
call fcn.00416268
cmp dword [eax + 0x3c], 0
je 0x4e5147
push edi
mov ecx, ebx
call fcn.004e3fb5
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e5000
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4e5165
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e5171
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4ec63c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4ec686
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ec686
call fcn.004ebec8
test eax, eax
je 0x4ec686
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.0040a355
xor eax, eax
inc eax
jmp 0x4ec89e
cmp dword [ebx + 4], 0x100
push edi
jne 0x4ec895
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4ec783
push 0x11
call edi
test ax, ax
jl 0x4ec783
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ec783
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4ec6f6
cmp eax, 0x20
jbe 0x4ec783
cmp eax, 0x24
jbe 0x4ec6e9
cmp eax, 0x26
je 0x4ec6e9
cmp eax, 0x28
jne 0x4ec783
call fcn.004ebec8
test eax, eax
je 0x4ec783
mov ecx, esi
call fcn.00414fe9
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004ebec8
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4ec72b
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0040a355
jmp 0x4ec890
call fcn.00412f01
test eax, eax
je 0x4ec890
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.00412f68
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4ec759
xor edi, edi
jmp 0x4ec75c
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.00412f01
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4ec890
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4ec85f
sub eax, 0x12
je 0x4ec837
sub eax, 0xb
je 0x4ec7a5
dec eax
dec eax
jne 0x4ec895
push 0x12
call edi
test ax, ax
jl 0x4ec895
push 0x11
call edi
test ax, ax
jl 0x4ec895
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ec895
call fcn.004ebec8
test eax, eax
jne 0x4ec890
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004ebe42
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0041186c
test eax, eax
je 0x4ec890
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0041186c
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4ec890
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ec84b
push 0
call fcn.004ebe42
mov ecx, esi
call fcn.004129c7
test eax, eax
je 0x4ec895
mov ecx, esi
call fcn.004129c7
jmp 0x4ec889
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0041186c
test eax, eax
je 0x4ec895
push dword [esi + 0x20]
call edi
push eax
call fcn.0041186c
push 0
push esi
mov ecx, eax
call fcn.0040c45f
mov ecx, eax
call fcn.00414fe9
xor eax, eax
inc eax
jmp 0x4ec89d
push ebx
mov ecx, esi
call fcn.0040f632
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4f9c0f
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x52da16
call fcn.00508474
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4f9ce8
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4f9ce8
cmp ebx, 0x43
je 0x4f9c51
cmp ebx, 0x2d
jne 0x4f9ce8
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f9ce8
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.004040b0
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.00409ed8
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00404090
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.004774c3
call fcn.0050854c
ret 4

Function at 0x501f7f
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x501fc4
test edi, edi
jl 0x501fc4
cmp ax, 0x20
je 0x501fb9
cmp word [ebp + 8], 0x71
jne 0x501fc4
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x5072ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x57f970]
jne 0x5072f6
repz ret
jmp fcn.0050e426
Function at 0x51ba88
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.0050dd8a
and dword [ebp - 4], 0
cmp dword [0x5892a4], 0
mov ebx, eax
jne 0x51bb39
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51bbea
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x51bbea
push eax
call fcn.0050dd18
mov dword [esp], 0x559f90
push edi
mov dword [0x5892a4], eax
call esi
push eax
call fcn.0050dd18
mov dword [esp], 0x559f7c
push edi
mov dword [0x5892a8], eax
call esi
push eax
call fcn.0050dd18
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5892ac], eax
call esi
push eax
call fcn.0050dd18
pop ecx
mov dword [0x5892b4], eax
test eax, eax
je 0x51bb39
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0050dd18
pop ecx
mov dword [0x5892b0], eax
mov eax, dword [0x5892b0]
cmp eax, ebx
je 0x51bb91
cmp dword [0x5892b4], ebx
je 0x51bb91
push eax
call fcn.0050dd93
push dword [0x5892b4]
mov esi, eax
call fcn.0050dd93
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x51bb91
test edi, edi
je 0x51bb91
call esi
test eax, eax
je 0x51bb88
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x51bb88
test byte [ebp - 0xc], 1
jne 0x51bb91
or dword [ebp + 0x10], 0x200000
jmp 0x51bbca
mov eax, dword [0x5892a8]
cmp eax, ebx
je 0x51bbca
push eax
call fcn.0050dd93
pop ecx
test eax, eax
je 0x51bbca
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x51bbca
mov eax, dword [0x5892ac]
cmp eax, ebx
je 0x51bbca
push eax
call fcn.0050dd93
pop ecx
test eax, eax
je 0x51bbca
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5892a4]
call fcn.0050dd93
pop ecx
test eax, eax
je 0x51bbea
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x51bbec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret