joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4658d9
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 0x46592a
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.004652ad
mov ecx, ebx
call fcn.00465851
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x465980
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x465945
cmp dword [ebp + 0xc], 0x79
je 0x465940
cmp dword [ebp + 0xc], 0x12
jne 0x465980
xor eax, eax
inc eax
jmp 0x465980
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 0x465985
cmp esi, 0x79
je 0x465985
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 [0x561c9c], 0
jne 0x46597c
test byte [ebx + 0x2f4], 2
jne 0x46597c
cmp esi, 0x12
je 0x4659a9
cmp esi, 0x79
jne 0x46597c
test edi, edi
jne 0x46597c
test eax, eax
jne 0x46597c
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00405a4f
cmp eax, ebx
jne 0x4659cc
test dword [ebp + 0x10], 0x40000000
jne 0x4659cc
cmp esi, 0x79
jne 0x4659da
mov ecx, dword [ebp + 8]
jmp 0x4659d3
cmp esi, 0x79
jne 0x4659da
mov ecx, ebx
call fcn.00409428
jmp 0x4659f5
cmp dword [ebx + 0x2a0], 0
jge 0x4659f5
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x46597e
Function at 0x46ab16
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 0x46ac70
je 0x46ac96
cmp eax, 0xa1
jb 0x46acc2
cmp eax, 0xa2
jbe 0x46ac96
cmp eax, 0xa3
jbe 0x46acc2
cmp eax, 0xa5
jbe 0x46ac96
cmp eax, 0xa6
jbe 0x46acc2
cmp eax, 0xa8
jbe 0x46ac96
cmp eax, 0x100
jne 0x46acc2
cmp dword [esi + 0x80], 0xffffffff
je 0x46ac96
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46ac96
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x46ac3c
dec eax
jne 0x46ac96
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x46ac34
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 0x46abf5
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x46abcd
jmp 0x46ac34
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.00409428
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 0x46acca
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x46ac34
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 0x46abf5
dec edi
cmp edi, dword [esi + 0x80]
jg 0x46ac4d
jmp 0x46ac34
cmp eax, 0x200
jb 0x46acc2
cmp eax, 0x202
jbe 0x46ac96
cmp eax, 0x203
jbe 0x46acc2
cmp eax, 0x205
jbe 0x46ac96
add eax, 0xfffffdf9
cmp eax, 1
ja 0x46acc2
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x46acac
cmp dword [ecx + 0x20], 0
je 0x46acac
push edi
call fcn.004276cf
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x46acc2
cmp dword [ecx + 0x20], 0
je 0x46acc2
push edi
call fcn.004276cf
push edi
mov ecx, esi
call fcn.00487297
pop edi
pop esi
pop ebp
ret 4
Function at 0x46f3c8
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 0x46f3ea
or eax, 0xffffffff
jmp 0x46f3ef
mov eax, dword [0x55a71c]
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 0x55ae6c
call fcn.0040eebf
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x46f48c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x46f48c
cmp edi, ebx
je 0x46f441
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x55bfec
call fcn.0040eebf
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x46f495
test ebx, ebx
je 0x46f478
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x46f48c
cmp dword [ebp - 4], 0
je 0x46f478
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 0x46f48e
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 0x46f48c
test edi, edi
je 0x46f48c
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x46f48c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x46f48c
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 0x46f48e
Function at 0x472d83
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x562088], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x472db2
or dword [0x562088], 1
mov ecx, 0x562084
call fcn.00401540
push 0x516dc5
call fcn.004f05ec
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x472dbe
call fcn.0040bbc9
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x472e37
cmp dword [eax + 0x20], 0
je 0x472e37
test eax, eax
je 0x472dd5
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x472e37
mov eax, dword [edi + 4]
dec eax
je 0x472e16
dec eax
je 0x472dec
dec eax
jne 0x472e37
mov esi, 0x428e
jmp 0x472e1b
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x472e1b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x472e1b
add esi, 3
jmp 0x472e1b
mov esi, 0x3ea0
push esi
mov ecx, 0x562084
call fcn.00401570
test eax, eax
je 0x472db9
mov eax, dword [0x562084]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x472e39
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4738d3
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 0x473953
cmp dword [ebp + 0xc], ecx
jne 0x473953
cmp dword [ebx + 0x94], ecx
jne 0x473953
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x473949
cmp eax, 0xffffffff
je 0x473949
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.0040364d
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x473953
xor eax, eax
jmp 0x473a93
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x47398e
cmp dword [ebp + 0xc], 0
jne 0x47398e
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.0040364d
test eax, eax
jne 0x473942
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x4739b4
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x4739b4
cmp eax, 0xffffffff
je 0x4739b4
cmp dword [ebx + 0x90], ecx
jne 0x4739b4
cmp dword [ebx + 0xa8], ecx
je 0x473942
push dword [ebx + 0x6c]
push 0x55ac94
call fcn.0040eebf
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x4739ed
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 0x473a53
push edi
jmp 0x473a4e
push dword [ebx + 0x6c]
push 0x55b61c
call fcn.0040eebf
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x473a19
cmp eax, edi
je 0x473a19
cmp dword [0x560a64], edi
jne 0x473a19
push 1
push ebx
mov ecx, eax
call fcn.0049c862
jmp 0x473a46
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x473a31
push edi
call fcn.00426cb9
cmp eax, edi
je 0x473a31
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 0x473942
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x473a53
push ebx
call fcn.0042989f
cmp dword [ebx + 0x6c], edi
je 0x473a90
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.00420149
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 0x478745
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x560888], 0
mov dword [ebp - 4], ecx
jne 0x47875b
xor eax, eax
jmp 0x478795
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x47876b
call fcn.0040dc47
mov esi, dword [eax + 0xc]
push edi
push dword [0x5621ac]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x478791
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x478799
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4787b7
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x478793
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00478666
mov esi, eax
jmp 0x4787a9
Function at 0x48be4c
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x5107ae
call fcn.004f2460
xor edi, edi
cmp dword [0x55a844], edi
je 0x48bf15
cmp dword [0x55b4f0], 0xfffffffe
jne 0x48bf02
cmp dword [ebp + 8], 0xffffffff
je 0x48bf15
test byte [0x562454], 1
mov esi, 0x562434
jne 0x48beab
or dword [0x562454], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00463655
push 0x516e82
call fcn.004f05ec
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.004636ac
cmp dword [0x562430], edi
je 0x48bebf
call fcn.0040bbc9
push edi
push edi
push 0x48bdf4
call fcn.004f54bd
add esp, 0xc
mov dword [0x562430], eax
cmp eax, edi
jbe 0x48beef
cmp eax, 0xffffffff
je 0x48beef
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x55b4f0], eax
jmp 0x48bef5
mov dword [0x562430], edi
push 0x56243c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x48bf15
mov eax, dword [ebp + 8]
mov dword [0x55b4f0], eax
cmp eax, 0xffffffff
jne 0x48bf15
mov dword [0x562430], edi
call fcn.004f2538
ret

Function at 0x48d996
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x55cfe0]
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 - 0x20c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0048d444
mov ebx, eax
cmp ebx, esi
je 0x48da03
lea ecx, [ebp - 0x20c]
call fcn.00410b69
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f0465
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x48da21
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0048d996
cmp eax, esi
jne 0x48da68
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], 0x100
call ebx
test eax, eax
je 0x48da0b
lea ecx, [ebp - 0x20c]
call fcn.00410b69
push dword [ebp - 0x214]
mov ecx, edi
call fcn.0048d3e5
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.00410b69
mov eax, esi
jmp 0x48d9f2
Function at 0x4b290a
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x5121f0
call fcn.004f24c9
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.004cf6cd
push 0x15c
call fcn.00401873
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4b294e
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004d1f9e
jmp 0x4b2950
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004cf69f
call fcn.0040dc47
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 0x4b2af0
cmp dword [edi + 4], ebx
jle 0x4b2af0
lea ecx, [ebp - 0x21c]
call fcn.00401540
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 0x4b2ad4
lea ecx, [ebp - 0x220]
call fcn.00401540
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4b2a25
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.004077ec
add esp, 0xc
jmp 0x4b2a57
jge 0x4b2a45
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.004077ec
add esp, 0x10
jmp 0x4b2a57
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040a983
push 0x15c
call fcn.00401873
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4b2a7b
mov ecx, eax
call fcn.004b76fc
mov esi, eax
jmp 0x4b2a7d
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.0040a461
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.004cf69f
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00401480
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401480
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4b29be
call fcn.004f254c
ret
Function at 0x4bdd0c
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x512b0b
call fcn.004f24c9
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.00401540
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 0x13
jne 0x4bdd3a
push 0x531458
jmp 0x4bdd7d
push 0x66
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.004f2000
add esp, 0xc
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x4bdd6c
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004077cb
lea ecx, [ebp - 0x7c]
call fcn.00444c7c
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 0xc], edi
jle 0x4bddce
push edi
lea ecx, [ebp - 0x7c]
call fcn.0042bb17
movzx ebx, ax
push ebx
call dword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x4bddb4
inc edi
cmp edi, dword [esi - 0xc]
jl 0x4bdd95
jmp 0x4bddce
movzx eax, bx
push eax
call fcn.004f4daf
pop ecx
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.004113ff
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x80]
push esi
call fcn.0040772a
cmp dword [ebp + 0x10], 0
jne 0x4bddea
mov ecx, dword [ebp - 0x80]
push 0x2b
call fcn.0040770d
lea ecx, [esi - 0x10]
call fcn.00401480
call fcn.004f254c
ret 0xc

Function at 0x4c86cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004075b8
call fcn.0040216e
cmp eax, esi
pop esi
jne 0x4c86e8
mov ecx, 0x560720
jmp fcn.0041f456
ret

Function at 0x4cbe39
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 0x4cbe51
mov edi, dword [esi + 0xc]
jmp 0x4cbe91
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4cbe6a
call fcn.0040c018
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4cbe7f
call fcn.0040c018
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4cbe91
call fcn.0040c018
call fcn.0040dc47
cmp dword [eax + 0x3c], 0
je 0x4cbea6
push edi
mov ecx, ebx
call fcn.004cad1c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004cbd5f
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4cbec4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4cbed0
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 0x4d28de
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 0x4d2928
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4d2928
call fcn.004d2197
test eax, eax
je 0x4d2928
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.004014a0
xor eax, eax
inc eax
jmp 0x4d2b40
cmp dword [ebx + 4], 0x100
push edi
jne 0x4d2b37
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4d2a25
push 0x11
call edi
test ax, ax
jl 0x4d2a25
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4d2a25
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4d2998
cmp eax, 0x20
jbe 0x4d2a25
cmp eax, 0x24
jbe 0x4d298b
cmp eax, 0x26
je 0x4d298b
cmp eax, 0x28
jne 0x4d2a25
call fcn.004d2197
test eax, eax
je 0x4d2a25
mov ecx, esi
call fcn.00409428
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004d2197
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4d29cd
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.004014a0
jmp 0x4d2b32
call fcn.004070be
test eax, eax
je 0x4d2b32
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0040720e
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4d29fb
xor edi, edi
jmp 0x4d29fe
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.004070be
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4d2b32
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4d2b01
sub eax, 0x12
je 0x4d2ad9
sub eax, 0xb
je 0x4d2a47
dec eax
dec eax
jne 0x4d2b37
push 0x12
call edi
test ax, ax
jl 0x4d2b37
push 0x11
call edi
test ax, ax
jl 0x4d2b37
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4d2b37
call fcn.004d2197
test eax, eax
jne 0x4d2b32
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004d2111
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.00405a4f
test eax, eax
je 0x4d2b32
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.00405a4f
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4d2b32
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4d2aed
push 0
call fcn.004d2111
mov ecx, esi
call fcn.00406b81
test eax, eax
je 0x4d2b37
mov ecx, esi
call fcn.00406b81
jmp 0x4d2b2b
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00405a4f
test eax, eax
je 0x4d2b37
push dword [esi + 0x20]
call edi
push eax
call fcn.00405a4f
push 0
push esi
mov ecx, eax
call fcn.00402181
mov ecx, eax
call fcn.00409428
xor eax, eax
inc eax
jmp 0x4d2b3f
push ebx
mov ecx, esi
call fcn.004036c1
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4eb242
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 0x4eb287
test edi, edi
jl 0x4eb287
cmp ax, 0x20
je 0x4eb27c
cmp word [ebp + 8], 0x71
jne 0x4eb287
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x4f0465
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55cfe0]
jne 0x4f046f
repz ret
jmp fcn.004f70a6

Function at 0x5029e8
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.004f6a0a
and dword [ebp - 4], 0
cmp dword [0x5643b4], 0
mov ebx, eax
jne 0x502a99
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x502b4a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x502b4a
push eax
call fcn.004f6998
mov dword [esp], 0x53ee10
push edi
mov dword [0x5643b4], eax
call esi
push eax
call fcn.004f6998
mov dword [esp], 0x53edfc
push edi
mov dword [0x5643b8], eax
call esi
push eax
call fcn.004f6998
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5643bc], eax
call esi
push eax
call fcn.004f6998
pop ecx
mov dword [0x5643c4], eax
test eax, eax
je 0x502a99
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004f6998
pop ecx
mov dword [0x5643c0], eax
mov eax, dword [0x5643c0]
cmp eax, ebx
je 0x502af1
cmp dword [0x5643c4], ebx
je 0x502af1
push eax
call fcn.004f6a13
push dword [0x5643c4]
mov esi, eax
call fcn.004f6a13
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x502af1
test edi, edi
je 0x502af1
call esi
test eax, eax
je 0x502ae8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x502ae8
test byte [ebp - 0xc], 1
jne 0x502af1
or dword [ebp + 0x10], 0x200000
jmp 0x502b2a
mov eax, dword [0x5643b8]
cmp eax, ebx
je 0x502b2a
push eax
call fcn.004f6a13
pop ecx
test eax, eax
je 0x502b2a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x502b2a
mov eax, dword [0x5643bc]
cmp eax, ebx
je 0x502b2a
push eax
call fcn.004f6a13
pop ecx
test eax, eax
je 0x502b2a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5643b4]
call fcn.004f6a13
pop ecx
test eax, eax
je 0x502b4a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x502b4c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret