Function at 0x439080
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4e0f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
push 0
push 0
mov eax, dword [edi + 0x194]
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov ebx, 1
cmp esi, ebx
mov dword [esp + 0x14], esi
jl 0x439562
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebp
xor ecx, ecx
push 0x10
test ax, ax
setl cl
mov dword [esp + 0x20], ecx
call ebp
xor edx, edx
test ax, ax
mov eax, dword [0x52251c]
setl dl
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ebp
cmp esi, ebp
mov esi, dword [esp + 0x48]
mov byte [esp + 0x40], bl
jle 0x439258
push ebp
lea ecx, [edi + 0x178]
call fcn.004bf240
test eax, eax
je 0x43924b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4391ef
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push ebp
jne 0x439195
lea eax, [esp + 0x50]
lea ecx, [edi + 0x178]
push eax
call fcn.004be87a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call fcn.004c58c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x10]
push 0x51c3b0
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 3
call fcn.004c5b9f
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x24]
jmp 0x439246
lea eax, [esp + 0x30]
lea ecx, [edi + 0x178]
push eax
call fcn.004be87a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 4
call fcn.004c58c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x10]
push 0x51c8ec
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 5
call fcn.004c5b9f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call fcn.004c5787
push ebx
lea eax, [esp + 0x34]
push ebp
push eax
lea ecx, [edi + 0x178]
call fcn.004be87a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 6
call fcn.004c58c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x14]
push 0x51c3b0
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 7
call fcn.004c5b9f
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x34]
call fcn.004c5787
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x439110
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x439536
mov ecx, dword [edi + 0x194]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [edi + 0x194]
mov ebp, eax
push 2
push ebp
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
test ebp, ebp
mov dword [esp + 0x48], eax
jge 0x4393e6
mov eax, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
jle 0x439536
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x439378
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push ebp
jne 0x43931e
lea eax, [esp + 0x50]
lea ecx, [edi + 0x178]
push eax
call fcn.004be87a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 8
call fcn.004c58c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x10]
push 0x51c3b0
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 9
call fcn.004c5b9f
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x34]
jmp 0x4393cf
lea eax, [esp + 0x38]
lea ecx, [edi + 0x178]
push eax
call fcn.004be87a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0xa
call fcn.004c58c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x10]
push 0x51c8ec
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 0xb
call fcn.004c5b9f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call fcn.004c5787
push ebx
lea eax, [esp + 0x2c]
push ebp
push eax
lea ecx, [edi + 0x178]
call fcn.004be87a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0xc
call fcn.004c58c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x14]
push 0x51c3b0
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 0xd
call fcn.004c5b9f
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x24]
call fcn.004c5787
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x4392ad
jmp 0x439536
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4394b1
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push ebp
jne 0x439457
lea eax, [esp + 0x3c]
lea ecx, [edi + 0x178]
push eax
call fcn.004be87a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0xe
call fcn.004c58c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x10]
push 0x51c3b0
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 0xf
call fcn.004c5b9f
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x30]
jmp 0x439508
lea eax, [esp + 0x34]
lea ecx, [edi + 0x178]
push eax
call fcn.004be87a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0x10
call fcn.004c58c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x10]
push 0x51c8ec
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 0x11
call fcn.004c5b9f
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.004c5787
push ebx
lea eax, [esp + 0x28]
push ebp
push eax
lea ecx, [edi + 0x178]
call fcn.004be87a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0x12
call fcn.004c58c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], bl
call fcn.004c5787
lea ecx, [esp + 0x14]
push 0x51c3b0
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004c5a1c
push eax
mov ecx, esi
mov byte [esp + 0x44], 0x13
call fcn.004c5b9f
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x18]
call fcn.004c5787
mov eax, dword [esp + 0x48]
mov ecx, dword [edi + 0x194]
push 2
lea ebp, [eax - 1]
push ebp
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
test ebp, ebp
mov dword [esp + 0x48], eax
jge 0x4393e6
push 0x51c3b0
mov ecx, esi
call fcn.004bdb3c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.004c5787
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.004c5787
pop ebp
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4