Function at 0x10034880
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100a23c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x100a28d8]
mov dword [ebp - 0x24], esi
push edi
test esi, esi
je 0x100348a5
mov ebx, dword [esi + 0x74]
jmp 0x100348a7
xor ebx, ebx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movd xmm1, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cmp byte [ebx + 0x26], 0
je 0x10034937
mov eax, dword [0x100a28d8]
test eax, eax
je 0x100348f2
mov edi, dword [eax + 0x74]
jmp 0x100348f4
xor edi, edi
mov ecx, dword [eax + 0x3828]
lea esi, [eax + 0x3824]
test ecx, ecx
jns 0x1003491c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100227c0
push 0
push 0x10034750
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [edi + 0x26], 0
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x10]
mov ecx, edi
sub ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0xc]
mov edx, esi
sbb edx, dword [ebx + 0x14]
call fcn.1008bb00
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x28], xmm0
call fcn.1008bb00
movss xmm1, dword [ebp - 0x28]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x24]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], esi
call fcn.10033ed0
mov eax, dword [0x100a28d8]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2ecc], 0
je 0x100349e0
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x100349e0
mov esi, dword [0x100a28d8]
xorps xmm3, xmm3
push 0
push 0x210
lea ecx, [esi + 8]
call fcn.100031b0
mov dword [esi + 0x33c], 0x210
mov dword [esi + 0x8fc], 0xa0
mov eax, dword [0x100a28d8]
cmp byte [eax + 0x2f0c], 0
je 0x10034a28
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x10034a28
mov esi, dword [0x100a28d8]
xorps xmm3, xmm3
push 0
push 0x214
lea ecx, [esi + 8]
call fcn.100031b0
mov dword [esi + 0x340], 0x214
mov dword [esi + 0x90c], 0xa1
mov eax, dword [0x100a28d8]
cmp byte [eax + 0x2eec], 0
je 0x10034a6d
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x10034a6d
mov esi, dword [0x100a28d8]
xorps xmm3, xmm3
push 0
push 0x212
lea ecx, [esi + 8]
call fcn.100031b0
mov dword [esi + 0x228], 0x212
mov dword [esi + 0x904], 0x5b
mov eax, dword [0x100a28d8]
cmp byte [eax + 0x2f2c], 0
je 0x10034ab2
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x10034ab2
mov esi, dword [0x100a28d8]
xorps xmm3, xmm3
push 0
push 0x216
lea ecx, [esi + 8]
call fcn.100031b0
mov dword [esi + 0x22c], 0x216
mov dword [esi + 0x914], 0x5c
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x60], 0
je 0x10034ac0
or eax, 0xffffffff
jmp 0x10034acb
mov eax, dword [0x100a28d8]
mov eax, dword [eax + 0x428c]
cmp dword [ebx + 0x20], eax
je 0x10034ad8
mov dword [ebx + 0x20], eax
call fcn.10033da0
call fcn.10034190
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008ad82
mov esp, ebp
pop ebp
ret