Function at 0x1015d050
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 [0x10243ad0]
push esi
push edi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10307488]
mov dword [esp + 0x14], esi
cmp eax, dword [esi + 4]
jle 0x1015d0bf
push 0x10307488
call fcn.10189be4
add esp, 4
cmp dword [0x10307488], 0xffffffff
jne 0x1015d0bf
push 0x10307488
mov dword [0x103073b8], 0
mov dword [0x103073b4], 0
mov dword [0x103073b0], 0
call fcn.10189b93
add esp, 4
mov eax, dword [0x10307460]
cmp eax, dword [esi + 4]
jle 0x1015d10d
push 0x10307460
call fcn.10189be4
add esp, 4
cmp dword [0x10307460], 0xffffffff
jne 0x1015d10d
push 0x10307460
mov dword [0x10307494], 0
mov dword [0x10307490], 0
mov dword [0x1030748c], 0
call fcn.10189b93
add esp, 4
mov eax, dword [0x1030739c]
cmp eax, dword [esi + 4]
jle 0x1015d151
push 0x1030739c
call fcn.10189be4
add esp, 4
cmp dword [0x1030739c], 0xffffffff
jne 0x1015d151
push 0x1030739c
mov dword [0x103073dc], 0
mov dword [0x103073d8], 0x10303e8c
call fcn.10189b93
add esp, 4
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.1006ad90
test al, al
jne 0x1015d178
cmp dword [0x10303e8c], 0
je 0x1015d178
mov eax, dword [0x103073d8]
mov eax, dword [eax]
test eax, eax
jne 0x1015d1b3
mov dword [0x103073dc], eax
mov byte [0x102fdcb8], 0
mov byte [0x102fdc5c], 0
mov dword [0x10241798], 0
mov dword [0x1024179c], 0
mov dword [0x102417a0], 0
mov byte [0x102fdc68], 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 [0x103073dc], eax
je 0x1015d178
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
cmp byte [0x102fdc5c], 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 0x1015d242
mov ecx, edi
call fcn.1006b0c0
test al, al
je 0x1015d31d
movss xmm0, dword [esp + 0x40]
movss dword [0x10241798], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [0x1024179c], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [0x102417a0], xmm0
mov byte [0x102fdc5c], 1
jmp 0x1015d31d
mov ecx, dword [esp + 0x14]
mov eax, dword [0x1030741c]
cmp eax, dword [ecx + 4]
jle 0x1015d29a
push 0x1030741c
call fcn.10189be4
add esp, 4
cmp dword [0x1030741c], 0xffffffff
jne 0x1015d29a
xorps xmm0, xmm0
lea ecx, [esp + 0x20]
movlpd qword [0x10307458], xmm0
call fcn.1007fcc0
push 0x1030741c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x10307458], ecx
mov dword [0x1030745c], eax
call fcn.10189b93
add esp, 4
lea ecx, [esp + 0x20]
call fcn.1007fcc0
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x10307458]
mov eax, dword [esp + 0x24]
sbb eax, dword [0x1030745c]
mov dword [esp + 0x24], eax
js 0x1015d2cb
jg 0x1015d2c7
cmp ecx, 0x29b92700
jb 0x1015d2cb
mov al, 1
jmp 0x1015d2cd
xor al, al
test al, al
je 0x1015d31d
lea ecx, [esp + 0x128]
call fcn.1007fcc0
mov edx, 0x10241798
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 [0x1030745c], eax
lea eax, [esp + 0x34]
push ecx
mov dword [0x10307458], ecx
mov ecx, 0x102268f0
push eax
call fcn.1013d220
add esp, 8
cmp byte [0x10303fe4], 0
jne 0x1015d8bd
cmp byte [0x102fdcb8], 0
jne 0x1015d800
mov ecx, edi
call fcn.1006b0c0
test al, al
je 0x1015d7e6
mov ecx, dword [0x10243e1c]
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 [0x1022b630]
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 xmm5, dword [esp + 0x64]
movaps xmm3, xmm7
mulss xmm5, dword [0x1022ba08]
push 0x41
mulss xmm3, dword [esp + 0x70]
movss xmm6, dword [esp + 0x74]
xorps xmm6, xmmword [0x1022bdc0]
mulss xmm7, dword [0x1022ba08]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x78]
mulss xmm3, dword [esp + 0x74]
mulss xmm7, dword [esp + 0x24]
mulss xmm6, xmm5
mulss xmm5, dword [esp + 0x78]
subss xmm6, xmm0
movss dword [esp + 0x18], xmm7
subss xmm5, xmm3
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x20], xmm5
call esi
test ax, ax
js 0x1015d4b9
push 0x57
call esi
test ax, ax
js 0x1015d4b9
push 0x44
call esi
test ax, ax
js 0x1015d4b9
push 0x53
call esi
test ax, ax
jns 0x1015d7e6
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 0x1015d5dd
push 0x57
call esi
test ax, ax
js 0x1015d5dd
push 0x44
call esi
test ax, ax
js 0x1015d576
push 0x53
call esi
test ax, ax
jns 0x1015d64e
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.100786b0
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm1, dword [0x10303be0]
movss xmm2, dword [esi]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x18]
addss xmm2, 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 0x1015d642
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.100786b0
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm1, dword [0x10303be0]
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.100786b0
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm3, dword [esi]
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
addss xmm3, dword [eax]
addss xmm4, dword [eax + 4]
addss xmm5, dword [eax + 8]
movss xmm0, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x30]
subss xmm0, xmm3
subss xmm2, xmm4
mov byte [esp + 0x111], 1
subss xmm1, xmm5
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0xe4], xmm2
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 0x1015d6ea
mov byte [esp + 0x111], 0
mov ecx, dword [0x10243f40]
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 [0x103073b0], xmm0
subss xmm1, xmm2
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm3
movss dword [0x103073b4], xmm2
movss dword [0x103073b8], xmm3
movss dword [0x1030748c], xmm4
movss dword [0x10307490], xmm1
mov byte [0x102fdcb8], al
movss dword [0x10307494], xmm0
jmp 0x1015d7eb
mov al, byte [0x102fdcb8]
cmp byte [0x10303fe4], 0
jne 0x1015d8bd
test al, al
je 0x1015d8bd
movss xmm2, dword [0x1022b8c0]
mov esi, 0xa
nop dword [eax]
movd xmm1, esi
lea edx, [esp + 0x34]
cvtdq2ps xmm1, xmm1
mov ecx, edi
movss xmm0, dword [0x1030748c]
divss xmm1, xmm2
mulss xmm0, xmm1
addss xmm0, dword [0x103073b0]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x10307490]
mulss xmm0, xmm1
addss xmm0, dword [0x103073b4]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [0x10307494]
mulss xmm0, xmm1
addss xmm0, dword [0x103073b8]
movss dword [esp + 0x3c], xmm0
call fcn.1015cf20
test al, al
jne 0x1015d8e3
mov ecx, dword [0x102fda80]
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 0x10241798
call dword [eax + 0x48]
movss xmm2, dword [0x1022b8c0]
add esi, 0xa
cmp esi, 0x64
jl 0x1015d810
mov byte [0x102fdc68], 1
mov esi, dword [ebp + 8]
mov eax, dword [0x102fda20]
test byte [eax + 0x24], 1
jne 0x1015d93b
cmp byte [0x102fd894], 0
jne 0x1015d93b
cmp byte [0x102fdc68], 0
je 0x1015d1ab
jmp 0x1015d942
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10078760
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.1009c020
mov ecx, dword [0x102fda80]
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 0x10241798
call dword [eax + 0x48]
jmp 0x1015d8c0
mov byte [0x102fdc68], 1
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x1024179c]
subss xmm1, dword [0x10241798]
movss xmm2, dword [esp + 0x48]
subss xmm2, dword [0x102417a0]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call fcn.10068330
movss xmm1, dword [0x1022b824]
comiss xmm1, xmm0
jbe 0x1015d9cf
cmp byte [0x10303d24], 0
je 0x1015d1a4
cmp byte [0x102fd880], 0
jne 0x1015d1a4
cmp dword [0x102fd8a0], 0
jne 0x1015d1a4
mov byte [0x102fd89e], 1
mov byte [0x102fdc68], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10078760
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x5c]
push 0x10241798
push eax
mov edx, edi
mov ecx, esi
call fcn.1009c020
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8