Function at 0x47e690
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4f8194]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x47e8db
push ebx
mov ebx, dword [0x504d88]
test ebx, ebx
je 0x47e8da
cmp byte [ebp + 0xc], 0
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
jne 0x47e760
push 0x3f
lea eax, [ebp - 0xaf]
mov byte [ebp - 0xb0], 0
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x50
lea eax, [ebp - 0x70]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [ebx]
lea ecx, [ebp - 0xb0]
add esp, 0x18
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 0x1f
mov ecx, ebx
call dword [eax + 0x8c]
test eax, eax
je 0x47e8da
push 1
push 1
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00498f80
add esp, 0x10
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004becb4
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x4fa160
call fcn.004286d0
cmp eax, 4
je 0x47e88d
cmp eax, 2
je 0x47e88d
cmp eax, 1
jne 0x47e7b4
call fcn.004974c0
test eax, eax
jne 0x47e797
call fcn.00491db0
test eax, eax
je 0x47e8da
push 3
push esi
mov ecx, edi
call fcn.0047fb20
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004becb4
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x200
jne 0x47e80b
call fcn.00446ab0
test eax, eax
je 0x47e7e1
push 4
push esi
mov ecx, edi
call fcn.0047fb20
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004becb4
mov esp, ebp
pop ebp
ret 8
call fcn.004a6cb0
test eax, eax
je 0x47e8da
push 5
push esi
mov ecx, edi
call fcn.0047fb20
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004becb4
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x100
jne 0x47e83c
call fcn.004830e0
test eax, eax
je 0x47e8da
push 1
push esi
mov ecx, edi
call fcn.0047fb20
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004becb4
mov esp, ebp
pop ebp
ret 8
test eax, eax
jne 0x47e8da
push 2
push esi
mov ecx, edi
call fcn.0047fb20
test eax, eax
jne 0x47e8da
push 2
mov ecx, 0x4fa160
call fcn.00428950
test eax, eax
je 0x47e8da
mov ecx, dword [0x504d88]
lea edx, [ebp - 0x20]
push dword [esi + 0x18]
push edx
mov eax, dword [ecx]
push 1
call dword [eax + 0x1c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004becb4
mov esp, ebp
pop ebp
ret 8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x47e8c5
mov ecx, dword [0x504d88]
lea edx, [ebp - 0x20]
push 1
push edx
push 0x15
mov eax, dword [ecx]
call dword [eax + 0x18]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004becb4
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push 0x2c
push 0x4dd954
call fcn.0048bba0
add esp, 0x14
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004becb4
mov esp, ebp
pop ebp
ret 8