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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [0x10240c80]
push esi
push edi
mov edi, ecx
cmp byte [eax + 0x37d1], 0
mov dword [esp + 0x5c], edi
jne 0x1015d1fd
cmp byte [eax + 0x37f5], 0
je 0x1015d9e9
mov eax, dword [0x10240c88]
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 [0x10215474]
push 0x1046bc84
movss dword [esp + 0x1c], xmm0
call fcn.101b55db
add esp, 4
test eax, eax
jne 0x1015d9fd
cmp dword [0x1046bcb0], 0x7fffffff
je 0x1015da04
mov eax, dword [0x10533e38]
mov esi, dword [0x10533e34]
mov dword [esp + 0x1c], eax
cmp esi, eax
je 0x1015d9dc
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 0x1015d9c4
cmp byte [esi - 0x89], 0
je 0x1015d9c4
cmp byte [esi - 0x8a], 0
jne 0x1015d9c4
cmp byte [esi - 0x96], 0
mov eax, dword [0x10240c80]
je 0x1015d2bc
add eax, 0x37bc
jmp 0x1015d2c1
add eax, 0x37e0
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 0x1015d9c4
movss xmm0, dword [0x10533f88]
subss xmm0, dword [esi]
movss xmm2, dword [0x10533f84]
subss xmm2, dword [esi - 4]
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x40], xmm2
call fcn.101dce10
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
call fcn.101de090
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 0x1015d3a3
sqrtsd xmm0, xmm0
jmp 0x1015d3a8
call fcn.101de260
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0x40]
cvtsd2ss xmm0, xmm0
ucomiss xmm0, dword [0x10215420]
lahf
test ah, 0x44
jnp 0x1015d3d9
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 [0x10469450]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x64], eax
movss xmm1, dword [eax + 0x58]
mulss xmm1, dword [0x1021550c]
movaps xmm5, xmm0
movaps xmm6, xmm0
mulss xmm5, xmm3
movss xmm0, dword [eax + 0x54]
mov eax, esp
mulss xmm0, dword [0x1021550c]
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.100bb890
movss xmm5, dword [esp + 0x40]
movd xmm1, dword [esp + 0x98]
movaps xmm0, xmm5
mulss xmm0, dword [0x1021550c]
mov ecx, dword [esp + 0x20]
movss xmm6, dword [esp + 0x10]
movss xmm4, dword [esp + 0x58]
movaps xmm2, xmm6
mulss xmm2, dword [0x1021591c]
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 [0x1021550c]
movaps xmm2, xmm4
mulss xmm1, xmm5
addss xmm2, xmm0
mulss xmm5, dword [0x1021591c]
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 0x1015d5ac
push eax
push 3
lea eax, [esp + 0xec]
mov ecx, edi
push eax
call fcn.101805b0
cmp byte [esp + 0x96], 0
je 0x1015d9b7
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.1017f880
jmp 0x1015d9b7
cmp ecx, 1
jne 0x1015d73e
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.100bba10
mov ecx, eax
mov dword [esp + 0x20], eax
or ecx, dword [esp + 0x14]
test ecx, 0xff000000
je 0x1015d9b7
movd xmm2, dword [esp + 0x98]
movss xmm0, dword [0x1021550c]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1015d9b7
push ecx
push 0x30
push 0
lea eax, [esp + 0x7c]
mov ecx, edi
push eax
call fcn.10180980
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.1017f610
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 0x1015d6d1
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 0x1015d690
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x1015d732
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 0x1015d6f0
mov dword [edi + 0x54], 0
jmp 0x1015d9b3
cmp ecx, 2
jne 0x1015d9b7
movss xmm1, dword [0x10533f84]
movss xmm0, dword [0x10533f88]
subss xmm1, dword [esi - 4]
subss xmm0, dword [esi]
movss dword [esp + 0x3c], xmm1
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.101dcb20
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [0x10215420]
mulss xmm1, dword [0x102157a4]
movss dword [esp + 0x44], xmm1
jb 0x1015d7a4
addss xmm1, dword [0x10215810]
movss dword [esp + 0x44], xmm1
mov eax, dword [0x10240c88]
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 [0x102157cc]
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax + 0x54]
mulss xmm1, dword [0x1021550c]
movaps xmm3, xmm0
addss xmm3, xmm2
subss xmm2, xmm0
movss xmm0, dword [eax + 0x58]
mov eax, dword [esp + 0x9c]
mulss xmm0, dword [0x1021550c]
add eax, 6
mulss xmm3, dword [0x10215474]
mulss xmm2, dword [0x10215474]
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 0x1015d8b5
mov edx, dword [edi + 0x54]
lea eax, [edi + 0x54]
mov esi, dword [eax + 4]
cmp edx, esi
jne 0x1015d89a
inc edx
mov dword [esp + 0x3c], edx
test esi, esi
je 0x1015d885
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 0x1015d88a
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.100bf9c0
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 0x1015d8d5
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.10180bb0
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.1017f880
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 [0x1021550c]
movss xmm1, dword [eax + 0x54]
mulss xmm1, dword [0x1021550c]
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 0x1015d970
cmp dword [esi + 4], 0
jne 0x1015d954
push 8
mov ecx, esi
call fcn.100bf9c0
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 0x1015d993
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.10180bb0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 0
push dword [esp + 0x1c]
push dword [esi]
push dword [edi + 0x5c]
call fcn.1017f880
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 0x1015d280
push 0x1046bc84
call fcn.101b560d
add esp, 4
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.101b5eaa
mov esp, ebp
pop ebp
ret
push 5
call fcn.101b581c
push 6
mov dword [0x1046bcb0], 0x7ffffffe
call fcn.101b581c
int3