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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x10157040]
xor eax, esp
mov dword [esp + 0xa8], eax
cmp dword [0x1018f3e4], 0
mov eax, dword [0x1018f3d8]
push ebx
push esi
mov esi, dword [0x1018f3dc]
push edi
mov edi, dword [0x1018f810]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jne 0x1002522e
push 0x1018f3e4
push edi
call dword [sym.imp.d3dx9_43.dll_D3DXCreateLine]
cmp dword [0x1018f3e4], 0
je 0x100257a1
cmp dword [0x101d38c0], 0
je 0x100257a1
xor ebx, ebx
test edi, edi
je 0x10025297
mov ecx, dword [0x1018f6d4]
mov eax, dword [ecx]
call dword [eax + 0xe0]
push ecx
push ecx
fstp qword [esp]
push str._.2f
lea eax, [esp + 0x5c]
push 0x40
push eax
call fcn.1002941b
add esp, 0x14
lea eax, [esp + 0x50]
add esi, 0xfffffffb
push eax
push 0xff008700
push ebx
push ebx
push 1
push eax
call fcn.10004720
movd xmm1, esi
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
push eax
call fcn.10021aeb
add esp, 0x14
cmp byte [0x1018ef40], bl
je 0x100252b3
movss xmm0, dword [0x10137678]
mov edx, 0xff00ff00
mov ecx, edi
call fcn.10023071
cmp byte [0x1018ef6c], bl
je 0x100257a1
cmp dword [0x101d38c0], ebx
je 0x100257a1
cmp dword [0x101d38bc], ebx
je 0x100257a1
cmp dword [0x1018f6dc], ebx
je 0x1002552f
xor edx, edx
or ecx, 0xffffffff
call fcn.10032004
mov esi, eax
push 9
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x100257a1
mov ecx, dword [0x1018f7ac]
cmp dword [ecx], ebx
jne 0x100257a1
test esi, esi
je 0x100257a1
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x1018f6dc]
lea edi, [esp + 0x3c]
push 5
mov eax, dword [eax + 0x3de]
mov esi, dword [eax + 8]
add esi, 0xf004
add esi, ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x3c], 0
je 0x10025512
cmp dword [esp + 0x40], 0
je 0x10025512
lea esi, [esp + 0x44]
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10021740
test eax, eax
jne 0x10025512
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
mov edx, dword [eax + 0x14]
add edx, 0x30
call fcn.1002157e
comiss xmm0, dword [0x101376a8]
ja 0x10025512
movss xmm5, dword [esp + 0x48]
lea edi, [esp + 0x50]
movss xmm3, dword [esp + 0x4c]
movaps xmm4, xmm5
movss xmm2, dword [esp + 0x44]
movaps xmm0, xmm3
push 0x10
pop ecx
mov esi, 0xb6fa2c
movsd xmm1, qword [0x101374c8]
rep movsd dword es:[edi], dword [esi]
mulss xmm0, dword [esp + 0x78]
movaps xmm6, xmm5
mov eax, 0xc17044
mulss xmm4, dword [esp + 0x68]
mulss xmm6, dword [esp + 0x60]
mov eax, dword [eax]
addss xmm4, xmm0
mulss xmm5, dword [esp + 0x64]
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x58]
addss xmm4, xmm0
addss xmm4, dword [esp + 0x88]
cvtps2pd xmm0, xmm4
divsd xmm1, xmm0
movaps xmm0, xmm3
mulss xmm3, dword [esp + 0x74]
mulss xmm0, dword [esp + 0x70]
addss xmm5, xmm3
addss xmm6, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x50]
mulss xmm2, dword [esp + 0x54]
addss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addss xmm5, xmm2
addss xmm6, dword [esp + 0x80]
addsd xmm0, qword [eax*8 + 0x101378f0]
mov eax, 0xc17048
addss xmm5, dword [esp + 0x84]
mov eax, dword [eax]
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
mulss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
movss dword [esp + 0x10], xmm6
addsd xmm0, qword [eax*8 + 0x101378f0]
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
mulss xmm5, xmm0
movss xmm0, dword [0x10137464]
comiss xmm0, xmm4
movss dword [esp + 0x14], xmm5
ja 0x10025512
push dword [esp + 0x3c]
lea eax, [esp + 0x98]
push ebx
push str._Pickup:__d__ModelID:__d_
push 0x1f
push eax
call fcn.10028b71
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0xa8]
subss xmm0, dword [0x10137560]
movss xmm3, dword [esp + 0x24]
add esp, 0x10
push 1
push ecx
mov ecx, dword [0x101d38c0]
movss dword [esp], xmm0
push 0xff008700
push eax
call fcn.10004224
cvttss2si eax, dword [esp + 0x14]
push ecx
push eax
cvttss2si eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10004b0a
mov ecx, dword [esp + 0x18]
inc ebx
add ecx, 0x14
mov dword [esp + 0x18], ecx
cmp ecx, 0x14000
jl 0x10025320
jmp 0x100257a1
mov eax, dword [0x1018f6d0]
test eax, eax
je 0x100257a1
mov eax, dword [eax + 0x3cd]
test eax, eax
je 0x100257a1
cmp dword [eax + 0x20], ebx
je 0x100257a1
xor edx, edx
or ecx, 0xffffffff
call fcn.10032004
mov esi, eax
push 9
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x100257a1
mov ecx, dword [0x1018f7ac]
cmp dword [ecx], ebx
jne 0x100257a1
test esi, esi
je 0x100257a1
mov dword [esp + 0x14], ebx
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x1018f6d0]
mov eax, dword [eax + 0x3cd]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + ecx + 0xf004]
mov dword [esp + 0x28], edx
test edx, edx
je 0x1002578a
cmp dword [eax + ecx + 0xf008], ebx
je 0x1002578a
lea esi, [eax + 0xf00c]
add esi, ecx
lea edi, [esp + 0x2c]
lea ecx, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10021740
test eax, eax
jne 0x10025786
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
mov edx, dword [eax + 0x14]
add edx, 0x30
call fcn.1002157e
comiss xmm0, dword [0x101376a8]
ja 0x10025786
movss xmm5, dword [esp + 0x30]
lea edi, [esp + 0x50]
movss xmm3, dword [esp + 0x34]
movaps xmm4, xmm5
movss xmm2, dword [esp + 0x2c]
movaps xmm0, xmm3
push 0x10
pop ecx
mov esi, 0xb6fa2c
movsd xmm1, qword [0x101374c8]
rep movsd dword es:[edi], dword [esi]
mulss xmm0, dword [esp + 0x78]
movaps xmm6, xmm5
mov eax, 0xc17044
mulss xmm4, dword [esp + 0x68]
mulss xmm6, dword [esp + 0x60]
mov eax, dword [eax]
addss xmm4, xmm0
mulss xmm5, dword [esp + 0x64]
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x58]
addss xmm4, xmm0
addss xmm4, dword [esp + 0x88]
cvtps2pd xmm0, xmm4
divsd xmm1, xmm0
movaps xmm0, xmm3
mulss xmm3, dword [esp + 0x74]
mulss xmm0, dword [esp + 0x70]
addss xmm5, xmm3
addss xmm6, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x50]
mulss xmm2, dword [esp + 0x54]
addss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addss xmm5, xmm2
addss xmm6, dword [esp + 0x80]
addsd xmm0, qword [eax*8 + 0x101378f0]
mov eax, 0xc17048
addss xmm5, dword [esp + 0x84]
mov eax, dword [eax]
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
mulss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
movss dword [esp + 0x1c], xmm6
addsd xmm0, qword [eax*8 + 0x101378f0]
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
mulss xmm5, xmm0
movss xmm0, dword [0x10137464]
comiss xmm0, xmm4
movss dword [esp + 0x18], xmm5
ja 0x10025786
push dword [esp + 0x28]
lea eax, [esp + 0x98]
push dword [esp + 0x18]
push str._Pickup:__d__ModelID:__d_
push 0x1f
push eax
call fcn.10028b71
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0xa8]
subss xmm0, dword [0x10137560]
movss xmm3, dword [esp + 0x30]
add esp, 0x10
push 1
push ecx
mov ecx, dword [0x101d38c0]
movss dword [esp], xmm0
push 0xff008700
push eax
call fcn.10004224
cvttss2si eax, dword [esp + 0x18]
push ecx
push eax
cvttss2si eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x30]
push dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10004b0a
mov ecx, dword [esp + 0x10]
inc dword [esp + 0x14]
add ecx, 0x14
mov dword [esp + 0x10], ecx
cmp ecx, 0x14000
jl 0x10025594
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e1471
mov esp, ebp
pop ebp
ret