Function at 0x10034b90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a769
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1007e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x1014c5bc]
mov esi, dword [edx + 0x74]
test esi, esi
je 0x10034e16
cmp dword [edx + 0x78], 0
je 0x10034e16
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1014af98]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1014aff0]
cmp eax, dword [edi + 4]
jle 0x10034c3a
push 0x1014aff0
call fcn.1006592a
add esp, 4
cmp dword [0x1014aff0], 0xffffffff
jne 0x10034c34
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.100618f0
push 0x1014aff0
mov dword [0x1014afe8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100658d9
add esp, 4
mov edx, dword [0x1014c5bc]
mov eax, dword [0x1014afe8]
cmp dword [eax + esi], 4
jne 0x10034e16
mov ecx, dword [edx + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x10034e16
mov ecx, dword [0x1014c5dc]
cmp byte [ecx], 0
je 0x10034cba
cmp byte [ecx + 0x40], 0
je 0x10034cba
movzx eax, word [ecx + 2]
test ax, ax
je 0x10034cba
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10034cb4
cmp dword [0x1014b0d8], 0
jne 0x10034ca2
push 0x1006e84c
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014b0d8], eax
jmp 0x10034cb4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x1014b0d8]
je 0x10034e16
mov ecx, dword [0x1014c5dc]
cmp dword [ecx + 0x68], 0
je 0x10034e16
mov esi, dword [ebp + 8]
test byte [esi + 0x24], 1
je 0x10034e16
mov edx, dword [0x1014c5bc]
mov eax, dword [0x1014b1b0]
mov ebx, dword [edx + 0x78]
cmp eax, dword [edi + 4]
jle 0x10034d38
push 0x1014b1b0
call fcn.1006592a
add esp, 4
cmp dword [0x1014b1b0], 0xffffffff
jne 0x10034d2c
push str.m_flChargeBeginTime
push str.CTFPipebombLauncher
mov dword [ebp - 4], 1
call fcn.100618f0
push 0x1014b1b0
mov dword [0x1014b1b4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100658d9
add esp, 4
mov ecx, dword [0x1014c5dc]
mov edx, dword [0x1014c5bc]
mov eax, dword [edx + 0x2c]
movss xmm0, dword [eax + 0xc]
mov eax, dword [0x1014b1b4]
subss xmm0, dword [eax + ebx]
movss dword [ebp - 0x14], xmm0
movd xmm0, dword [ecx + 0x68]
mov ecx, dword [edx + 0x14]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
divss xmm0, dword [0x10074bf0]
mov eax, dword [eax + 0x120]
movss dword [ebp - 0x10], xmm0
call eax
push 0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x24]
mov dword [ebp + 8], ecx
mov ecx, eax
call dword [ebp + 8]
mov eax, dword [0x1014c5bc]
fstp st(0)
mov ebx, dword [eax + 0x78]
mov eax, dword [0x1014b028]
cmp eax, dword [edi + 4]
jle 0x10034dd5
push 0x1014b028
call fcn.1006592a
add esp, 4
cmp dword [0x1014b028], 0xffffffff
jne 0x10034dd5
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.100618f0
push 0x1014b028
mov dword [0x1014afb0], eax
call fcn.100658d9
add esp, 4
mov eax, dword [0x1014afb0]
cmp dword [eax + ebx], 0x47e
jne 0x10034dfa
mov eax, dword [0x1014c5dc]
movd xmm0, dword [eax + 0x68]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x10074c30]
jmp 0x10034dff
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x14]
comiss xmm1, dword [0x10074bbc]
ja 0x10034e16
comiss xmm1, xmm0
jb 0x10034e16
and dword [esi + 0x24], 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4