Function at 0x10035c50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c2b9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10080040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x1014e66c]
mov esi, dword [edx + 0x74]
test esi, esi
je 0x10035ed1
cmp dword [edx + 0x78], 0
je 0x10035ed1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1014d018]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1014d070]
cmp eax, dword [edi + 4]
jle 0x10035cfa
push 0x1014d070
call fcn.1006737a
add esp, 4
cmp dword [0x1014d070], 0xffffffff
jne 0x10035cf4
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.10063340
push 0x1014d070
mov dword [0x1014d068], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10067329
add esp, 4
mov edx, dword [0x1014e66c]
mov eax, dword [0x1014d068]
cmp dword [eax + esi], 4
jne 0x10035ed1
mov ecx, dword [edx + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x10035ed1
mov eax, dword [0x1014e68c]
cmp byte [eax], 0
je 0x10035d76
cmp byte [eax + 0x94], 0
je 0x10035d76
movzx eax, word [eax + 2]
test ax, ax
je 0x10035d76
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10035d76
cmp dword [0x1014d158], 0
jne 0x10035d64
push 0x10070874
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014d158], eax
jmp 0x10035d76
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x1014d158]
je 0x10035ed1
mov eax, dword [0x1014e68c]
cmp dword [eax + 0xe4], 0
je 0x10035ed1
mov esi, dword [ebp + 8]
test byte [esi + 0x24], 1
je 0x10035ed1
mov eax, dword [0x1014e66c]
mov ebx, dword [eax + 0x78]
mov eax, dword [0x1014d230]
cmp eax, dword [edi + 4]
jle 0x10035def
push 0x1014d230
call fcn.1006737a
add esp, 4
cmp dword [0x1014d230], 0xffffffff
jne 0x10035def
push str.m_flChargeBeginTime
push str.CTFPipebombLauncher
mov dword [ebp - 4], 1
call fcn.10063340
push 0x1014d230
mov dword [0x1014d234], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10067329
add esp, 4
mov ecx, dword [0x1014e66c]
mov eax, dword [ecx + 0x2c]
movss xmm0, dword [eax + 0xc]
mov eax, dword [0x1014d234]
subss xmm0, dword [eax + ebx]
mov eax, dword [0x1014d0a8]
mov ebx, dword [ecx + 0x78]
movss dword [ebp + 8], xmm0
cmp eax, dword [edi + 4]
jle 0x10035e61
push 0x1014d0a8
call fcn.1006737a
add esp, 4
cmp dword [0x1014d0a8], 0xffffffff
jne 0x10035e61
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.10063340
push 0x1014d0a8
mov dword [0x1014d030], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10067329
add esp, 4
mov eax, dword [0x1014d030]
cmp dword [eax + ebx], 0x47e
jne 0x10035e79
movss xmm0, dword [0x10076eec]
jmp 0x10035e81
movss xmm0, dword [0x10076eb4]
mov eax, dword [0x1014e68c]
movd xmm1, dword [eax + 0xe4]
mov eax, dword [0x1014e66c]
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + 0x14]
divss xmm1, xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
movss dword [ebp - 0x10], xmm1
call eax
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
movss xmm0, dword [ebp + 8]
fstp st(0)
comiss xmm0, dword [0x10076e84]
ja 0x10035ecd
comiss xmm0, dword [ebp - 0x10]
jb 0x10035ed1
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