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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 0x20]
lea eax, [esi + 0x20]
push edi
xor edi, edi
lea ebx, [esi + 0x28]
mov dword [ebp - 0xc], ebx
test edx, edx
je 0x1005781c
mov ecx, dword [ebx]
nop
mov eax, dword [ecx]
lea ecx, [ecx + 0x28]
shr eax, 2
cmp edi, eax
cmovge eax, edi
mov edi, eax
sub edx, 1
jne 0x10057800
lea ecx, [esi + 0x20]
mov dword [ebp - 0x10], ecx
jmp 0x10057822
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x10057846
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1003c860
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10057872
push eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
call fcn.1003c860
add esp, 4
mov dword [esi + 0x1c], 0
lea ebx, [esi + 0x28]
mov byte [esi + 0x44], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x58], xmm0
inc edi
mov ecx, esi
movups xmmword [esi + 0x68], xmm0
push edi
mov word [esi + 0x78], 0
mov dword [ebp - 0x14], edi
call fcn.10057c00
mov edx, dword [esi + 0x20]
mov dword [ebp - 8], 0
mov dword [ebp - 4], edx
test edx, edx
jle 0x10057909
mov edi, dword [ebp - 0xc]
xor ebx, ebx
nop dword [eax]
mov ecx, dword [edi]
lea ebx, [ebx + 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + ebx - 0x28]
movss xmm0, dword [ecx + ebx - 0x24]
mov ecx, dword [esi + 8]
shr eax, 2
movss dword [ecx + eax*4], xmm0
mov ecx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov edx, eax
and eax, 7
sar edx, 3
movzx ecx, byte [edx + esi + 0x58]
bts ecx, eax
mov eax, dword [ebp - 8]
mov byte [edx + esi + 0x58], cl
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp eax, edx
jl 0x100578b0
lea ebx, [esi + 0x28]
cmp dword [esi + 0x14], 0x20
lea edi, [esi + 0x2c]
ja 0x10057916
mov eax, dword [edi]
jmp 0x10057931
mov eax, dword ds:[esi + 0x1c]
mov eax, dword [eax + 0x80]
cmp eax, 0xffffffff
jne 0x10057929
mov eax, dword [edi]
jmp 0x10057931
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*8]
mov edx, dword ds:[ebp - 4]
mov ecx, esi
add ecx, 0x1c
mov dword [ebp - 8], ecx
test eax, eax
je 0x10057a0d
mov eax, dword [ebx]
lea edx, [edx + edx*4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edi
mov eax, dword [eax + edx*8 - 0x28]
and eax, 0xfffffffc
cmp eax, 0x24
je 0x10057978
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x20]
inc eax
push eax
call fcn.1005c200
lea ecx, [esi + 0x1c]
lea eax, [esi + 0x2c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x14], 0x20
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x28]
mov dword [ebp - 0xc], edx
lea ebx, [eax + eax*4]
ja 0x1005798e
mov eax, dword [edi]
jmp 0x100579a5
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
cmp eax, 0xffffffff
jne 0x1005799f
mov eax, dword [edi]
jmp 0x100579a5
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
movups xmm0, xmmword [eax]
mov edi, dword [ebp - 0x10]
movups xmmword [edx + ebx*8 - 0x28], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edx + ebx*8 - 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edx + ebx*8 - 8], xmm0
movss xmm0, dword [edx + ebx*8 - 0x24]
mov ecx, dword [edx + ebx*8 - 0x28]
mulss xmm0, dword [0x1015c870]
and ecx, 3
or ecx, 0x24
mov dword [edx + ebx*8 - 0x28], ecx
shr ecx, 2
movss dword [edx + ebx*8 - 0x24], xmm0
mov eax, dword [esi + 8]
movss dword [eax + ecx*4], xmm0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x20]
dec edx
mov ecx, dword [ecx + ebx*8 - 0x28]
lea ebx, [esi + 0x28]
mov eax, dword [eax]
shr ecx, 2
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 8]
cmp dword [esi + 0x14], 0x20
ja 0x10057a17
mov eax, dword [edi]
jmp 0x10057a31
mov eax, dword ds:[ecx]
mov eax, dword [eax + 0x80]
cmp eax, 0xffffffff
jne 0x10057a29
mov eax, dword [edi]
jmp 0x10057a31
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*8]
mov edx, edi
test eax, eax
je 0x10057a40
and dword [eax], 0xfffffffd
lea edx, [esi + 0x2c]
lea ebx, [esi + 0x28]
cmp dword [esi + 0x14], 9
ja 0x10057a4a
mov eax, dword [edi]
jmp 0x10057a63
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
cmp eax, 0xffffffff
jne 0x10057a5b
mov eax, dword [edx]
jmp 0x10057a63
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*8]
test eax, eax
je 0x10057a70
and dword [eax], 0xfffffffd
lea ebx, [esi + 0x28]
lea edx, [esi + 0x2c]
mov ecx, dword [esi + 0x3c]
xorps xmm0, xmm0
cmp ecx, dword [esi + 0x14]
jae 0x10057a9b
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
je 0x10057a9b
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*8]
mov dword [edx], eax
test eax, eax
je 0x10057aa1
movss xmm1, dword [eax + 4]
jmp 0x10057aa4
mov dword [edx], 0
xorps xmm1, xmm1
mov edi, dword [ebp - 0x14]
xor edx, edx
movss dword [esi + 0xc], xmm1
cmp edi, 4
jl 0x10057b06
mov ebx, dword [esi + 8]
add edi, 0xfffffffc
shr edi, 2
inc edi
lea ecx, [ebx + 8]
lea edx, [edi*4]
comiss xmm0, dword [ecx - 8]
jbe 0x10057ad3
mov eax, dword [esi + 0xc]
mov dword [ecx - 8], eax
comiss xmm0, dword [ecx - 4]
jbe 0x10057adf
mov eax, dword [esi + 0xc]
mov dword [ecx - 4], eax
comiss xmm0, dword [ecx]
jbe 0x10057ae9
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
comiss xmm0, dword [ecx + 4]
jbe 0x10057af5
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
add ecx, 0x10
sub edi, 1
jne 0x10057ac7
mov edi, dword [ebp - 0x14]
cmp edx, edi
jge 0x10057b24
jmp 0x10057b10
test edi, edi
jle 0x10057b24
mov ebx, dword [esi + 8]
nop dword [eax]
comiss xmm0, dword [ebx + edx*4]
jbe 0x10057b1c
mov eax, dword [esi + 0xc]
mov dword [ebx + edx*4], eax
inc edx
cmp edx, edi
jl 0x10057b10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret