Function at 0x436960
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x4d8094]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x644]
mov byte [ebp - 4], 2
cmp eax, 1
jge 0x4369e0
push 0xffffffffffffffff
push 0
push 0xef78
call fcn.00411e30
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0048f641
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0048f641
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
cmp edi, 0x7800
jb 0x436a03
lea eax, [edi - 0x7800]
mov dword [0x4deba0], 3
mov dword [ebp - 0x1c], eax
jmp 0x436a90
mov eax, dword [0x4deba0]
lea ecx, [edi - 0x7600]
cmp eax, 2
mov dword [ebp - 0x1c], ecx
jne 0x436a8b
mov eax, dword [esi + 0xba0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov edx, dword [eax + 0x1c]
push 0x407
push edx
call ebx
push eax
call fcn.0048bd5a
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0048c724
lea ecx, [ebp - 0x14]
call fcn.00487efe
lea ecx, [ebp - 0x14]
call fcn.00487eb2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x436b19
mov eax, dword [esi + 0xba4]
push 0
push 0
push 0x407
mov eax, dword [eax + 0x1c]
push eax
call ebx
push eax
call fcn.0048bd5a
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0048ebfd
jmp 0x436b19
cmp eax, 3
jne 0x436ae5
push 0x4de584
lea ecx, [ebp - 0x14]
call fcn.0048f77a
lea ecx, [ebp - 0x14]
call fcn.00487efe
lea ecx, [ebp - 0x14]
call fcn.00487eb2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x436b13
mov eax, dword [esi + 0xba4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov eax, dword [eax + 0x1c]
push 0x407
push eax
call ebx
push eax
call fcn.0048bd5a
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0048ebfd
jmp 0x436b19
mov eax, dword [esi + 0xba4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov edx, dword [eax + 0x1c]
push 0x407
push edx
call ebx
push eax
call fcn.0048bd5a
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0048c724
jmp 0x436b19
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x14]
mov dword [0x4deba0], 1
call fcn.00487efe
lea ecx, [ebp - 0x14]
call fcn.00487eb2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x436b97
mov ecx, dword [esi + 0xe4]
test ecx, ecx
jne 0x436b97
lea edi, [esi + 0x258]
push 0
push eax
mov ecx, edi
call fcn.0048a1c4
test eax, eax
jne 0x436b94
lea edx, [ebp - 0x14]
mov ecx, edi
push edx
call fcn.0048a047
mov eax, 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [esi + 0xba4]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
call fcn.0048916a
mov edi, dword [ebp + 8]
cmp edi, 0x7600
jae 0x436bfe
xor edi, edi
mov edx, dword [esi + 0x644]
dec edx
cmp edi, edx
jg 0x436ce1
mov eax, dword [esi + 0x640]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x436bfb
cmp dword [eax], 0
je 0x436bfb
add eax, 8
lea ecx, [ebp - 0x18]
push eax
call fcn.0048f77a
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0048f3b6
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 3
call fcn.0048f3b6
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00436d50
inc edi
jmp 0x436ba1
mov ecx, dword [esi + 0x640]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x436ce1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x436c51
mov ecx, dword [edi]
mov eax, 1
sub eax, ecx
push 0
mov dword [edi], eax
mov eax, dword [esi + 0xba4]
push 0
push 0x407
mov ecx, dword [eax + 0x1c]
push ecx
call ebx
push eax
call fcn.0048bd5a
mov ecx, eax
call fcn.0048edab
jmp 0x436ce1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x436ca8
xor eax, eax
mov edx, dword [esi + 0x644]
dec edx
cmp eax, edx
jg 0x436c7e
mov ecx, dword [esi + 0x640]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx], 0
jmp 0x436c60
mov dword [edi], 1
mov eax, dword [esi + 0xba4]
push 0
push 0
mov eax, dword [eax + 0x1c]
push 0x407
push eax
call ebx
push eax
call fcn.0048bd5a
mov ecx, eax
call fcn.0048edab
jmp 0x436ce1
add edi, 8
lea ecx, [ebp - 0x18]
push edi
call fcn.0048f77a
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0048f3b6
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 4
call fcn.0048f3b6
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00436d50
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0048bd5a
mov edi, eax
mov eax, dword [esi + 0xba4]
push 0
push 0
mov ecx, dword [eax + 0x1c]
push 0x407
push ecx
call ebx
push eax
call fcn.0048bd5a
cmp edi, eax
jne 0x4369b5
push 0
mov ecx, esi
call fcn.0049c4d4
test eax, eax
je 0x4369b5
mov eax, dword [eax + 0xf8]
test eax, eax
je 0x4369b5
mov ecx, eax
call fcn.0048edab
jmp 0x4369b5