Function at 0x437b70
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x613878]
sub esp, 0x7d8
test eax, eax
je 0x437b88
push eax
call fcn.00462da0
add esp, 4
push ebx
push ebp
mov ebp, dword [esp + 0x7e4]
push esi
push edi
push ebp
call fcn.005827d0
mov esi, eax
add esp, 4
test esi, esi
je 0x437da2
mov eax, dword [esi + 0xbf4]
push eax
call fcn.00502a60
add esp, 4
test eax, eax
je 0x437da2
mov eax, dword [esi + 0x71c]
cmp eax, 1
jne 0x437cd1
mov al, byte [0x611c84]
test al, al
je 0x437da2
mov ecx, dword [esi + 0x88c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19f
push ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x437da2
mov edx, dword [esi + 0x88c]
push 0
push edi
push 0x187
push edx
call ebx
cmp eax, 0xffffffff
je 0x437da2
test eax, eax
je 0x437da2
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 0x437da2
lea edx, [esp + 0x18]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0xbf4]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00522540
add esp, 8
test al, al
je 0x437c7d
mov edi, edi
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0xbf4]
push edx
push eax
call fcn.00522540
add esp, 8
test al, al
jne 0x437c60
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
je 0x437cc1
xor eax, eax
jmp 0x437c90
mov cl, byte [eax + 0x611c84]
mov byte [esp + eax + 0x400], cl
inc eax
test cl, cl
jne 0x437c90
mov eax, dword [esi + 0xbf4]
push eax
push 0
push 0
push 1
push edx
lea ecx, [esp + 0x414]
push ecx
push ebp
call fcn.00447670
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 4
jne 0x437e41
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 0x437da2
mov edx, dword [esi + 0x88c]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x189
push edx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x437da2
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x437d21
mov al, byte [esp + 0x18]
test al, al
je 0x437da2
lea eax, [esp + 0x19]
push 9
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x437da2
mov byte [eax], 0
cmp byte [esp + 0x18], 0x20
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
jne 0x437d6a
lea esp, [esp]
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0x20
je 0x437d60
mov ecx, dword [esi + 0xbf4]
mov edx, dword [ecx + 0x1f20]
test edx, edx
je 0x437db9
cmp byte [eax], 0
je 0x437da2
nop
mov edx, dword [esi + 0xbf4]
push edx
push eax
call fcn.00522500
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
jne 0x437db9
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0
jne 0x437d80
push 0
call fcn.00421c80
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d8
ret
cmp byte [eax], 0
je 0x437da2
mov ecx, dword [esi + 0xbf4]
push ecx
push 1
push eax
call fcn.004e5550
add esp, 0xc
test eax, eax
je 0x437da2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x437df4
mov edx, dword [esp + 0x10]
push edx
push str._join__n__s
lea eax, [esp + 0x408]
push eax
jmp 0x437e06
mov ecx, dword [esp + 0x10]
push ecx
push str._join__s
lea edx, [esp + 0x408]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esi + 0xbf4]
mov ecx, dword [esi]
add esp, 0xc
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x414]
push eax
push ecx
call fcn.00447670
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 6
jne 0x437e93
mov dword [0x609c58], eax
mov edx, dword [esi + 0xbf4]
mov eax, dword [edx]
push 0x63b648
mov dword [0x63b648], eax
call fcn.00502c00
mov ecx, dword [0x645324]
add esp, 4
push 0
push 0x1b5d
push 0x111
push ecx
mov dword [0x63b64c], eax
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 0x437fa5
mov edx, dword [esi + 0x88c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push edx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x437da2
mov ecx, dword [esi + 0x88c]
lea eax, [esp + 0x14]
push eax
push 0
push edi
push 0x199
push ecx
call ebx
push eax
call fcn.00508c70
add esp, 8
test eax, eax
je 0x437da2
mov ecx, dword [eax + 0x40c]
test ecx, ecx
jne 0x437f0b
mov eax, dword [esi + 0xbf4]
push eax
mov dword [esp + 0x18], eax
call fcn.00502a60
add esp, 4
test eax, eax
je 0x437da2
mov al, byte [0x611d88]
test al, al
je 0x437da2
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 0x437da2
lea ecx, [esp + 0x18]
push 0x20
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x437f52
mov byte [eax], 0
xor eax, eax
jmp 0x437f60
mov cl, byte [eax + 0x611d88]
mov byte [esp + eax + 0x400], cl
inc eax
test cl, cl
jne 0x437f60
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
push 1
lea edx, [esp + 0x28]
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x414]
push ecx
push edx
call fcn.00447670
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 8
jne 0x437ffe
mov eax, dword [esi + 0x88c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push eax
call edi
cmp eax, 0xffffffff
je 0x437dac
mov edx, dword [esi + 0x88c]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x189
push edx
call edi
mov eax, dword [esi + 0xbf4]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004e4630
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7d8
ret
cmp eax, 9
jne 0x437da2
mov edx, dword [esi + 0x88c]
push 0
push 0
push 0x19f
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 0xffffffff
je 0x437da2
push str.custom
push edi
push 1
push esi
call fcn.00437640
add esp, 0x10
test eax, eax
jne 0x4380af
push esi
call fcn.00582ac0
add esp, 4
test eax, eax
je 0x437da2
mov cl, byte [esi + 0xb90]
test cl, cl
lea eax, [esi + 0xb90]
je 0x437da2
lea edx, [esp + 0x400]
sub edx, eax
jmp 0x438070
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x438070
inc edi
push edi
lea eax, [esp + 0x1c]
push 0x5e6a4c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 0xbf4]
push ecx
push 0
push 0
push 1
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x420]
push eax
push ebp
call fcn.00447670
add esp, 0x28
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret