Function at 0x10181fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xac8
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 0xac4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x28]
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [eax + 0x2a], 0
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], edx
jne 0x10182a8b
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x4c], ecx
test edx, edx
je 0x10182026
push edx
push ecx
lea ecx, [esp + 0x160]
call fcn.101668d0
lea eax, [esp + 0x158]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x44], edx
jmp 0x1018202c
mov edx, ecx
mov dword [esp + 0x44], ecx
xorps xmm0, xmm0
ucomiss xmm0, dword [edi + 0x38]
lahf
test ah, 0x44
jp 0x1018203d
mov cl, 1
jmp 0x1018203f
xor cl, cl
mov eax, dword [edi + 0x40]
shr eax, 0x16
and eax, 3
mov byte [esp + 0x23], cl
mov dword [esp + 0x10], eax
cmp eax, 2
jne 0x10182068
test cl, cl
mov dword [esp + 0x10], 0
cmovne eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
cmp dword [edi + 4], 0
jne 0x101829e0
cmp dword [edi + 0x10], 0
jne 0x101829e0
cmp dword [edi + 0x18], 0
jne 0x101829e0
mov ecx, dword [edx + 0x24]
test cl, cl
jns 0x101820a2
mov ecx, edx
call fcn.10165e20
mov edx, dword [esp + 0x44]
movzx ecx, al
mov eax, dword [esp + 0x10]
mov dword [edx + 0x24], ecx
shr ecx, 4
test cl, 1
je 0x101829e0
cmp eax, 2
je 0x101829e0
test eax, eax
jne 0x101820da
movss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x38]
mov dword [esp + 0x44], 1
movss dword [esp + 0x28], xmm0
jmp 0x1018218b
cmp byte [esp + 0x23], 0
je 0x10182106
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
mov dword [esp + 0x44], 0
movss dword [esp + 0x28], xmm0
jmp 0x10182191
test dword [edi + 0x40], 0x300000
jne 0x101829e0
movss xmm0, dword [0x102ff0d8]
comiss xmm0, dword [edi + 0x3c]
ja 0x101829e0
movss xmm0, dword [edi + 0x38]
lea eax, [esp + 0x34]
push 1
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x3c], xmm0
push eax
mov ecx, edx
movss dword [esp + 0x44], xmm0
call fcn.101675f0
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
mov dword [esp + 0x44], 2
andps xmm0, xmmword [0x102ff960]
cvtpd2ps xmm2, xmm0
movss xmm0, dword [esp + 0x1c]
cvtps2pd xmm0, xmm0
movss dword [esp + 0x28], xmm2
andps xmm0, xmmword [0x102ff960]
cvtpd2ps xmm1, xmm0
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x40], xmm1
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x14], 0
cmovne esi, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x24]
test al, al
jns 0x101821bc
call fcn.10165e20
mov ecx, dword [esp + 0x14]
movzx eax, al
mov dword [ecx + 0x24], eax
push 2
and eax, 0xf
lea edx, [esp + 0x84]
push esi
push edx
push ecx
mov eax, dword [eax*4 + 0x102e2820]
call eax
movss xmm4, dword [esp + 0x90]
add esp, 0x10
movss xmm2, dword [esp + 0x88]
comiss xmm4, xmm2
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x24], xmm2
jbe 0x10182221
movaps xmm0, xmm4
movss dword [esp + 0x14], xmm2
movaps xmm4, xmm2
movaps xmm2, xmm0
movss dword [esp + 0x80], xmm4
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x88], xmm2
movss xmm3, dword [esp + 0x84]
movss xmm1, dword [esp + 0x8c]
comiss xmm3, xmm1
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x10], xmm1
jbe 0x1018226b
movaps xmm0, xmm3
movss dword [esp + 0x30], xmm1
movaps xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x84], xmm3
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x8c], xmm1
test dword [edi + 0x40], 0xc00000
movss xmm5, dword [0x102ff070]
je 0x1018235f
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, dword [0x102fef60]
lahf
test ah, 0x44
jp 0x101822c3
subss xmm2, dword [0x102ff400]
subss xmm1, dword [0x102ff400]
subss xmm4, dword [0x102ff0b0]
subss xmm3, dword [0x102ff0b0]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x10], xmm1
jmp 0x10182359
cmp dword [esp + 0x44], 2
jne 0x101822e4
movss xmm1, dword [esp + 0x28]
movss dword [esp + 0x18], xmm1
movss xmm1, dword [esp + 0x40]
movss dword [esp + 0x1c], xmm1
jmp 0x1018230e
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [eax + 0x20]
call fcn.10181d60
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x14]
movss xmm5, dword [0x102ff070]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x18]
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mulss xmm1, xmm5
mulss xmm2, xmm5
xorps xmm1, xmmword [0x102ff980]
subss xmm0, xmm1
xorps xmm2, xmmword [0x102ff980]
addss xmm4, xmm1
addss xmm3, xmm2
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, xmm2
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x30], xmm3
cvtps2pd xmm0, xmm4
sub esp, 8
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
mov dword [esp + 0x68], eax
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
mov dword [esp + 0x6c], eax
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
mov dword [esp + 0x70], eax
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x28]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.1017f7c0
test al, al
jne 0x10182a8b
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
test byte [edi + 0x40], 1
mov ecx, 0x1000
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], esi
movups xmmword [esp + 0x98], xmm0
movups xmmword [esp + 0xa8], xmm0
mov al, byte [esi + 0x28]
mov byte [esp + 0xe0], al
mov eax, 0x4000
cmovne eax, ecx
mov dword [esp + 0xc8], 0xffffffff
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xdc], 0
movups xmmword [esp + 0xcc], xmm0
mov word [esp + 0xe1], 0x101
mov byte [esp + 0xe3], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
cmp byte [esi + 0x2a], 0
jne 0x1018254a
cmp byte [esi + 0x29], 0
lea eax, [esi + 0x14]
lea ecx, [esp + 0xec]
cmove esi, eax
lea eax, [esp + 0x60]
push esi
push eax
call fcn.10144b90
test al, al
je 0x1018254a
mov ecx, dword [esp + 0x104]
cmp dword [esp + 0xf4], ecx
jge 0x1018251f
cmp dword [esp + 0xf8], ecx
jge 0x1018251f
mov dword [esp + 0x108], 1
jmp 0x10182555
mov eax, dword [esp + 0xec]
sub eax, ecx
mov dword [esp + 0x108], 2
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x100], eax
jmp 0x10182555
mov dword [esp + 0x108], 0
lea ecx, [esp + 0x90]
call fcn.101cdc90
test al, al
je 0x101829be
nop dword [eax]
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0x110]
movss xmm0, dword [esp + 0x80]
neg eax
movd xmm1, eax
mov eax, dword [esp + 0x100]
cvtdq2ps xmm1, xmm1
neg eax
movd xmm2, eax
addss xmm0, xmm1
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x88]
addss xmm0, xmm1
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, xmm2
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x6c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x110], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x120], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esp + 0x130], xmm0
call fcn.101661d0
mov ecx, dword [esp + 0xe4]
lea eax, [esp + 0x5dc]
push 0
push eax
push edi
lea edx, [esp + 0x11c]
mov dword [esp + 0x5e8], 0
mov dword [esp + 0xa74], 0
call fcn.101b1a00
mov esi, dword [esp + 0xf4]
mov edi, eax
mov eax, dword [esp + 0x50]
add esp, 0xc
mov dword [esp + 0x5d8], edi
sub eax, 0
je 0x101828f6
sub eax, 1
je 0x1018288d
sub eax, 1
jne 0x1018299a
mov eax, dword [esp + 0x48]
test byte [eax + 0x40], 1
je 0x10182706
cmp byte [esi + 0x29], 0
push edi
push esi
je 0x101826ce
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x68]
call fcn.101cbda0
add esp, 8
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x28], xmm0
jmp 0x1018299a
lea ecx, [esp + 0x188]
call fcn.10198340
push dword [esp + 0x5d0]
lea edx, [esp + 0x38]
push dword [esp + 0x5d0]
lea ecx, [esp + 0x68]
call fcn.101cbda0
add esp, 8
lea ecx, [esp + 0x180]
call fcn.10181ce0
jmp 0x101826b1
movss xmm0, dword [esp + 0x28]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1018299a
movss xmm3, dword [esp + 0x40]
comiss xmm1, xmm3
ja 0x1018299a
movss xmm7, dword [esp + 0x14]
movaps xmm4, xmm3
mulss xmm4, dword [0x102ff070]
movaps xmm6, xmm7
movss xmm2, dword [esp + 0x30]
movaps xmm1, xmm0
mulss xmm1, dword [0x102ff070]
movss xmm5, dword [esp + 0x10]
subss xmm6, xmm4
addss xmm4, xmm2
subss xmm5, xmm1
addss xmm1, dword [esp + 0x24]
movss dword [esp + 0x74], xmm6
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x7c], xmm4
movss xmm4, dword [esp + 0x24]
subss xmm4, dword [esp + 0x10]
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x78], xmm1
comiss xmm0, xmm4
jae 0x1018287c
subss xmm2, xmm7
comiss xmm0, xmm2
jae 0x1018287c
movss dword [esp + 0x54], xmm6
lea ecx, [esp + 0x50]
addss xmm6, xmm3
movss dword [esp + 0x50], xmm5
push edi
mov edx, esi
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x14], xmm6
movss dword [esp + 0x60], xmm6
call fcn.101cd820
movss xmm2, dword [esp + 0x18]
lea ecx, [esp + 0x54]
movaps xmm0, xmm2
movss dword [esp + 0x60], xmm2
subss xmm0, dword [esp + 0x44]
add esp, 4
mov edx, esi
push edi
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x58], xmm0
call fcn.101cd820
movss xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x54]
movss xmm1, dword [esp + 0x14]
add esp, 4
movss dword [esp + 0x50], xmm0
mov edx, esi
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x54], xmm1
push edi
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x60], xmm0
call fcn.101cd820
movss xmm2, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
movaps xmm0, xmm2
movss dword [esp + 0x5c], xmm2
subss xmm0, dword [esp + 0x2c]
add esp, 4
mov edx, esi
push edi
movss dword [esp + 0x54], xmm0
call fcn.101cd820
jmp 0x10182997
push edi
mov edx, esi
lea ecx, [esp + 0x74]
call fcn.101cd820
jmp 0x10182997
mov eax, dword [esp + 0x48]
push edi
test byte [eax + 0x40], 1
je 0x101828e6
cmp byte [esi + 0x29], 0
je 0x101828ae
mov edx, esi
lea ecx, [esp + 0x64]
call fcn.101cb780
jmp 0x10182997
push esi
lea ecx, [esp + 0x188]
call fcn.10198340
push dword [esp + 0x5d0]
mov edx, dword [esp + 0x5d0]
lea ecx, [esp + 0x64]
call fcn.101cb780
add esp, 4
lea ecx, [esp + 0x180]
call fcn.10181ce0
jmp 0x1018299a
mov edx, esi
lea ecx, [esp + 0x64]
call fcn.101cd820
jmp 0x10182997
mov eax, dword [esp + 0x48]
push edi
test byte [eax + 0x40], 1
je 0x1018298c
movss xmm2, dword [esp + 0x28]
lea eax, [esp + 0xaa8]
movss xmm0, dword [esp + 0x14]
movss xmm7, dword [esp + 0x18]
push esi
movss dword [esp + 0xab4], xmm2
movss dword [esp + 0xabc], xmm2
movss xmm2, dword [esp + 0x38]
push 5
push eax
movss dword [esp + 0xab4], xmm0
movss dword [esp + 0xab8], xmm7
movss dword [esp + 0xac0], xmm7
movss dword [esp + 0xac8], xmm2
movss dword [esp + 0xacc], xmm0
movss dword [esp + 0xad0], xmm2
movss dword [esp + 0xad4], xmm0
movss dword [esp + 0xad8], xmm7
call fcn.101ca070
add esp, 0x10
jmp 0x1018299a
mov edx, esi
lea ecx, [esp + 0x64]
call fcn.101c8990
add esp, 4
lea ecx, [esp + 0x5dc]
call fcn.10187320
lea ecx, [esp + 0x90]
call fcn.101cdc90
mov edi, dword [esp + 0x48]
test al, al
jne 0x10182570
lea ecx, [esp + 0xb8]
call fcn.10197320
pop edi
pop esi
mov ecx, dword [esp + 0xac4]
xor ecx, esp
call fcn.102af895
mov esp, ebp
pop ebp
ret 0x10
push dword [esp + 0x2c]
lea ecx, [esp + 0x114]
call fcn.10180060
mov eax, dword [esp + 0x130]
cmp dword [esp + 0x14], 0
cmovne eax, dword [esp + 0x4c]
mov dword [esp + 0x130], eax
call fcn.10194ae0
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x3e]
mov dword [esp + 0x38], 0xffffffff
mov al, 2
mov word [esp + 0x3c], 0
xchg byte [ecx], al
movss xmm0, dword [esi + 0xc]
movss xmm3, dword [esi + 8]
movss xmm2, dword [esi + 4]
movss xmm1, dword [esi]
push 0
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x47], 0
movss dword [esp], xmm0
call fcn.10155480
push 0
push ecx
push 1
push 0
push edi
lea eax, [esp + 0x48]
mov byte [esp + 0x50], 0
push eax
lea ecx, [esp + 0x128]
call fcn.10182ef0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10182a8b
lea eax, [ecx + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x10182a8b
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0xacc]
pop edi
pop esi
xor ecx, esp
call fcn.102af895
mov esp, ebp
pop ebp
ret 0x10