joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477371
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 0x4774cb
je 0x4774f1
cmp eax, 0xa1
jb 0x47751d
cmp eax, 0xa2
jbe 0x4774f1
cmp eax, 0xa3
jbe 0x47751d
cmp eax, 0xa5
jbe 0x4774f1
cmp eax, 0xa6
jbe 0x47751d
cmp eax, 0xa8
jbe 0x4774f1
cmp eax, 0x100
jne 0x47751d
cmp dword [esi + 0x80], 0xffffffff
je 0x4774f1
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4774f1
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x477497
dec eax
jne 0x4774f1
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x47748f
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 0x477450
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x477428
jmp 0x47748f
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.004133a1
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 0x477525
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x47748f
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 0x477450
dec edi
cmp edi, dword [esi + 0x80]
jg 0x4774a8
jmp 0x47748f
cmp eax, 0x200
jb 0x47751d
cmp eax, 0x202
jbe 0x4774f1
cmp eax, 0x203
jbe 0x47751d
cmp eax, 0x205
jbe 0x4774f1
add eax, 0xfffffdf9
cmp eax, 1
ja 0x47751d
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x477507
cmp dword [ecx + 0x20], 0
je 0x477507
push edi
call fcn.0041a46b
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x47751d
cmp dword [ecx + 0x20], 0
je 0x47751d
push edi
call fcn.0041a46b
push edi
mov ecx, esi
call fcn.00493bff
pop edi
pop esi
pop ebp
ret 4
Function at 0x4872d3
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5a71a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x48730c
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x487333
cmp dword [0x5aa630], 0
jne 0x487333
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x487326
push 0x12
call esi
test bx, ax
je 0x48732a
mov eax, edi
jmp 0x48739e
push edi
call fcn.004ffb35
pop ecx
jmp 0x48739e
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.0042d5b6
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa21f
leave
ret 4
Function at 0x48a409
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x551d98
call fcn.004fa261
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.0042e7f6
mov edi, dword [0x5ab4d8]
mov ebx, dword [0x5ab4dc]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0042e0d9
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00408a0f
mov dword [ebp - 0x1c], esi
mov esi, vtable.CBitmap.0
mov dword [ebp - 0x20], esi
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004089e8
test eax, eax
jne 0x48a4a9
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.0042bb95
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.00401b3f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0042e74e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.0042e84a
xor eax, eax
call fcn.004fa306
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408a35
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x5ab45c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.0042e0a1
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048a272
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00408a35
call fcn.00401081
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x48a46c
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x48a52a
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0042bb95
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x48a47a
lea ecx, [ebp - 0x20]
call fcn.0042e9cd
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x48a54c
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0042bb95
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.00401b3f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0042e74e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.0042e84a
xor eax, eax
inc eax
jmp 0x48a4a3
Function at 0x48a5d7
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x551dc9
call fcn.004fa297
mov esi, ecx
lea edi, [esi + 0x14]
push edi
lea ecx, [ebp - 0x278]
call fcn.00407d49
xor ebx, ebx
push ebx
push 0x55bf7c
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], ebx
call fcn.00433816
cmp eax, 0xffffffff
jne 0x48a6ba
push ebx
push 0x561644
lea ecx, [ebp - 0x278]
call fcn.00433816
cmp eax, 0xffffffff
jne 0x48a6ba
push ebx
push 0x561640
lea ecx, [ebp - 0x278]
call fcn.00433816
cmp eax, 0xffffffff
jne 0x48a6ba
push edi
lea ecx, [ebp - 0x27c]
call fcn.00407d49
mov edi, dword [ebp - 0x27c]
push ebx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ebx
push edi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x48a69d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.0040104c
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.0040104c
mov eax, esi
call fcn.004fa31a
ret
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.00402eac
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.0040104c
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push ebx
push dword [ebp - 0x278]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x48a6e4
mov esi, dword [ebp - 0x274]
jmp 0x48a687
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, eax
jmp 0x48a687

Function at 0x4963b9
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x552589
call fcn.004fa22e
xor edi, edi
cmp dword [0x5a417c], edi
je 0x496482
cmp dword [0x5a5424], 0xfffffffe
jne 0x49646f
cmp dword [ebp + 8], 0xffffffff
je 0x496482
test byte [0x5ac73c], 1
mov esi, 0x5ac71c
jne 0x496418
or dword [0x5ac73c], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00422d8b
push 0x558d28
call fcn.004fb50a
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.00422de2
cmp dword [0x5ac718], edi
je 0x49642c
call fcn.0042cb2b
push edi
push edi
push 0x496361
call fcn.004ffc62
add esp, 0xc
mov dword [0x5ac718], eax
cmp eax, edi
jbe 0x49645c
cmp eax, 0xffffffff
je 0x49645c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x5a5424], eax
jmp 0x496462
mov dword [0x5ac718], edi
push 0x5ac724
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x496482
mov eax, dword [ebp + 8]
mov dword [0x5a5424], eax
cmp eax, 0xffffffff
jne 0x496482
mov dword [0x5ac718], edi
call fcn.004fa306
ret
Function at 0x498975
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5a71a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.00498435
mov ebx, eax
cmp ebx, esi
je 0x4989e2
lea ecx, [ebp - 0x10c]
call fcn.004983bc
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa21f
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x498a00
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00498975
cmp eax, esi
jne 0x498a47
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], pe_nt_image_headers32
call ebx
test eax, eax
je 0x4989ea
lea ecx, [ebp - 0x10c]
call fcn.004983bc
push dword [ebp - 0x114]
mov ecx, edi
call fcn.0049835d
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.004983bc
mov eax, esi
jmp 0x4989d1
Function at 0x4b6c31
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x553d1a
call fcn.004fa261
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 0xc]
call fcn.004195c1
test eax, eax
je 0x4b6e00
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
lea ecx, [esi + 4]
xor edi, edi
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
call fcn.004b6950
test eax, eax
je 0x4b6c77
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00401a9f
mov esi, 0x104
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00401ab3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040a3b2
lea ecx, [ebp - 0x14]
call fcn.00401a9f
xor ebx, ebx
inc ebx
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00401ab3
push eax
push edi
push 0x5701f0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a3b2
push edi
push 0x4000100
push 2
push edi
push edi
push 0xc0000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
je 0x4b6dea
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004b71a2
push edi
push 0x1000
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.004572dc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [eax + 0x20], ebx
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 4
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.00456cb0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0x20], edi
mov byte [ebp - 4], 3
call fcn.0045729e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004b7285
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.004b6b29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], esi
call fcn.0040104c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040104c
mov eax, ebx
jmp 0x4b6e02
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040104c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040104c
xor eax, eax
call fcn.004fa306
ret 8
Function at 0x4b83da
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 0x4b842b
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.004b7dae
mov ecx, ebx
call fcn.004b8352
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x4b8481
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x4b8446
cmp dword [ebp + 0xc], 0x79
je 0x4b8441
cmp dword [ebp + 0xc], 0x12
jne 0x4b8481
xor eax, eax
inc eax
jmp 0x4b8481
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 0x4b8486
cmp esi, 0x79
je 0x4b8486
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 [0x5ab1d8], 0
jne 0x4b847d
test byte [ebx + 0x2f4], 2
jne 0x4b847d
cmp esi, 0x12
je 0x4b84aa
cmp esi, 0x79
jne 0x4b847d
test edi, edi
jne 0x4b847d
test eax, eax
jne 0x4b847d
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0040e413
cmp eax, ebx
jne 0x4b84cd
test dword [ebp + 0x10], 0x40000000
jne 0x4b84cd
cmp esi, 0x79
jne 0x4b84db
mov ecx, dword [ebp + 8]
jmp 0x4b84d4
cmp esi, 0x79
jne 0x4b84db
mov ecx, ebx
call fcn.004133a1
jmp 0x4b84f6
cmp dword [ebx + 0x2a0], 0
jge 0x4b84f6
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x4b847f
Function at 0x4c1231
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 0x4c127b
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4c127b
call fcn.0047b5d0
test eax, eax
je 0x4c127b
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00406cff
xor eax, eax
inc eax
jmp 0x4c1493
cmp dword [ebx + 4], 0x100
push edi
jne 0x4c148a
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4c1378
push 0x11
call edi
test ax, ax
jl 0x4c1378
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4c1378
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4c12eb
cmp eax, 0x20
jbe 0x4c1378
cmp eax, 0x24
jbe 0x4c12de
cmp eax, 0x26
je 0x4c12de
cmp eax, 0x28
jne 0x4c1378
call fcn.0047b5d0
test eax, eax
je 0x4c1378
mov ecx, esi
call fcn.004133a1
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.0047b5d0
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4c1320
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00406cff
jmp 0x4c1485
call fcn.004018d6
test eax, eax
je 0x4c1485
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0040f820
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4c134e
xor edi, edi
jmp 0x4c1351
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.004018d6
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4c1485
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4c1454
sub eax, 0x12
je 0x4c142c
sub eax, 0xb
je 0x4c139a
dec eax
dec eax
jne 0x4c148a
push 0x12
call edi
test ax, ax
jl 0x4c148a
push 0x11
call edi
test ax, ax
jl 0x4c148a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4c148a
call fcn.0047b5d0
test eax, eax
jne 0x4c1485
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.0047b597
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.0040e413
test eax, eax
je 0x4c1485
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0040e413
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4c1485
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4c1440
push 0
call fcn.0047b597
mov ecx, esi
call fcn.0040ef30
test eax, eax
je 0x4c148a
mov ecx, esi
call fcn.0040ef30
jmp 0x4c147e
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040e413
test eax, eax
je 0x4c148a
push dword [esi + 0x20]
call edi
push eax
call fcn.0040e413
push 0
push esi
mov ecx, eax
call fcn.00447626
mov ecx, eax
call fcn.004133a1
xor eax, eax
inc eax
jmp 0x4c1492
push ebx
mov ecx, esi
call fcn.0040c2e6
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4c6fef
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 0x4c7007
mov edi, dword [esi + 0xc]
jmp 0x4c7047
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4c7020
call fcn.0042e069
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4c7035
call fcn.0042e069
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4c7047
call fcn.0042e069
call fcn.0042d532
cmp dword [eax + 0x3c], 0
je 0x4c705c
push edi
mov ecx, ebx
call fcn.004c5ed4
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004c6f15
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4c707a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c7086
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 0x4def1d
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x555ac4
call fcn.004fa297
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.004e9507
push 0x15c
call fcn.00406980
pop ecx
mov ecx, eax
mov dword [ebp - 0x124], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4def61
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004eafaa
jmp 0x4def63
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004e94d9
call fcn.0042d532
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp + esi - 0x114], 0x5c
inc esi
mov dword [ebp - 0x124], esi
mov byte [ebp + esi - 0x114], bl
mov dword [ebp - 0x120], ebx
cmp edi, ebx
je 0x4df0fd
cmp dword [edi + 4], ebx
jle 0x4df0fd
lea ecx, [ebp - 0x118]
call fcn.00401a9f
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4df0e1
lea ecx, [ebp - 0x11c]
call fcn.00401a9f
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4df032
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push 0x576ca8
push eax
call fcn.00401b2c
add esp, 0xc
jmp 0x4df064
jge 0x4df052
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__s
push eax
call fcn.00401b2c
add esp, 0x10
jmp 0x4df064
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00412eb6
push 0x15c
call fcn.00406980
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4df088
mov ecx, eax
call fcn.004a8a07
mov esi, eax
jmp 0x4df08a
xor esi, esi
push dword [ebp - 0x11c]
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.004473c8
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x128]
push esi
call fcn.004e94d9
mov ecx, dword [ebp - 0x11c]
inc dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.0040104c
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040104c
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4defcb
call fcn.004fa31a
ret
Function at 0x4e4136
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x44
mov eax, 0x5560d4
call fcn.004fa297
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
call fcn.00401a9f
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, 0x13
jne 0x4e4164
push str.Pause
jmp 0x4e41a7
push 0x33
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.004fbca0
add esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x4e4196
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
call fcn.00402eac
lea ecx, [ebp - 0x48]
call fcn.0043434a
mov esi, dword [ebp - 0x48]
xor edi, edi
cmp dword [esi - 0xc], ebx
jle 0x4e41ff
push edi
lea ecx, [ebp - 0x48]
call fcn.0041e8fb
mov byte [ebp - 0x4c], al
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_IsCharLowerA]
test eax, eax
jne 0x4e41e2
inc edi
cmp edi, dword [esi - 0xc]
jl 0x4e41c1
jmp 0x4e41ff
movsx eax, byte [ebp - 0x4c]
push eax
call fcn.004ffb35
pop ecx
mov byte [ebp - 0x4c], al
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push edi
call fcn.004bb570
mov esi, dword [ebp - 0x48]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x50]
push esi
call fcn.0040ab64
cmp dword [ebp + 0x10], ebx
jne 0x4e421a
mov ecx, dword [ebp - 0x50]
push 0x2b
call fcn.0040f7d2
lea ecx, [esi - 0x10]
call fcn.0040104c
call fcn.004fa31a
ret 0xc

Function at 0x4ed9b0
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x55230e
call fcn.004fa22e
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4eda86
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4eda86
cmp ebx, 0x43
je 0x4ed9f2
cmp ebx, 0x2d
jne 0x4eda86
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4eda86
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00401a9f
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.00401b2c
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
inc eax
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_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
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.0040104c
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.004b4705
call fcn.004fa306
ret 4