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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9ac
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x9a8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], edx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x48], ebx
push esi
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x34], esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xc], ecx
test eax, eax
je 0x10185f99
test edx, edx
je 0x10185f99
mov eax, dword [edi + 0x28]
cmp byte [eax + 0x2a], 0
jne 0x10185f99
mov edx, dword [edi + 0x20]
mov ecx, esi
call fcn.10184810
test al, al
je 0x1018587e
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
push esi
push dword [ebp + 0x18]
push ecx
push ebx
push edx
push dword [esp + 0x2c]
mov ecx, edi
call fcn.101853b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9a8]
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi + 0x40]
mov ecx, eax
push dword [edi + 0x20]
shr ecx, 0x18
and ecx, 3
test al, 0x80
lea eax, [ecx + 4]
cmove eax, ecx
lea ecx, [esp + 0x48]
mov eax, dword [eax*4 + 0x102f9758]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x30]
add eax, 0x14
push eax
push esi
call fcn.1014d440
lea ecx, [esp + 0x558]
call fcn.10198470
mov eax, dword [edi + 0x34]
xor ecx, ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x520], 0
mov dword [esp + 0x90], 0
test eax, eax
je 0x101858ea
cmp dword [eax], ecx
jne 0x10185929
mov edx, dword [edi + 0x20]
lea eax, [esp + 0x94]
push 0
push eax
push esi
mov ecx, edi
call fcn.101b1ba0
mov ecx, eax
add esp, 0xc
mov eax, dword [edi + 0x28]
mov dword [esp + 0x90], ecx
cmp byte [eax + 0x29], 0
jne 0x10185929
push ecx
push eax
lea ecx, [esp + 0x560]
call fcn.10198540
mov ecx, dword [esp + 0x9a8]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x3c]
push esi
mov dword [esp + 0x20], eax
movzx eax, word [esi + 0x42]
mov esi, dword [esp + 0x48]
and eax, 3
push esi
push ecx
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], eax
call fcn.10184e50
push dword [esp + 0xc]
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], eax
push dword [ebp + 0x18]
push dword [edi + 0x20]
call fcn.1017fb20
mov ecx, dword [esi + 0xc]
mov cl, byte [ecx + 0x36]
shr cl, 4
test cl, 1
je 0x10185cd8
mov ecx, dword [edi + 0x20]
call fcn.101a33d0
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
cmp eax, 1
jne 0x101859ac
mov dword [esp + 0x44], 0
mov dword [esp + 0x8c], 0x3f000000
jmp 0x101859c4
cmp eax, 2
jne 0x101859c4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x88], 0x3f000000
mov eax, dword [esp + 0x38]
test dword [eax + 0x40], 0x30000
jne 0x10185b14
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x18], edi
jae 0x10185f74
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
shl eax, 2
mov dword [esp + 0x1c], eax
nop dword [eax]
mov eax, dword [esp + 0x24]
cmp eax, 3
ja case.0x10185a09.3
jmp dword [eax*4 + 0x10185fb0]
movss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x30]
jmp 0x10185a4b
movss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x34]
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x14], xmm0
jmp 0x10185a6c
movss xmm0, dword [ebx]
jmp 0x10185a27
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx]
addss xmm0, xmm1
movss dword [esp], xmm0
push edx
call ecx
add esp, 0x10
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [esp + 0x88]
mulss xmm0, dword [0x1030040c]
call fcn.102b18be
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], edx
mulss xmm0, dword [0x1030040c]
call fcn.102b18be
mov ecx, dword [esp + 0xc]
and ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
and eax, dword [esp + 0x44]
push eax
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x5c], edx
push eax
push esi
call dword [esp + 0x50]
add esp, 0x10
cmp word [eax + 0x10], 0
je 0x10185af3
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x68]
push dword [esp + 0x58]
push dword [esp + 0x44]
push dword [esp + 0x1c]
push eax
call dword [esp + 0x64]
add esp, 0x18
add ebx, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x18], edi
jb 0x10185a00
jmp 0x10185f74
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
jae 0x10185f74
mov ecx, dword [esp + 0xc]
shl ecx, 2
mov dword [esp + 0x48], ecx
nop dword [eax]
push 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x1c]
push 0
push eax
push esi
call dword [esp + 0x50]
mov edi, eax
add esp, 0x10
cmp word [edi + 0x10], 0
je 0x10185cbd
mov eax, dword [esp + 0x24]
cmp eax, 3
ja case.0x10185b5b.3
jmp dword [eax*4 + 0x10185fc0]
movss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x30]
jmp 0x10185b9f
movss xmm2, dword [ebx]
mulss xmm2, dword [esp + 0x34]
addss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x10], xmm2
jmp 0x10185bd3
movss xmm2, dword [ebx]
jmp 0x10185b79
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx]
addss xmm0, dword [esp + 0x38]
movss dword [esp], xmm0
push dword [esp + 0x2c]
call dword [esp + 0x38]
movss xmm3, dword [esp + 0x24]
add esp, 0x10
movss xmm2, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
movss dword [esp + 0xc], xmm3
test edx, edx
je 0x10185c44
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
cmp edx, 1
jne 0x10185c18
sar eax, 1
sar ecx, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10300008]
subss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10300008]
subss xmm3, xmm0
jmp 0x10185c3e
movd xmm0, eax
movd xmm1, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [0x10300008]
mulss xmm1, dword [0x10300008]
subss xmm2, xmm0
subss xmm3, xmm1
movss dword [esp + 0xc], xmm3
addss xmm2, dword [esp + 0x88]
mulss xmm2, dword [0x1030040c]
movaps xmm0, xmm2
call fcn.102b18be
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x8c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], edx
mulss xmm0, dword [0x1030040c]
call fcn.102b18be
mov ebx, eax
mov edi, edx
mov ecx, ebx
lea eax, [esp + 0x58]
and ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x3c]
and ecx, dword [esp + 0x40]
push ecx
push eax
push esi
call dword [esp + 0x50]
push eax
push edi
push ebx
push dword [esp + 0x78]
lea eax, [esp + 0x80]
push dword [esp + 0x58]
push eax
call dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
add esp, 0x28
add ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], ebx
cmp eax, dword [esp + 0x1c]
jb 0x10185b30
jmp 0x10185f74
mov eax, dword [esp + 0x38]
test dword [eax + 0x40], 0x30000
mov eax, dword [esp + 0x1c]
jne 0x10185df3
cmp dword [esp + 0x18], eax
jae 0x10185f74
mov eax, dword [esp + 0xc]
shl eax, 2
mov dword [esp + 0x48], eax
push 0
push 0
lea eax, [esp + 0x20]
push eax
push esi
call dword [esp + 0x50]
mov edi, eax
add esp, 0x10
cmp word [edi + 0x10], 0
je 0x10185ddc
mov eax, dword [esp + 0x24]
cmp eax, 3
ja case.0x10185d29.3
jmp dword [eax*4 + 0x10185fd0]
movss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x30]
jmp 0x10185d6d
movss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x14], xmm0
jmp 0x10185d95
movss xmm0, dword [ebx]
jmp 0x10185d47
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx]
addss xmm0, dword [esp + 0x38]
movss dword [esp], xmm0
push dword [esp + 0x2c]
call dword [esp + 0x38]
add esp, 0x10
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x103000e8]
push edi
mulss xmm0, dword [0x1030040c]
call fcn.102b18be
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x103000e8]
push edx
push eax
mulss xmm0, dword [0x1030040c]
call fcn.102b18be
push edx
push eax
lea eax, [esp + 0x74]
push eax
call dword [esp + 0x64]
add esp, 0x18
add ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x18], eax
jb 0x10185d02
jmp 0x10185f74
cmp dword [esp + 0x18], eax
jae 0x10185f74
mov eax, dword [esp + 0xc]
shl eax, 2
mov dword [esp + 0x48], eax
push 0
push 0
lea eax, [esp + 0x20]
push eax
push esi
call dword [esp + 0x50]
mov edi, eax
add esp, 0x10
cmp word [edi + 0x10], 0
je 0x10185f62
mov eax, dword [esp + 0x24]
cmp eax, 3
ja case.0x10185e2f.3
jmp dword [eax*4 + 0x10185fe0]
movss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x30]
jmp 0x10185e73
movss xmm1, dword [ebx]
mulss xmm1, dword [esp + 0x34]
addss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x30]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm1
jmp 0x10185ea7
movss xmm1, dword [ebx]
jmp 0x10185e4d
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx]
addss xmm0, dword [esp + 0x38]
movss dword [esp], xmm0
push dword [esp + 0x2c]
call dword [esp + 0x38]
movss xmm1, dword [esp + 0x20]
add esp, 0x10
movss xmm2, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
movss dword [esp + 0xc], xmm1
test edx, edx
je 0x10185f1e
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
cmp edx, 1
jne 0x10185ef2
sar eax, 1
sar ecx, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10300008]
subss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm1
mulss xmm0, dword [0x10300008]
subss xmm2, xmm0
jmp 0x10185f1e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10300008]
subss xmm1, xmm0
movss dword [esp + 0xc], xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10300008]
subss xmm2, xmm1
addss xmm2, dword [0x103000e8]
push edi
mulss xmm2, dword [0x1030040c]
movaps xmm0, xmm2
call fcn.102b18be
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x103000e8]
push edx
push eax
mulss xmm0, dword [0x1030040c]
call fcn.102b18be
push edx
push eax
lea eax, [esp + 0x74]
push eax
call dword [esp + 0x64]
add esp, 0x18
add ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x18], eax
jb 0x10185e08
lea ecx, [esp + 0x94]
call fcn.101874b0
lea ecx, [esp + 0x558]
call fcn.10181e70
push esi
call fcn.10187f50
mov ecx, eax
call fcn.10188be0
mov ecx, dword [esp + 0x9b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x18