Function at 0x10185770
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 0x10185f29
test edx, edx
je 0x10185f29
mov eax, dword [edi + 0x28]
cmp byte [eax + 0x2a], 0
jne 0x10185f29
mov edx, dword [edi + 0x20]
mov ecx, esi
call fcn.101847a0
test al, al
je 0x1018580e
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.10185340
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9a8]
xor ecx, esp
call fcn.102af935
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.1014d400
lea ecx, [esp + 0x558]
call fcn.10198400
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 0x1018587a
cmp dword [eax], ecx
jne 0x101858b9
mov edx, dword [edi + 0x20]
lea eax, [esp + 0x94]
push 0
push eax
push esi
mov ecx, edi
call fcn.101b1b10
mov ecx, eax
add esp, 0xc
mov eax, dword [edi + 0x28]
mov dword [esp + 0x90], ecx
cmp byte [eax + 0x29], 0
jne 0x101858b9
push ecx
push eax
lea ecx, [esp + 0x560]
call fcn.101984d0
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.10184de0
push dword [esp + 0xc]
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], eax
push dword [ebp + 0x18]
push dword [edi + 0x20]
call fcn.1017fab0
mov ecx, dword [esi + 0xc]
mov cl, byte [ecx + 0x36]
shr cl, 4
test cl, 1
je 0x10185c68
mov ecx, dword [edi + 0x20]
call fcn.101a3340
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
cmp eax, 1
jne 0x1018593c
mov dword [esp + 0x44], 0
mov dword [esp + 0x8c], 0x3f000000
jmp 0x10185954
cmp eax, 2
jne 0x10185954
mov dword [esp + 0x3c], 0
mov dword [esp + 0x88], 0x3f000000
mov eax, dword [esp + 0x38]
test dword [eax + 0x40], 0x30000
jne 0x10185aa4
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x18], edi
jae 0x10185f04
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.0x10185999.3
jmp dword [eax*4 + 0x10185f40]
movss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x30]
jmp 0x101859db
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 0x101859fc
movss xmm0, dword [ebx]
jmp 0x101859b7
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.102b181e
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.102b181e
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 0x10185a83
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 0x10185990
jmp 0x10185f04
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
jae 0x10185f04
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 0x10185c4d
mov eax, dword [esp + 0x24]
cmp eax, 3
ja case.0x10185aeb.3
jmp dword [eax*4 + 0x10185f50]
movss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x30]
jmp 0x10185b2f
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 0x10185b63
movss xmm2, dword [ebx]
jmp 0x10185b09
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 0x10185bd4
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
cmp edx, 1
jne 0x10185ba8
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 0x10185bce
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.102b181e
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.102b181e
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 0x10185ac0
jmp 0x10185f04
mov eax, dword [esp + 0x38]
test dword [eax + 0x40], 0x30000
mov eax, dword [esp + 0x1c]
jne 0x10185d83
cmp dword [esp + 0x18], eax
jae 0x10185f04
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 0x10185d6c
mov eax, dword [esp + 0x24]
cmp eax, 3
ja case.0x10185cb9.3
jmp dword [eax*4 + 0x10185f60]
movss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x30]
jmp 0x10185cfd
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 0x10185d25
movss xmm0, dword [ebx]
jmp 0x10185cd7
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.102b181e
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x103000e8]
push edx
push eax
mulss xmm0, dword [0x1030040c]
call fcn.102b181e
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 0x10185c92
jmp 0x10185f04
cmp dword [esp + 0x18], eax
jae 0x10185f04
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 0x10185ef2
mov eax, dword [esp + 0x24]
cmp eax, 3
ja case.0x10185dbf.3
jmp dword [eax*4 + 0x10185f70]
movss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x30]
jmp 0x10185e03
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 0x10185e37
movss xmm1, dword [ebx]
jmp 0x10185ddd
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 0x10185eae
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
cmp edx, 1
jne 0x10185e82
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 0x10185eae
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.102b181e
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x103000e8]
push edx
push eax
mulss xmm0, dword [0x1030040c]
call fcn.102b181e
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 0x10185d98
lea ecx, [esp + 0x94]
call fcn.10187440
lea ecx, [esp + 0x558]
call fcn.10181e00
push esi
call fcn.10187ee0
mov ecx, eax
call fcn.10188b70
mov ecx, dword [esp + 0x9b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.102af935
mov esp, ebp
pop ebp
ret 0x18