Function at 0x4376d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7ea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x4d93ac]
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 0x437750
push 0xffffffffffffffff
push 0
push 0xef78
call fcn.00412c60
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0048fb71
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0048fb71
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 0x437773
lea eax, [edi - 0x7800]
mov dword [0x4ddea0], 3
mov dword [ebp - 0x1c], eax
jmp 0x437800
mov eax, dword [0x4ddea0]
lea ecx, [edi - 0x7600]
cmp eax, 2
mov dword [ebp - 0x1c], ecx
jne 0x4377fb
mov eax, dword [esi + 0xbb0]
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.0048c2a9
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0048cc57
lea ecx, [ebp - 0x14]
call fcn.00488459
lea ecx, [ebp - 0x14]
call fcn.0048840d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x437889
mov eax, dword [esi + 0xbb4]
push 0
push 0
push 0x407
mov eax, dword [eax + 0x1c]
push eax
call ebx
push eax
call fcn.0048c2a9
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0048f12d
jmp 0x437889
cmp eax, 3
jne 0x437855
push 0x4dd884
lea ecx, [ebp - 0x14]
call fcn.0048fcaa
lea ecx, [ebp - 0x14]
call fcn.00488459
lea ecx, [ebp - 0x14]
call fcn.0048840d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x437883
mov eax, dword [esi + 0xbb4]
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.0048c2a9
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0048f12d
jmp 0x437889
mov eax, dword [esi + 0xbb4]
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.0048c2a9
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0048cc57
jmp 0x437889
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x14]
mov dword [0x4ddea0], 1
call fcn.00488459
lea ecx, [ebp - 0x14]
call fcn.0048840d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x437907
mov ecx, dword [esi + 0xe4]
test ecx, ecx
jne 0x437907
lea edi, [esi + 0x258]
push 0
push eax
mov ecx, edi
call fcn.0048a712
test eax, eax
jne 0x437904
lea edx, [ebp - 0x14]
mov ecx, edi
push edx
call fcn.0048a595
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 + 0xbb4]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
call fcn.004896b8
mov edi, dword [ebp + 8]
cmp edi, 0x7600
jae 0x43796e
xor edi, edi
mov edx, dword [esi + 0x644]
dec edx
cmp edi, edx
jg 0x437a51
mov eax, dword [esi + 0x640]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x43796b
cmp dword [eax], 0
je 0x43796b
add eax, 8
lea ecx, [ebp - 0x18]
push eax
call fcn.0048fcaa
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0048f8e6
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 3
call fcn.0048f8e6
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00437ac0
inc edi
jmp 0x437911
mov ecx, dword [esi + 0x640]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x437a51
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4379c1
mov ecx, dword [edi]
mov eax, 1
sub eax, ecx
push 0
mov dword [edi], eax
mov eax, dword [esi + 0xbb4]
push 0
push 0x407
mov ecx, dword [eax + 0x1c]
push ecx
call ebx
push eax
call fcn.0048c2a9
mov ecx, eax
call fcn.0048f2db
jmp 0x437a51
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x437a18
xor eax, eax
mov edx, dword [esi + 0x644]
dec edx
cmp eax, edx
jg 0x4379ee
mov ecx, dword [esi + 0x640]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx], 0
jmp 0x4379d0
mov dword [edi], 1
mov eax, dword [esi + 0xbb4]
push 0
push 0
mov eax, dword [eax + 0x1c]
push 0x407
push eax
call ebx
push eax
call fcn.0048c2a9
mov ecx, eax
call fcn.0048f2db
jmp 0x437a51
add edi, 8
lea ecx, [ebp - 0x18]
push edi
call fcn.0048fcaa
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0048f8e6
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 4
call fcn.0048f8e6
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00437ac0
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0048c2a9
mov edi, eax
mov eax, dword [esi + 0xbb4]
push 0
push 0
mov ecx, dword [eax + 0x1c]
push 0x407
push ecx
call ebx
push eax
call fcn.0048c2a9
cmp edi, eax
jne 0x437725
push 0
mov ecx, esi
call fcn.0049ca17
test eax, eax
je 0x437725
mov eax, dword [eax + 0xf8]
test eax, eax
je 0x437725
mov ecx, eax
call fcn.0048f2db
jmp 0x437725