Function at 0x1004fb10
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101f9744
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
cmp ecx, 0x2e
mov edi, edx
mov dword [esp + 0x34], edi
jne 0x1004ff24
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0xd0], esi
push edi
lea eax, [esp + 0x20]
call fcn.1004f8f0
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1004fb8c
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
jne 0x1004fbb9
mov dword [esp + 0xd0], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1004fba8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jmp 0x1004ff37
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov byte [esp + 0x1b], 1
shr eax, 0xf
not al
and al, 1
je 0x1004fdf5
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x1004fc19
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 2
cmp eax, 1
jne 0x1004fc19
cmp eax, esi
ja 0x1004fbf7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push edx
push edi
call fcn.1004e710
mov dword [esp + 0xd0], 0xffffffff
lea esi, [esp + 0x1c]
call fcn.100a0ee0
jmp 0x1004ff37
mov dword [esp + 0x30], esi
mov byte [esp + 0xd0], 1
xor edi, edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0xd0], 2
call fcn.101a7380
mov ebp, dword [eax + 0x24]
cmp ebp, esi
mov dword [esp + 0x3c], ebp
je 0x1004fc4c
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, ebp
call edx
mov byte [esp + 0xd0], 3
cmp ebp, esi
je 0x1004fc90
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
mov ecx, ebp
call edx
mov edi, eax
lea esi, [esp + 0x2c]
call fcn.100b68e0
cmp dword [esp + 0x2c], 0
je 0x1004fc8a
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
mov edi, eax
lea esi, [esp + 0x30]
call fcn.100b68e0
mov edi, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], esi
mov word [esp + 0x64], si
mov byte [esp + 0xd0], 4
lea eax, [esp + 0x38]
push eax
call fcn.10045a60
mov bl, 5
mov byte [esp + 0xd0], bl
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1004fcfa
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0xa05c
lea eax, [esp + 0x48]
push eax
call edx
mov byte [esp + 0xd0], 6
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x68]
call fcn.10007880
mov byte [esp + 0xd0], bl
lea ecx, [esp + 0x44]
call fcn.10001dd0
lea eax, [esp + 0x7c]
push eax
call fcn.10052160
mov byte [esp + 0xd0], 7
cmp dword [esp + 0x74], 0
je 0x1004fd27
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x68]
lea ecx, [esp + 0xac]
call fcn.10007880
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1004fd3f
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov byte [esp + 0x9c], al
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x80]
call fcn.10050470
cmp eax, 1
jne 0x1004fe79
test esi, esi
mov al, byte [esp + 0x9c]
mov byte [esp + 0x1b], al
je 0x1004fd7c
mov edx, dword [esi]
mov eax, dword [esp + 0x9c]
mov edx, dword [edx + 0x4c]
push eax
mov ecx, esi
call edx
mov byte [esp + 0xd0], bl
lea eax, [esp + 0x7c]
push eax
call fcn.100521f0
mov byte [esp + 0xd0], 4
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1004fda4
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd0], 3
lea ecx, [esp + 0x60]
call fcn.10001dd0
mov byte [esp + 0xd0], 2
test ebp, ebp
je 0x1004fdcb
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov byte [esp + 0xd0], 1
test edi, edi
je 0x1004fde0
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov byte [esp + 0xd0], 0
test esi, esi
je 0x1004fdf5
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp edi, eax
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x1004fe0d
call ebx
mov eax, dword [esp + 0x24]
lea ebp, [esp + 0x1c]
cmp dword [esp + 0x20], eax
mov esi, eax
jbe 0x1004fe1b
call ebx
test ebp, ebp
je 0x1004fe27
lea ecx, [esp + 0x1c]
cmp ebp, ecx
je 0x1004fe29
call ebx
cmp edi, esi
je 0x1004fefb
test ebp, ebp
jne 0x1004fe37
call ebx
cmp edi, dword [ebp + 8]
jb 0x1004fe3e
call ebx
mov edx, dword [edi]
mov al, byte [esp + 0x1b]
mov esi, dword [esp + 0x34]
add esi, 0xf8
lea ebx, [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov byte [esp + 0x40], al
call fcn.100503f0
cmp edi, dword [ebp + 8]
jb 0x1004fe6a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 4
jmp 0x1004fe11
mov byte [esp + 0xd0], bl
lea ecx, [esp + 0x7c]
push ecx
call fcn.100521f0
mov byte [esp + 0xd0], 4
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1004fea1
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd0], 3
lea ecx, [esp + 0x60]
call fcn.10001dd0
mov byte [esp + 0xd0], 2
test ebp, ebp
je 0x1004fec8
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov byte [esp + 0xd0], 1
test edi, edi
je 0x1004fedd
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov byte [esp + 0xd0], 0
test esi, esi
je 0x1004fc00
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
jmp 0x1004fc00
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
push 0
push 0
push 0x50d
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0xd0], 0xffffffff
xor esi, esi
jmp 0x1004fb97
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x1004ff37
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x3f0]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.101d19cc
add esp, 0xc0
ret