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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10236a90]
push esi
push edi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x102f76e0]
mov dword [esp + 0x14], esi
cmp eax, dword [esi + 4]
jle 0x1015257f
push 0x102f76e0
call fcn.1017dd04
add esp, 4
cmp dword [0x102f76e0], 0xffffffff
jne 0x1015257f
push 0x102f76e0
mov dword [0x102f7610], 0
mov dword [0x102f760c], 0
mov dword [0x102f7608], 0
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x102f76b8]
cmp eax, dword [esi + 4]
jle 0x101525cd
push 0x102f76b8
call fcn.1017dd04
add esp, 4
cmp dword [0x102f76b8], 0xffffffff
jne 0x101525cd
push 0x102f76b8
mov dword [0x102f76ec], 0
mov dword [0x102f76e8], 0
mov dword [0x102f76e4], 0
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x102f75f4]
cmp eax, dword [esi + 4]
jle 0x10152611
push 0x102f75f4
call fcn.1017dd04
add esp, 4
cmp dword [0x102f75f4], 0xffffffff
jne 0x10152611
push 0x102f75f4
mov dword [0x102f7634], 0
mov dword [0x102f7630], 0x102f433c
call fcn.1017dcb3
add esp, 4
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.10066980
test al, al
jne 0x10152638
cmp dword [0x102f433c], 0
je 0x10152638
mov eax, dword [0x102f7630]
mov eax, dword [eax]
test eax, eax
jne 0x10152673
mov dword [0x102f7634], eax
mov byte [0x102ee540], 0
mov byte [0x102ee4e4], 0
mov dword [0x10234780], 0
mov dword [0x10234784], 0
mov dword [0x10234788], 0
mov byte [0x102ee4f0], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x102f7634], eax
je 0x10152638
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
cmp byte [0x102ee4e4], 0
movss xmm0, dword [eax]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x48], xmm0
jne 0x10152702
mov ecx, edi
call fcn.10066ca0
test al, al
je 0x101527dd
movss xmm0, dword [esp + 0x40]
movss dword [0x10234780], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [0x10234784], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [0x10234788], xmm0
mov byte [0x102ee4e4], 1
jmp 0x101527dd
mov ecx, dword [esp + 0x14]
mov eax, dword [0x102f7674]
cmp eax, dword [ecx + 4]
jle 0x1015275a
push 0x102f7674
call fcn.1017dd04
add esp, 4
cmp dword [0x102f7674], 0xffffffff
jne 0x1015275a
xorps xmm0, xmm0
lea ecx, [esp + 0x20]
movlpd qword [0x102f76b0], xmm0
call fcn.10078510
push 0x102f7674
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x102f76b0], ecx
mov dword [0x102f76b4], eax
call fcn.1017dcb3
add esp, 4
lea ecx, [esp + 0x20]
call fcn.10078510
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x102f76b0]
mov eax, dword [esp + 0x24]
sbb eax, dword [0x102f76b4]
mov dword [esp + 0x24], eax
js 0x1015278b
jg 0x10152787
cmp ecx, 0x29b92700
jb 0x1015278b
mov al, 1
jmp 0x1015278d
xor al, al
test al, al
je 0x101527dd
lea ecx, [esp + 0x128]
call fcn.10078510
mov edx, 0x10234780
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x102f76b4], eax
lea eax, [esp + 0x34]
push ecx
mov dword [0x102f76b0], ecx
mov ecx, 0x10219df8
push eax
call fcn.101331c0
add esp, 8
cmp byte [0x102f4494], 0
jne 0x10152d7d
cmp byte [0x102ee540], 0
jne 0x10152cc3
mov ecx, edi
call fcn.10066ca0
test al, al
je 0x10152ca9
mov ecx, dword [0x10236ddc]
lea edx, [esp + 0x4c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x4c]
call eax
movss xmm1, dword [0x1021e88c]
lea eax, [esp + 0x20]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
movss dword [esp + 0x30], xmm0
lea eax, [esp + 0x6c]
movss xmm0, dword [esp + 0x4c]
xorps xmm2, xmm2
mulss xmm0, xmm1
mov dword [esp + 0x18], eax
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x50]
lea eax, [esp + 0x74]
mulss xmm0, xmm1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x54]
lea eax, [esp + 0x64]
mulss xmm0, xmm1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm7, dword [esp + 0x68]
movss xmm3, dword [esp + 0x64]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0x70]
mulss xmm3, dword [0x1021ec28]
movaps xmm5, xmm1
push 0x41
mulss xmm2, dword [esp + 0x70]
movss xmm6, dword [esp + 0x78]
xorps xmm5, xmmword [0x1021ef40]
movaps xmm0, xmm6
mulss xmm7, dword [0x1021ec28]
mulss xmm5, xmm3
mulss xmm7, dword [esp + 0x24]
mulss xmm0, xmm2
mulss xmm6, xmm3
mulss xmm1, xmm2
subss xmm5, xmm0
movss dword [esp + 0x18], xmm7
subss xmm6, xmm1
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x20], xmm6
call esi
test ax, ax
js 0x1015297c
push 0x57
call esi
test ax, ax
js 0x1015297c
push 0x44
call esi
test ax, ax
js 0x1015297c
push 0x53
call esi
test ax, ax
jns 0x10152ca9
xor eax, eax
mov dword [esp + 0x80], 0
push 0x41
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x24], vtable.CTraceFilterWorldAndPropsOnly.0
mov dword [esp + 0x28], eax
call esi
test ax, ax
js 0x10152aa0
push 0x57
call esi
test ax, ax
js 0x10152aa0
push 0x44
call esi
test ax, ax
js 0x10152a39
push 0x53
call esi
test ax, ax
jns 0x10152b11
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10074140
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm1, dword [0x102f4090]
movss xmm0, dword [esi]
movaps xmm2, xmm1
mulss xmm2, dword [esp + 0x18]
addss xmm0, dword [eax]
addss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x1c]
mulss xmm1, dword [esp + 0x14]
movss dword [esp + 0x28], xmm2
movss xmm2, dword [esi + 4]
addss xmm2, dword [eax + 4]
addss xmm2, xmm0
movss xmm0, dword [esi + 8]
addss xmm0, dword [eax + 8]
addss xmm0, xmm1
jmp 0x10152b05
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10074140
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm1, dword [0x102f4090]
movss xmm2, dword [esi]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x18]
addss xmm2, dword [eax]
subss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x1c]
mulss xmm1, dword [esp + 0x14]
movss dword [esp + 0x28], xmm2
movss xmm2, dword [esi + 4]
addss xmm2, dword [eax + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 8]
addss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x2c], xmm2
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10074140
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
movss xmm0, dword [esp + 0x28]
movss xmm3, dword [eax]
addss xmm4, dword [eax + 4]
addss xmm3, dword [esi]
addss xmm5, dword [eax + 8]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x30]
subss xmm2, xmm4
mov byte [esp + 0x111], 1
subss xmm0, xmm3
subss xmm1, xmm5
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xe0], xmm0
mulss xmm0, xmm0
mulss xmm2, xmm2
movss dword [esp + 0xe8], xmm1
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10152bad
mov byte [esp + 0x111], 0
mov ecx, dword [0x10236ef4]
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x24]
mov dword [esp + 0x104], 0
push edx
mov dword [esp + 0x10c], 0
lea edx, [esp + 0xd8]
mov dword [esp + 0x110], 0
mov byte [esp + 0x118], 1
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xdc], xmm4
movss dword [esp + 0xe0], xmm5
mov eax, dword [ecx]
push 0x200400b
push edx
call dword [eax + 0x10]
movss xmm0, dword [esp + 0x78]
mov al, 1
movss xmm4, dword [esp + 0x84]
movss xmm2, dword [esp + 0x7c]
subss xmm4, xmm0
movss xmm3, dword [esp + 0x80]
movss xmm1, dword [esp + 0x88]
movss dword [0x102f7608], xmm0
subss xmm1, xmm2
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm3
movss dword [0x102f760c], xmm2
movss dword [0x102f7610], xmm3
movss dword [0x102f76e4], xmm4
movss dword [0x102f76e8], xmm1
mov byte [0x102ee540], al
movss dword [0x102f76ec], xmm0
jmp 0x10152cae
mov al, byte [0x102ee540]
cmp byte [0x102f4494], 0
jne 0x10152d7d
test al, al
je 0x10152d7d
movss xmm2, dword [0x1021eb00]
mov esi, 0xa
movd xmm1, esi
lea edx, [esp + 0x34]
cvtdq2ps xmm1, xmm1
mov ecx, edi
movss xmm0, dword [0x102f76e4]
divss xmm1, xmm2
mulss xmm0, xmm1
addss xmm0, dword [0x102f7608]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x102f76e8]
mulss xmm0, xmm1
addss xmm0, dword [0x102f760c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [0x102f76ec]
mulss xmm0, xmm1
addss xmm0, dword [0x102f7610]
movss dword [esp + 0x3c], xmm0
call fcn.101523e0
test al, al
jne 0x10152da3
mov ecx, dword [0x102ee304]
lea edx, [esp + 0x34]
push ecx
mov dword [esp], 0x3d23d70a
push 0
mov eax, dword [ecx]
push 0x64
push 0x5a
push 0x3b
push 0xeb
push edx
push 0x10234780
call dword [eax + 0x48]
movss xmm2, dword [0x1021eb00]
add esi, 0xa
cmp esi, 0x64
jl 0x10152cd0
mov byte [0x102ee4f0], 1
mov esi, dword [ebp + 8]
mov eax, dword [0x102370e8]
test byte [eax + 0x24], 1
jne 0x10152dfb
cmp byte [0x10236f3a], 0
jne 0x10152dfb
cmp byte [0x102ee4f0], 0
je 0x1015266b
jmp 0x10152e02
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10079090
mov esi, dword [ebp + 8]
lea eax, [esp + 0x34]
push ecx
mov dword [esp], 0x3f800000
mov edx, edi
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10094cd0
mov ecx, dword [0x102ee304]
lea edx, [esp + 0x40]
add esp, 8
mov eax, dword [ecx]
mov dword [esp], 0x3d23d70a
push 0
push 0x64
push 0x32
push 0xbd
push 0x44
push edx
push 0x10234780
call dword [eax + 0x48]
jmp 0x10152d80
mov byte [0x102ee4f0], 1
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x10234784]
subss xmm1, dword [0x10234780]
movss xmm2, dword [esp + 0x48]
subss xmm2, dword [0x10234788]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call fcn.10063f20
movss xmm1, dword [0x1021ea6c]
comiss xmm1, xmm0
jbe 0x10152e8f
cmp byte [0x102f41d4], 0
je 0x10152664
cmp byte [0x10236f14], 0
jne 0x10152664
cmp dword [0x10236f3c], 0
jne 0x10152664
mov byte [0x10236f3b], 1
mov byte [0x102ee4f0], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10079090
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x5c]
push 0x10234780
push eax
mov edx, edi
mov ecx, esi
call fcn.10094cd0
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8