joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417306
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 0x417386
cmp dword [ebp + 0xc], ecx
jne 0x417386
cmp dword [ebx + 0x94], ecx
jne 0x417386
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x41737c
cmp eax, 0xffffffff
je 0x41737c
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.0040fa41
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x417386
xor eax, eax
jmp 0x4174c6
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x4173c1
cmp dword [ebp + 0xc], 0
jne 0x4173c1
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.0040fa41
test eax, eax
jne 0x417375
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x4173e7
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x4173e7
cmp eax, 0xffffffff
je 0x4173e7
cmp dword [ebx + 0x90], ecx
jne 0x4173e7
cmp dword [ebx + 0xa8], ecx
je 0x417375
push dword [ebx + 0x6c]
push 0x5ca910
call fcn.0042fa3d
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x417420
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 0x417486
push edi
jmp 0x417481
push dword [ebx + 0x6c]
push 0x5cb4c8
call fcn.0042fa3d
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x41744c
cmp eax, edi
je 0x41744c
cmp dword [0x5d0c94], edi
jne 0x41744c
push 1
push ebx
mov ecx, eax
call fcn.00499147
jmp 0x417479
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x417464
push edi
call fcn.0041d209
cmp eax, edi
je 0x417464
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 0x417375
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x417486
push ebx
call fcn.0041feb5
cmp dword [ebx + 0x6c], edi
je 0x4174c3
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.0040142d
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 0x4238ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x423909
call fcn.004308a9
call fcn.004312b0
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x423929
xor eax, eax
jmp 0x423a44
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x423922
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x423922
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040a21e
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x423904
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x423986
mov ecx, edi
call fcn.0041c1ab
jmp 0x42398b
call fcn.0041c095
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x42399d
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x4239b8
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x423a30
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x423a07
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x4239fa
test eax, eax
jbe 0x4239fa
push eax
mov ecx, 0x5c9bb4
call fcn.0049abd5
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x4239d1
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x423a30
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0040a24d
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42a93e
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 0x42a960
or eax, 0xffffffff
jmp 0x42a965
mov eax, dword [0x5ca9b0]
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 0x5c9cf4
call fcn.0042fa3d
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x42aa02
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x42aa02
cmp edi, ebx
je 0x42a9b7
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x5cba94
call fcn.0042fa3d
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x42aa0b
test ebx, ebx
je 0x42a9ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x42aa02
cmp dword [ebp - 4], 0
je 0x42a9ee
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 0x42aa04
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 0x42aa02
test edi, edi
je 0x42aa02
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x42aa02
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x42aa02
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 0x42aa04
Function at 0x42e3a5
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x5d1648], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x42e3d4
or dword [0x5d1648], 1
mov ecx, 0x5d1644
call fcn.00402270
push 0x574b60
call fcn.0051532a
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42e3e0
call fcn.004308a9
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x42e459
cmp dword [eax + 0x20], 0
je 0x42e459
test eax, eax
je 0x42e3f7
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x42e459
mov eax, dword [edi + 4]
dec eax
je 0x42e438
dec eax
je 0x42e40e
dec eax
jne 0x42e459
mov esi, 0x428e
jmp 0x42e43d
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x42e43d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x42e43d
add esi, 3
jmp 0x42e43d
mov esi, 0x3ea0
push esi
mov ecx, 0x5d1644
call fcn.004038a1
test eax, eax
je 0x42e3db
mov eax, dword [0x5d1644]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x42e45b
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x437442
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.004104df
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x4374fd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.00436f06
jmp 0x437512
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret
Function at 0x442c63
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x5d1bc0], 0
mov dword [ebp - 4], ecx
jne 0x442c79
xor eax, eax
jmp 0x442cb3
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x442c89
call fcn.004312b0
mov esi, dword [eax + 0xc]
push edi
push dword [0x5d18f8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x442caf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x442cb7
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 0x442cd5
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x442cb1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00442b85
mov esi, eax
jmp 0x442cc7
Function at 0x4445d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x5677d6
call fcn.0051407a
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.004325c8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00431eab
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0040c0d4
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0040c0ad
cmp eax, ebx
jne 0x444667
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0042f94c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0040231a
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00432520
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0043261c
xor eax, eax
call fcn.0051411f
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040c0fa
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x5d1adc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00431e73
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.00442247
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00443a6a
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00440b17
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0040c0fa
call fcn.004011bd
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44462a
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x444719
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0042f94c
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x444637
lea ecx, [ebp - 0x20]
call fcn.0043279f
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x44473b
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0042f94c
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0040231a
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00432520
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0043261c
xor eax, eax
inc eax
jmp 0x44465f
Function at 0x44c0e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004312b0
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44c11c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0044bd34
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x44c17a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x44c19e
cmp dword [edi + 0x54], 0
jne 0x44c19e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004312b0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044c13b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4591b4
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x4592f5
push esi
push edi
push 0x57c210
call fcn.0042fa1f
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x459244
mov esi, dword [ebx + 0x168]
jmp 0x459230
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459230
push edi
call fcn.00411bdf
push eax
push 0x5cb308
call fcn.0042fa3d
pop ecx
pop ecx
test eax, eax
je 0x459230
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x459230
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x4591f0
lea ecx, [ebx + 0x164]
call fcn.0047eb1b
jmp 0x4592f3
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x4592f3
jmp 0x45925a
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.0040a2d8
mov esi, dword [eax]
test esi, esi
jne 0x459273
xor ebx, ebx
jmp 0x459276
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4592e9
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4592e9
test edi, edi
je 0x4592bb
push esi
push 0x5cb308
call fcn.0042fa3d
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x57f3bc
call fcn.0042fa3d
pop ecx
pop ecx
test eax, eax
je 0x4592e9
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.00458706
test eax, eax
jne 0x4592e9
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00458635
cmp dword [ebp - 8], 0
jne 0x459257
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x483912
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 0x483a6c
je 0x483a92
cmp eax, 0xa1
jb 0x483abe
cmp eax, 0xa2
jbe 0x483a92
cmp eax, 0xa3
jbe 0x483abe
cmp eax, 0xa5
jbe 0x483a92
cmp eax, 0xa6
jbe 0x483abe
cmp eax, 0xa8
jbe 0x483a92
cmp eax, 0x100
jne 0x483abe
cmp dword [esi + 0x80], 0xffffffff
je 0x483a92
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x483a92
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x483a38
dec eax
jne 0x483a92
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x483a30
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 0x4839f1
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x4839c9
jmp 0x483a30
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.00416b99
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 0x483ac6
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x483a30
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 0x4839f1
dec edi
cmp edi, dword [esi + 0x80]
jg 0x483a49
jmp 0x483a30
cmp eax, 0x200
jb 0x483abe
cmp eax, 0x202
jbe 0x483a92
cmp eax, 0x203
jbe 0x483abe
cmp eax, 0x205
jbe 0x483a92
add eax, 0xfffffdf9
cmp eax, 1
ja 0x483abe
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x483aa8
cmp dword [ecx + 0x20], 0
je 0x483aa8
push edi
call fcn.0041dcde
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x483abe
cmp dword [ecx + 0x20], 0
je 0x483abe
push edi
call fcn.0041dcde
push edi
mov ecx, esi
call fcn.004a791c
pop edi
pop esi
pop ebp
ret 4
Function at 0x49b3b1
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 [0x5cd81c]
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 0x49b3ea
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x49b411
cmp dword [0x5d0cb0], 0
jne 0x49b411
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x49b404
push 0x12
call esi
test bx, ax
je 0x49b408
mov eax, edi
jmp 0x49b47c
push edi
call fcn.00519975
pop ecx
jmp 0x49b47c
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.00431334
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.00514038
leave
ret 4
Function at 0x49e4c7
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x56da5e
call fcn.0051407a
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.004325c8
mov edi, dword [0x5d1b58]
mov ebx, dword [0x5d1b5c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00431eab
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040c0d4
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.0040c0ad
test eax, eax
jne 0x49e567
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.0042f94c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.0040231a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00432520
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.0043261c
xor eax, eax
call fcn.0051411f
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c0fa
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x5d1adc
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.00431e73
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0049e330
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0040c0fa
call fcn.004011bd
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x49e52a
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x49e5e8
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0042f94c
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x49e538
lea ecx, [ebp - 0x20]
call fcn.0043279f
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x49e60a
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0042f94c
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.0040231a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00432520
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.0043261c
xor eax, eax
inc eax
jmp 0x49e561