Function at 0x4c3255
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x100
mov esi, ecx
jne 0x4c3695
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call ebx
test ax, ax
push 0x10
setl byte [ebp - 1]
call ebx
test ax, ax
push 0x12
setl byte [ebp - 2]
call ebx
test ax, ax
jl 0x4c3695
cmp dword [edi + 8], 0xd
mov edi, dword [sym.imp.USER32.dll_GetFocus]
mov ebx, 0x5e0
jne 0x4c3310
call edi
push eax
call fcn.0055543f
call edi
push eax
call fcn.0055543f
push ebx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.0055bd80
cmp dword [ebp - 8], eax
jne 0x4c32e9
cmp dword [esi + 0x1d38], 0
mov ecx, esi
jne 0x4c32dc
call fcn.004c1518
jmp 0x4c32e1
call fcn.004bbead
xor eax, eax
inc eax
jmp 0x4c36f3
call edi
push eax
call fcn.0055543f
push 0x500
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.0055bd80
cmp dword [ebp - 8], eax
jne 0x4c3310
push 1
mov ecx, esi
call fcn.004bcba8
jmp 0x4c32e1
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x1b
jne 0x4c33a7
call edi
push eax
call fcn.0055543f
push 0x500
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.0055bd80
cmp dword [ebp - 8], eax
jne 0x4c333d
push 0
jmp 0x4c3307
cmp byte [esi + 0x1b6e], 0
je 0x4c3351
push 0
mov ecx, esi
call fcn.004a9377
jmp 0x4c32e1
cmp dword [esi + 0x18ec], 0
je 0x4c33a7
cmp byte [esi + 0x1d28], 0
je 0x4c3374
push 0x32
mov ecx, esi
call fcn.004a8b8d
cmp dword [esi + 0x18ec], eax
je 0x4c33a7
cmp dword [esi + 0x1d38], 1
jne 0x4c339b
push 0
mov ecx, esi
call fcn.004aa0eb
push dword [esi + 0x1f98]
mov ecx, esi
push ebx
call fcn.0055bd80
mov ecx, eax
call fcn.0055bf98
mov ecx, esi
call fcn.004aa37e
jmp 0x4c32e1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, 0x71
jne 0x4c3411
call edi
push eax
call fcn.0055543f
push 0x40b
mov ecx, esi
mov edi, eax
call fcn.0055bd80
cmp edi, eax
jne 0x4c3405
mov eax, dword [esi + 0x1aec]
sub eax, 0
je 0x4c33f9
dec eax
je 0x4c33ed
dec eax
jne 0x4c32e1
mov ecx, esi
call fcn.004bcf3e
jmp 0x4c32e1
mov ecx, esi
call fcn.004b5078
jmp 0x4c32e1
mov ecx, esi
call fcn.004ae29b
jmp 0x4c32e1
mov ecx, esi
call fcn.004aa58f
jmp 0x4c32e1
cmp eax, 0x72
jne 0x4c3424
push 0
mov ecx, esi
call fcn.004ae657
jmp 0x4c32e1
cmp eax, 0x74
jne 0x4c3430
mov ecx, esi
call fcn.004bc6ab
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, 0x43
jne 0x4c345e
cmp byte [ebp - 1], 0
je 0x4c345e
cmp byte [ebp - 2], 0
je 0x4c345e
mov ecx, dword [esi + 0x18b4]
call fcn.00413c29
mov ecx, esi
call fcn.004ad689
jmp 0x4c32e1
cmp eax, 0x44
jne 0x4c3475
cmp byte [ebp - 1], 0
je 0x4c3475
mov ecx, esi
call fcn.004c158b
jmp 0x4c32e1
cmp eax, 0x46
jne 0x4c34d4
cmp byte [ebp - 1], 0
je 0x4c34d4
cmp dword [esi + 0x18ec], 0
mov ecx, esi
jle 0x4c34c8
push ebx
call fcn.0055bd80
mov ecx, eax
call fcn.0055c0cc
xor edi, edi
push edi
push 0xffffffffffffffff
push edi
push ebx
mov ecx, esi
call fcn.0055bd80
mov ecx, eax
call fcn.004a8baa
push edi
push edi
push 0x10000
push ebx
mov ecx, esi
call fcn.0055bd80
mov ecx, eax
call fcn.0055bf40
jmp 0x4c32e1
push 0
call fcn.004aa0eb
jmp 0x4c339b
cmp eax, 0x4b
jne 0x4c3551
cmp byte [ebp - 1], 0
je 0x4c3551
cmp dword [esi + 0x1f60], 0
jne 0x4c3551
lea ebx, [esi + 0x328]
mov ecx, ebx
call fcn.0055bf0c
test eax, 0x800
jne 0x4c3551
call edi
push eax
call fcn.0055543f
cmp eax, ebx
jne 0x4c3551
lea eax, [ebp - 0xc]
push eax
call fcn.0040a60c
push dword [ebp - 8]
lea ecx, [ebp - 0x2c]
push dword [ebp - 0xc]
call fcn.004cc7df
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004cca2e
push dword [ebp + 8]
push 1
push 0xc2
push dword [esi + 0x348]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
jmp 0x4c32e1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, 0x4f
jne 0x4c3572
cmp byte [ebp - 1], 0
je 0x4c3572
mov ecx, dword [esi + 0x18b4]
call fcn.00408fc2
jmp 0x4c32e1
cmp eax, 0x50
jne 0x4c3589
cmp byte [ebp - 1], 0
je 0x4c3589
mov ecx, esi
call fcn.004aedaf
jmp 0x4c32e1
cmp eax, 0x51
jne 0x4c3598
cmp byte [ebp - 1], 0
jne 0x4c32e1
call edi
push eax
call fcn.0055543f
xor edi, edi
cmp eax, edi
jne 0x4c35ad
xor eax, eax
jmp 0x4c36f3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
cmp edx, 0x2e
jne 0x4c3668
mov ecx, dword [eax + 0x20]
cmp ecx, dword [esi + 0x2c0]
jne 0x4c365c
mov eax, dword [esi + 0x1aec]
sub eax, edi
je 0x4c35fe
dec eax
je 0x4c35eb
dec eax
jne 0x4c32e1
mov ecx, esi
call fcn.004ae1b7
jmp 0x4c32e1
mov ecx, esi
call fcn.004bc617
mov ecx, esi
call fcn.004addd0
jmp 0x4c32e1
lea ebx, [esi + 0x2a0]
mov ecx, ebx
call fcn.00402563
mov dword [ebp + 8], eax
cmp eax, edi
je 0x4c32e1
push eax
mov ecx, ebx
call fcn.005592a1
mov edi, eax
test edi, edi
je 0x4c32e1
push dword [edi]
mov ecx, dword [esi + 0x18b4]
call fcn.004091aa
mov esi, eax
test esi, esi
je 0x4c32e1
push dword [ebp + 8]
mov ecx, ebx
call fcn.004024ad
push edi
call fcn.0054c5b3
pop ecx
mov ecx, esi
call fcn.004edd65
jmp 0x4c32e1
cmp ecx, dword [esi + 0x210]
je 0x4c3469
cmp edx, 0x5d
jne 0x4c3692
mov eax, dword [eax + 0x20]
cmp eax, dword [esi + 0x348]
jne 0x4c3692
cmp dword [esi + 0x1f60], edi
jne 0x4c3692
xor ecx, ecx
push ecx
xor eax, eax
push eax
push edi
lea ecx, [esi + 0x328]
call fcn.004a14cc
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x104
jne 0x4c36df
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
push 0x11
setl bl
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setl al
test bl, bl
je 0x4c36df
test al, al
jne 0x4c36df
mov eax, dword [edi + 8]
cmp eax, 0x2f
jbe 0x4c36df
cmp eax, 0x3a
jge 0x4c36df
add eax, 0xffffffd0
push eax
mov ecx, esi
call fcn.004ab65d
jmp 0x4c32e1
push edi
lea ecx, [esi + 0x1be8]
call fcn.004055b5
push edi
mov ecx, esi
call fcn.00566629
pop edi
pop esi
pop ebx
leave
ret 4