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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [0x1023fc80]
push esi
push edi
mov edi, ecx
cmp byte [eax + 0x37c1], 0
mov dword [esp + 0x5c], edi
jne 0x1015c4cd
cmp byte [eax + 0x37e5], 0
je 0x1015ccb9
mov eax, dword [0x1023fc88]
lea edx, [esp + 0xcc]
push edx
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0xd0]
mulss xmm0, dword [0x1021434c]
push 0x1046ad8c
movss dword [esp + 0x1c], xmm0
call fcn.101b499b
add esp, 4
test eax, eax
jne 0x1015cccd
cmp dword [0x1046adb8], 0x7fffffff
je 0x1015ccd4
mov eax, dword [0x10532f40]
mov esi, dword [0x10532f3c]
mov dword [esp + 0x1c], eax
cmp esi, eax
je 0x1015ccac
movss xmm1, dword [esp + 0x18]
add esi, 0xec
cvtps2pd xmm1, xmm1
mov dword [esp + 0x50], esi
mov ecx, eax
nop dword [eax]
cmp byte [esi - 0x97], 0
jne 0x1015cc94
cmp byte [esi - 0x89], 0
je 0x1015cc94
cmp byte [esi - 0x8a], 0
jne 0x1015cc94
cmp byte [esi - 0x96], 0
mov eax, dword [0x1023fc80]
je 0x1015c58c
add eax, 0x37ac
jmp 0x1015c591
add eax, 0x37d0
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0xb0], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], eax
movaps xmmword [esp + 0x90], xmm0
psrldq xmm0, 4
movd eax, xmm0
mov dword [esp + 0x44], eax
shr eax, 8
test al, al
je 0x1015cc94
movss xmm0, dword [0x10533090]
subss xmm0, dword [esi]
movss xmm2, dword [0x1053308c]
subss xmm2, dword [esi - 4]
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x40], xmm2
call fcn.101dc1e0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
call fcn.101dd460
movss xmm4, dword [esp + 0x40]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x10]
movaps xmm5, xmm3
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm5, xmm2
mulss xmm0, xmm1
mulss xmm3, xmm1
mulss xmm4, xmm2
subss xmm5, xmm0
addss xmm4, xmm3
movaps xmm0, xmm5
movss dword [esp + 0x10], xmm5
mulss xmm0, xmm5
movaps xmm1, xmm4
movss dword [esp + 0x40], xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1015c673
sqrtsd xmm0, xmm0
jmp 0x1015c678
call fcn.101dd630
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0x40]
cvtsd2ss xmm0, xmm0
ucomiss xmm0, dword [0x102142f8]
lahf
test ah, 0x44
jnp 0x1015c6a9
divss xmm3, xmm0
divss xmm2, xmm0
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x40], xmm2
movd xmm0, dword [esp + 0x9c]
sub esp, 0x18
mov eax, dword [0x10468558]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x64], eax
movss xmm1, dword [eax + 0x58]
mulss xmm1, dword [0x102143ec]
movaps xmm5, xmm0
movaps xmm6, xmm0
mulss xmm5, xmm3
movss xmm0, dword [eax + 0x54]
mov eax, esp
mulss xmm0, dword [0x102143ec]
mulss xmm6, xmm2
addss xmm5, xmm0
addss xmm6, xmm1
movaps xmm0, xmm5
movss dword [esp + 0x60], xmm5
addss xmm0, xmm3
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x8c], xmm6
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmmword [esp + 0xc8]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x5c]
mov byte [eax + 0x14], cl
call fcn.100bbdb0
movss xmm5, dword [esp + 0x40]
movd xmm1, dword [esp + 0x98]
movaps xmm0, xmm5
mulss xmm0, dword [0x102143ec]
mov ecx, dword [esp + 0x20]
movss xmm6, dword [esp + 0x10]
movss xmm4, dword [esp + 0x58]
movaps xmm2, xmm6
mulss xmm2, dword [0x10214814]
mov dword [esp + 0x14], eax
movss xmm3, dword [esp + 0x54]
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
mulss xmm2, xmm1
movaps xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
movd xmm2, dword [esp + 0x98]
cvtdq2ps xmm2, xmm2
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xe8], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm6
movaps xmm1, xmm2
mulss xmm6, dword [0x102143ec]
movaps xmm2, xmm4
mulss xmm1, xmm5
addss xmm2, xmm0
mulss xmm5, dword [0x10214814]
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0xec], xmm2
movss dword [esp + 0xf0], xmm0
movd xmm0, dword [esp + 0x98]
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm0
mulss xmm6, xmm0
addss xmm4, xmm5
addss xmm3, xmm6
movss dword [esp + 0xf4], xmm4
movss dword [esp + 0xf8], xmm3
test ecx, ecx
jne 0x1015c87c
push eax
push 3
lea eax, [esp + 0xec]
mov ecx, edi
push eax
call fcn.1017f8e0
cmp byte [esp + 0x96], 0
je 0x1015cc87
mov eax, dword [esp + 0x14]
push ecx
mov dword [esp], 0x3fc00000
or eax, 0xff000000
push 1
push eax
push 3
lea eax, [esp + 0xf4]
mov ecx, edi
push eax
call fcn.1017ebb0
jmp 0x1015cc87
cmp ecx, 1
jne 0x1015ca0e
movaps xmm0, xmmword [esp + 0xb0]
sub esp, 0x18
mov ecx, dword [esp + 0xa8]
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x5c]
xorps xmm0, xmm0
mov byte [eax + 0x14], cl
call fcn.100bbf30
mov ecx, eax
mov dword [esp + 0x20], eax
or ecx, dword [esp + 0x14]
test ecx, 0xff000000
je 0x1015cc87
movd xmm2, dword [esp + 0x98]
movss xmm0, dword [0x102143ec]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1015cc87
push ecx
push 0x30
push 0
lea eax, [esp + 0x7c]
mov ecx, edi
push eax
call fcn.1017fcb0
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x28]
push eax
mov dword [esp + 0x58], ecx
mov ecx, edi
lea esi, [eax - 1]
lea eax, [esi + esi*2]
mov dword [esp + 0x14], esi
push eax
call fcn.1017e940
mov eax, dword [edi + 0x2c]
xor edx, edx
movss xmm2, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [edi + 0x34]
movss dword [eax], xmm2
movss xmm2, dword [esp + 0x3c]
movss dword [eax + 4], xmm2
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x34]
inc dword [edi + 0x28]
add eax, 0x14
mov dword [esp + 0x14], eax
mov dword [edi + 0x34], eax
test esi, esi
jle 0x1015c9a1
mov eax, dword [edi + 0x5c]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
inc edx
mov dword [esi], ecx
mov ecx, esi
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x20]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x34]
mov dword [esp + 0x14], eax
cmp edx, dword [esp + 0x10]
jl 0x1015c960
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x1015ca02
mov eax, dword [esp + 0x54]
movzx eax, ax
mov ecx, eax
mov edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ecx
mov eax, dword [edi + 0x38]
mov word [eax], dx
add dword [edi + 0x38], 2
mov ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x3c]
inc eax
add eax, esi
inc esi
mov word [ecx], ax
mov eax, esi
cdq
idiv dword [esp + 0x10]
add dword [edi + 0x38], 2
mov ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
inc eax
add eax, edx
mov edx, dword [esp + 0x20]
mov word [ecx], ax
add dword [edi + 0x38], 2
cmp esi, dword [esp + 0x10]
jl 0x1015c9c0
mov dword [edi + 0x54], 0
jmp 0x1015cc83
cmp ecx, 2
jne 0x1015cc87
movss xmm1, dword [0x1053308c]
movss xmm0, dword [0x10533090]
subss xmm1, dword [esi - 4]
subss xmm0, dword [esi]
movss dword [esp + 0x3c], xmm1
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.101dbef0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [0x102142f8]
mulss xmm1, dword [0x10214694]
movss dword [esp + 0x44], xmm1
jb 0x1015ca74
addss xmm1, dword [0x10214708]
movss dword [esp + 0x44], xmm1
mov eax, dword [0x1023fc88]
mov ecx, dword [eax + 0x10]
lea eax, [esp + 0xd8]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
call edx
mov eax, dword [esp + 0x98]
movss xmm2, dword [esp + 0xdc]
subss xmm2, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
subss xmm2, dword [0x102146bc]
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax + 0x54]
mulss xmm1, dword [0x102143ec]
movaps xmm3, xmm0
addss xmm3, xmm2
subss xmm2, xmm0
movss xmm0, dword [eax + 0x58]
mov eax, dword [esp + 0x9c]
mulss xmm0, dword [0x102143ec]
add eax, 6
mulss xmm3, dword [0x1021434c]
mulss xmm2, dword [0x1021434c]
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x78], xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x7c], xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x20], xmm2
jb 0x1015cb85
mov edx, dword [edi + 0x54]
lea eax, [edi + 0x54]
mov esi, dword [eax + 4]
cmp edx, esi
jne 0x1015cb6a
inc edx
mov dword [esp + 0x3c], edx
test esi, esi
je 0x1015cb55
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
mov ecx, eax
lea eax, [edi + 0x54]
sar ecx, 1
add ecx, esi
jmp 0x1015cb5a
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.100bff10
lea eax, [edi + 0x54]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
lea esi, [edi + 0x54]
inc dword [esi]
jmp 0x1015cba5
push 0x20
push ecx
movss dword [esp], xmm3
lea eax, [esp + 0x80]
movaps xmm3, xmm2
mov ecx, edi
push eax
movaps xmm2, xmm1
call fcn.1017fee0
lea esi, [edi + 0x54]
push ecx
mov dword [esp], 0x40900000
mov ecx, edi
push 0
push dword [esp + 0x1c]
push dword [esi]
push dword [edi + 0x5c]
call fcn.1017ebb0
mov eax, dword [esp + 0x4c]
movd xmm2, dword [esp + 0x9c]
mov dword [esi], 0
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax + 0x58]
mulss xmm0, dword [0x102143ec]
movss xmm1, dword [eax + 0x54]
mulss xmm1, dword [0x102143ec]
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0xd0], xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
movss dword [esp + 0x68], xmm1
movss dword [esp + 0xcc], xmm1
jb 0x1015cc40
cmp dword [esi + 4], 0
jne 0x1015cc24
push 8
mov ecx, esi
call fcn.100bff10
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x5c]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
lea esi, [edi + 0x54]
inc dword [esi]
jmp 0x1015cc63
movss xmm0, dword [esp + 0x48]
lea eax, [esp + 0xcc]
movss xmm3, dword [esp + 0x20]
push 0x20
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.1017fee0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 0
push dword [esp + 0x1c]
push dword [esi]
push dword [edi + 0x5c]
call fcn.1017ebb0
mov dword [esi], 0
mov esi, dword [esp + 0x50]
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cvtps2pd xmm1, xmm1
add esi, 0x148
mov dword [esp + 0x50], esi
lea eax, [esi - 0xec]
cmp eax, ecx
jne 0x1015c550
push 0x1046ad8c
call fcn.101b49cd
add esp, 4
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.101b526a
mov esp, ebp
pop ebp
ret
push 5
call fcn.101b4bdc
push 6
mov dword [0x1046adb8], 0x7ffffffe
call fcn.101b4bdc
int3