Function at 0x10004d70
Capabilities:
Log keystrokes via polling

Disassembly:
mov ecx, dword [0x100096dc]
sub esp, 0x10
push edi
xor edi, edi
cmp ecx, edi
jne 0x10004dc1
push 0x50
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, edi
je 0x10004da3
push 0x82
push 0x64
push str.___4603_._.3_
mov ecx, eax
call section..text
jmp 0x10004da5
xor eax, eax
mov dword [0x100096dc], eax
mov dword [eax + 0x44], 1
mov eax, dword [0x100096dc]
mov dword [eax], 0xffffff00
pop edi
add esp, 0x10
ret
cmp dword [ecx + 0x40], edi
jne 0x10004dd1
call fcn.100035a0
mov ecx, dword [0x100096dc]
cmp dword [ecx + 0x44], edi
je 0x10004e6d
fldz
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [ecx + 0xac]
push edi
push ecx
fstp dword [esp]
push edi
push 1
lea edx, [esp + 0x18]
push edx
push 1
push esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call eax
mov eax, dword [0x100096dc]
mov ecx, dword [eax + 0x40]
imul ecx, dword [eax + 0x2c]
push edi
add ecx, 8
push ecx
push edi
push edi
push edi
push esi
call fcn.10003920
push esi
push 0xff00ff00
push 1
push 0x15
push 0x8c
push 7
push 8
call fcn.10003970
mov eax, dword [0x100096dc]
mov edx, dword [eax + 0x40]
imul edx, dword [eax + 0x2c]
push esi
push 0xff00ff00
push 1
add edx, 8
push edx
push 0x8c
push 0x20
push 8
call fcn.10003970
mov ecx, dword [0x100096dc]
add esp, 0x50
pop esi
mov eax, dword [0x100096ec]
push eax
call fcn.10005ac0
mov ecx, dword [0x100096dc]
pop edi
add esp, 0x10
jmp 0x10005c60
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
push 0x2d
mov esi, ecx
call ebp
xor ebx, ebx
test al, 1
je 0x10005c80
xor eax, eax
cmp dword [esi + 0x44], ebx
sete al
mov dword [esi + 0x44], eax
cmp dword [esi + 0x44], ebx
je 0x10005d57
push 0x26
call ebp
test al, 1
je 0x10005cb2
mov eax, dword [esi + 0x48]
or ecx, 0xffffffff
add dword [esi + 0x3c], ecx
jns 0x10005ca3
mov edx, dword [esi + 0x40]
dec edx
mov dword [esi + 0x3c], edx
mov edx, dword [esi + 0x3c]
mov edx, dword [eax + edx*4]
cmp dword [edx], 2
je 0x10005c97
pop esi
pop ebp
pop ebx
ret
push 0x28
call ebp
mov ecx, dword [esi + 0x48]
test al, 1
je 0x10005cda
mov eax, dword [esi + 0x40]
inc dword [esi + 0x3c]
cmp dword [esi + 0x3c], eax
jne 0x10005ccb
mov dword [esi + 0x3c], ebx
mov edx, dword [esi + 0x3c]
mov edx, dword [ecx + edx*4]
cmp dword [edx], 2
je 0x10005cc0
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi + 0x3c]
mov edx, dword [ecx + eax*4]
cmp dword [edx + 0xc], ebx
je 0x10005d57
push edi
push 0x25
xor edi, edi
call ebp
test al, 1
je 0x10005d03
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0xc]
cmp dword [eax], ebx
jle 0x10005d03
or edi, 0xffffffff
push 0x27
call ebp
test al, 1
je 0x10005d26
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x48]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
dec ecx
cmp dword [edx], ecx
jge 0x10005d26
mov edi, 1
jmp 0x10005d2a
cmp edi, ebx
je 0x10005d56
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0xc]
add dword [eax], edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + eax*4]
cmp dword [edx], 1
lea eax, [ecx + eax*4]
jne 0x10005d4c
mov dword [esi + 0x40], ebx
mov eax, dword [eax]
cmp dword [eax], 4
jne 0x10005d56
mov dword [esi + 0x40], ebx
pop edi
pop esi
pop ebp
pop ebx
ret