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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x10160380]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov edi, ecx
mov ecx, 0x101a157e
mov dword [esp + 0x24], edi
call fcn.10138266
cmp dword [ebp + 8], 5
jne 0x100d5fcd
mov esi, dword [0x10199f5c]
test esi, esi
je 0x100d5fcd
mov eax, dword [0x10190030]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + eax*4]
mov eax, dword [0x10197b4c]
mov dword [esp + 0x18], ecx
cmp eax, dword [ecx + 4]
jle 0x100d5955
push 0x10197b4c
call fcn.100dfe87
add esp, 4
cmp dword [0x10197b4c], 0xffffffff
jne 0x100d5951
mov eax, dword [0x10197b54]
push 0x10197b4c
mov dword [0x10197b50], eax
call fcn.100dfe36
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10197b50]
cmp dword [esi + eax], 0
jne 0x100d5fcd
mov eax, dword [0x10197b5c]
cmp eax, dword [ecx + 4]
jle 0x100d599e
push 0x10197b5c
call fcn.100dfe87
add esp, 4
cmp dword [0x10197b5c], 0xffffffff
jne 0x100d599e
mov eax, dword [0x10197b58]
push 0x10197b5c
mov dword [0x10197b48], eax
call fcn.100dfe36
add esp, 4
mov eax, dword [0x10197b48]
cmp dword [esi + eax], 0
jle 0x100d5fcd
cmp byte [0x101949b4], 0
mov esi, dword [0x10199f5c]
movss xmm1, dword [0x1015bf90]
mov dword [esp + 0x18], esi
je 0x100d5b4b
movss xmm0, dword [0x101949d4]
mulss xmm0, xmm1
mov esi, dword [esi + 0xba90]
cvttss2si edx, xmm0
movss xmm0, dword [0x101949d0]
mulss xmm0, xmm1
mov dword [esp + 0x30], edx
cvttss2si ecx, xmm0
movss xmm0, dword [0x101949cc]
mulss xmm0, xmm1
mov byte [esp + 0x16], cl
cvttss2si eax, xmm0
movss xmm0, dword [0x101949c8]
mulss xmm0, xmm1
mov byte [esp + 0x15], al
movd xmm1, dword [0x101949d8]
cvtdq2ps xmm1, xmm1
cvttss2si edx, xmm0
mulss xmm1, dword [0x1015bc64]
mov byte [esp + 0x14], dl
mov edx, dword [esp + 0x30]
mov byte [esp + 0x17], dl
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x30], ecx
movss dword [esp + 0x40], xmm1
cmp esi, dword [edi]
jle 0x100d5b3d
cvttss2si ecx, xmm0
lea edi, [esi + esi*4]
shl edi, 2
movaps xmm2, xmm1
xorps xmm2, xmmword [0x1015c4e0]
movzx ecx, cl
mov dword [esp + 0x2c], ecx
mov ecx, eax
shr ecx, 0x10
shr eax, 8
movzx ecx, cl
movzx eax, al
movss dword [esp + 0x1c], xmm2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
nop
mov ecx, dword [0x10190094]
push ecx
mov dword [esp], 0x40800000
push dword [esp + 0x34]
mov eax, dword [ecx]
push dword [esp + 0x1c]
mov dword [esp + 0x58], 0
push dword [esp + 0x34]
mov edx, dword [eax + 4]
lea eax, [esp + 0x5c]
push dword [esp + 0x3c]
mov dword [esp + 0x64], 0
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x6c], 0
push eax
lea eax, [esp + 0x80]
movss dword [esp + 0x74], xmm1
push eax
mov eax, dword [esp + 0x38]
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x84], xmm2
mov eax, dword [eax + 0xba84]
add eax, 0xffffffec
movss dword [esp + 0x88], xmm2
add eax, edi
movss dword [esp + 0x8c], xmm2
push eax
call edx
mov eax, dword [esp + 0x24]
dec esi
movss xmm1, dword [esp + 0x40]
add edi, 0xffffffec
movss xmm2, dword [esp + 0x1c]
cmp esi, dword [eax]
jg 0x100d5a90
mov edi, eax
mov esi, dword [esp + 0x18]
mov dword [esi + 0xba90], 0
mov eax, dword [esi + 0xba90]
cmp eax, dword [edi]
je 0x100d5b57
mov dword [edi], eax
cmp dword [0x101949dc], 0
je 0x100d5fcd
xor esi, esi
add edi, 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov ecx, dword [edi]
mov eax, 0x2aaaaaab
sub ecx, dword [edi - 4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d5fb8
mov ecx, dword [0x10190068]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100d5faf
mov esi, dword [0x10199f5c]
cmp eax, esi
sete byte [esp + 0x23]
je 0x100d5c7d
mov ecx, dword [0x10190030]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x10197e70]
cmp ecx, dword [eax + 4]
jle 0x100d5c12
push 0x10197e70
call fcn.100dfe87
mov ecx, dword [0x10197e70]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100d5c0c
mov eax, dword [0x10197d70]
push 0x10197e70
mov dword [0x10197e5c], eax
call fcn.100dfe36
mov ecx, dword [0x10197e70]
add esp, 4
mov esi, dword [0x10199f5c]
mov edx, dword [esp + 0x1c]
mov eax, dword [0x10197e5c]
mov edi, dword [0x10190030]
mov eax, dword [eax + edx]
mov edx, dword fs:[0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + edi*4]
mov edi, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jle 0x100d5c6b
push 0x10197e70
call fcn.100dfe87
add esp, 4
cmp dword [0x10197e70], 0xffffffff
jne 0x100d5c6b
mov eax, dword [0x10197d70]
push 0x10197e70
mov dword [0x10197e5c], eax
call fcn.100dfe36
add esp, 4
mov eax, dword [0x10197e5c]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + eax]
je 0x100d5c7d
mov al, 1
jmp 0x100d5c7f
xor al, al
cmp byte [esp + 0x23], 0
je 0x100d5c8f
movups xmm0, xmmword [0x10194a04]
jmp 0x100d5ca3
test al, al
jne 0x100d5c9c
movups xmm0, xmmword [0x101949f4]
jmp 0x100d5ca3
movups xmm0, xmmword [0x101949e4]
movss xmm1, dword [0x1015bf90]
movups xmmword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x38]
mulss xmm0, xmm1
mov dword [esp + 0x2c], eax
cvttss2si ecx, xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm1
mov dword [esp + 0x1c], ecx
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm1
mov dword [esp + 0x40], edx
cvttss2si eax, xmm0
mov dword [esp + 0x28], eax
mov eax, dword [0x101949e0]
sub eax, 0
je 0x100d5d46
sub eax, 1
jne 0x100d5fab
mov ecx, dword [0x10190094]
mov edx, dword [edi]
push ecx
mov dword [esp], 0x40400000
push eax
mov eax, dword [esp + 0x24]
mov esi, dword [ecx]
movzx eax, al
push eax
mov eax, dword [esp + 0x4c]
movzx eax, al
push eax
cvttss2si eax, xmm0
movzx eax, al
push eax
lea eax, [edx - 0xc]
push eax
lea eax, [edx - 0x18]
push eax
call dword [esi + 0x14]
jmp 0x100d5fab
mov eax, dword [edi]
movzx ecx, cl
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
movq xmm0, qword [eax - 0xc]
mov edi, dword [eax - 4]
mov esi, dword [eax - 0x10]
movq qword [esp + 0x30], xmm0
movq xmm0, qword [eax - 0x18]
mov eax, dword [esp + 0x2c]
movzx eax, al
shl eax, 8
or eax, ecx
movq qword [esp + 0x40], xmm0
shl eax, 8
xorps xmm0, xmm0
movzx ecx, dl
or eax, ecx
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0x28]
shl eax, 8
movzx ecx, cl
or eax, ecx
mov dword [esp + 0xfc], 0
mov dword [esp + 0x1c], eax
mov ecx, 0x1018e330
mov dword [esp + 0x24], eax
lea eax, [esp + 0x104]
push eax
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0xe8], 0xffffffff
movups xmmword [esp + 0x88], xmm0
mov dword [esp + 0xa4], 0
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xac], 0
movups xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xa0], 0xffffffff
movups xmmword [esp + 0xd4], xmm0
mov dword [esp + 0xa8], 0xffffffff
movups xmmword [esp + 0xf0], xmm0
mov byte [esp + 0xe4], 1
mov dword [esp + 0xec], 0
mov dword [esp + 0x74], 0
call fcn.1004ba40
cmp dword [esp + 0x118], 0xf
lea eax, [esp + 0x104]
lea ecx, [esp + 0x104]
cmova eax, dword [esp + 0x104]
mov dword [esp + 0xa0], eax
call fcn.1001b490
movq xmm0, qword [esp + 0x40]
movzx eax, byte [esp + 0x27]
movq qword [esp + 0x84], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0x90], xmm0
movd xmm0, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
movzx ecx, al
movzx eax, ah
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x8c], esi
mov dword [esp + 0x98], edi
movss dword [esp + 0xc4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xb0], 0x40400000
mov dword [esp + 0xbc], 0x3dcccccd
mov dword [esp + 0xac], 0
mov dword [esp + 0xc0], 0x3f800000
mov dword [esp + 0xe4], 2
movss dword [esp + 0xd4], xmm0
movd xmm0, eax
movzx eax, byte [esp + 0x26]
cvtdq2ps xmm0, xmm0
mov byte [esp + 0xe0], 1
mov dword [esp + 0xc8], 0x3f800000
movss dword [esp + 0xd8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xdc], xmm0
mov ecx, dword [0x10190098]
lea edx, [esp + 0x70]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xb4], 0x40400000
mov dword [esp + 0xb8], 0x40400000
mov dword [esp + 0xe8], 0x304
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x30]
call eax
test eax, eax
je 0x100d5fa7
mov ecx, dword [0x10190098]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [edi - 4]
cmp eax, dword [edi]
je 0x100d5fb8
mov dword [edi], eax
inc esi
add edi, 0xc
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
cmp esi, 0x41
jl 0x100d5b71
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret 4