Function at 0x431c70
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x7d8
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [0x5c9f20]
test ecx, ecx
push esi
push edi
je 0x431c8b
call fcn.0045aa70
mov ecx, ebp
call fcn.00561000
mov esi, eax
test esi, esi
je 0x431e6d
mov ecx, dword [esi + 0xbe8]
call fcn.004f0af0
test eax, eax
je 0x431e6d
mov eax, dword [esi + 0x71c]
cmp eax, 1
jne 0x431da5
mov al, byte [0x5c851c]
test al, al
je 0x431e6d
mov eax, dword [esi + 0x88c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19f
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x431e6d
mov ecx, dword [esi + 0x88c]
push 0
push edi
push 0x187
push ecx
call ebx
cmp eax, 0xffffffff
je 0x431e6d
test eax, eax
je 0x431e6d
mov eax, dword [esi + 0x88c]
lea edx, [esp + 0x18]
push edx
push edi
push 0x189
push eax
call ebx
mov al, byte [esp + 0x18]
test al, al
je 0x431e6d
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0xbe8]
lea ecx, [esp + 0x18]
call fcn.0050faa0
test al, al
je 0x431d68
jmp 0x431d50
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0xbe8]
call fcn.0050faa0
test al, al
jne 0x431d50
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
je 0x43213f
xor eax, eax
jmp 0x431d80
mov cl, byte [eax + 0x5c851c]
mov byte [esp + eax + 0x400], cl
inc eax
test cl, cl
jne 0x431d80
mov eax, dword [esi + 0xbe8]
push eax
push 0
push 0
push 1
push edx
jmp 0x432131
cmp eax, 4
jne 0x431f03
mov ecx, dword [esi + 0x88c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push ecx
call edi
cmp eax, 0xffffffff
je 0x431e6d
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esi + 0x88c]
push 0x189
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x431e6d
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x431df5
mov al, byte [esp + 0x18]
test al, al
je 0x431e6d
lea ecx, [esp + 0x19]
push 9
push ecx
call fcn.005912e0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x431e6d
mov byte [eax], 0
cmp byte [esp + 0x18], 0x20
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ecx
jne 0x431e3a
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x20
je 0x431e30
mov edx, dword [esi + 0xbe8]
mov eax, dword [edx + 0x1f20]
test eax, eax
je 0x431e81
cmp byte [ecx], 0
je 0x431e6d
nop
mov edx, dword [esi + 0xbe8]
call fcn.0050fa60
test al, al
mov ecx, dword [esp + 0x10]
jne 0x431e81
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0
jne 0x431e50
xor ecx, ecx
call fcn.0041f0a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d8
ret
cmp byte [ecx], 0
je 0x431e6d
mov eax, dword [esi + 0xbe8]
push eax
mov edx, 1
call fcn.004d5d90
test eax, eax
je 0x431e6d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x431ebb
mov ecx, dword [esp + 0x10]
push ecx
push str._join__n__s
lea edx, [esp + 0x408]
push edx
jmp 0x431ecd
mov eax, dword [esp + 0x10]
push eax
push str._join__s
lea ecx, [esp + 0x408]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esi + 0xbe8]
mov ecx, dword [esi]
add esp, 0xc
push esi
push 0
push 0
push 0
push 0
lea edx, [esp + 0x414]
call fcn.00440db0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 6
jne 0x431f41
push 0
push 0x1b5d
mov dword [0x5bfc08], eax
mov eax, dword [0x5f92ec]
mov edx, dword [esi + 0xbe8]
push 0x111
push eax
mov dword [0x5eee18], edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 7
jne 0x432040
mov ecx, dword [esi + 0x88c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x431e6d
mov edx, dword [esi + 0x88c]
push 0
push edi
push 0x199
push edx
call ebx
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.004f5e60
test eax, eax
je 0x431e6d
mov ecx, dword [eax + 0x3a8]
test ecx, ecx
jne 0x431fb2
mov ecx, dword [esi + 0xbe8]
mov dword [esp + 0x14], ecx
call fcn.004f0af0
test eax, eax
je 0x431e6d
mov al, byte [0x5c8620]
test al, al
je 0x431e6d
mov ecx, dword [esi + 0x88c]
lea eax, [esp + 0x18]
push eax
push edi
push 0x189
push ecx
call ebx
mov al, byte [esp + 0x18]
test al, al
je 0x431e6d
lea edx, [esp + 0x18]
push 0x20
push edx
call fcn.005912e0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x431ff9
mov byte [eax], 0
xor eax, eax
jmp 0x432000
mov cl, byte [eax + 0x5c8620]
mov byte [esp + eax + 0x400], cl
inc eax
test cl, cl
jne 0x432000
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
push 1
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x414]
call fcn.00440db0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 8
jne 0x432094
mov edx, dword [esi + 0x88c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push edx
call edi
cmp eax, 0xffffffff
je 0x431e74
mov edx, dword [esi + 0x88c]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x189
push edx
call edi
mov edx, dword [esi + 0xbe8]
lea ecx, [esp + 0x18]
call fcn.004d4fd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7d8
ret
cmp eax, 9
jne 0x431e6d
mov eax, dword [esi + 0x88c]
push 0
push 0
push 0x19f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 0xffffffff
je 0x431e6d
push edi
mov edx, 1
mov ecx, esi
call fcn.00431800
test eax, eax
jne 0x43213f
mov ecx, esi
call fcn.005612a0
test eax, eax
je 0x431e6d
mov cl, byte [esi + 0xb84]
test cl, cl
lea eax, [esi + 0xb84]
je 0x431e6d
lea edx, [esp + 0x400]
sub edx, eax
jmp 0x432100
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x432100
inc edi
push edi
lea ecx, [esp + 0x1c]
push 0x5a4998
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 0xbe8]
add esp, 0xc
push edx
push 0
push 0
push 1
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x414]
mov ecx, ebp
call fcn.00440db0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret