Function at 0x4903df
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4f4afc
call fcn.004e6580
sub esp, 0x38
push esi
mov esi, ecx
mov eax, dword [esi + 0x158]
push edi
xor edi, edi
cmp eax, edi
je 0x4905e5
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
mov dword [ebp - 0x14], edi
call ebx
test ax, ax
jl 0x490415
push 0xa1
call ebx
test ax, ax
jge 0x49041c
mov dword [ebp - 0x14], 1
lea ecx, [esi + 0x164]
mov dword [ebp - 0x18], edi
call fcn.0048bb66
mov ebx, 0x5129dc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov ecx, dword [esi + 0x14c]
mov dword [ebp - 4], edi
call fcn.0048bbb9
cmp eax, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], edi
jle 0x4905ca
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0048cfd7
mov edi, eax
push dword [edi + 4]
mov ecx, esi
push dword [edi]
call fcn.0048c65c
test eax, eax
je 0x49049b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0043e703
push dword [edi + 4]
lea ecx, [esi + 0x164]
push dword [edi]
call fcn.0048f5fe
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
jmp 0x4904a2
mov dword [ebp - 0x18], 1
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jl 0x49045a
xor edi, edi
cmp dword [ebp - 0x28], 1
jl 0x4905ca
cmp dword [ebp - 0x28], edi
jle 0x4904e7
push edi
lea ecx, [ebp - 0x30]
call fcn.004060c4
push dword [eax]
mov ecx, esi
call fcn.0048cfd7
push dword [eax + 4]
mov ecx, dword [esi + 0x124]
push dword [eax]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x38]
inc edi
cmp edi, dword [ebp - 0x28]
jl 0x4904be
mov eax, dword [esi + 0x124]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x3c]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.00482aa5
xor edi, edi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00411073
mov ebx, eax
test ebx, ebx
jle 0x49055b
push edi
lea ecx, [ebp - 0x10]
call fcn.0048c7bc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x14]
push edx
push eax
push ecx
lea ecx, [esi + 0x164]
call fcn.0048e7b5
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x3c]
call fcn.0043e703
inc edi
cmp edi, ebx
jl 0x490529
push 0x4a7600
push 0x48b949
push 4
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.004a76e0
add esp, 0x14
xor edi, edi
test ebx, ebx
jle 0x490599
push edi
lea ecx, [ebp - 0x44]
call fcn.004060c4
mov eax, dword [eax]
push 1
push eax
lea ecx, [esi + 0x150]
call fcn.004b3659
inc edi
cmp edi, ebx
jl 0x49057b
mov ecx, esi
call fcn.0048c37e
cmp dword [ebp - 0x28], ebx
jne 0x4905b2
cmp dword [ebp - 0x18], 0
je 0x4905b2
mov ecx, esi
call fcn.0048ef6b
lea ecx, [ebp - 0x44]
call fcn.0048bc0f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.004110b4
xor edi, edi
jmp 0x4905d1
mov ecx, esi
call fcn.0048ef6b
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x30]
call fcn.004b3d64
lea ecx, [ebp - 0x30]
call fcn.0048bc0f
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret