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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x729140]
xor eax, esp
mov dword [esp + 0xf4], eax
mov dword [esp + 0x20], edx
mov eax, ecx
mov ecx, dword [ebp + 8]
xorps xmm3, xmm3
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0x10]
push esi
movzx esi, byte [eax + 0x14]
mov dword [esp + 0x54], edx
inc esi
mov edx, dword [ebp + 0x14]
push edi
mov dword [esp + 0x48], edx
lea edi, [ecx*4 + 4]
mov edx, dword [ebp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
movsd qword [esp + 0x80], xmm3
imul esi, edi
call fcn.005b3df0
test eax, eax
jne 0x5d30b6
push eax
push esi
call fcn.005356a0
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
test edx, edx
je 0x5d30b6
mov ecx, dword [esp + 8]
push esi
push 0
push edx
movzx eax, byte [ecx + 0x14]
imul eax, edi
add eax, edx
mov dword [esp + 0x20], eax
call fcn.0064d010
mov eax, dword [esp + 0x14]
xor edi, edi
add esp, 0xc
mov dword [esp + 0x20], edi
mov cl, byte [eax + 0x14]
test cl, cl
je 0x5d2bfc
mov esi, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x1c], edx
movzx eax, cl
mov ecx, dword [esp + 0x18]
add eax, edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [esi], edx
test eax, eax
jle 0x5d2bc4
mov edi, eax
nop dword [eax + eax]
mov eax, dword [esi]
mov dword [eax + ecx*4], ecx
inc ecx
cmp ecx, edi
jl 0x5d2bb0
mov edx, dword [esi]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push dword [esp + 0x2c]
push edi
push eax
call fcn.005d2930
mov eax, dword [esp + 0x18]
inc edi
mov edx, dword [esp + 0x2c]
add esp, 0x10
add edx, dword [esp + 0xc]
add esi, 4
mov dword [esp + 0x20], edi
mov cl, byte [eax + 0x14]
movzx eax, cl
mov dword [esp + 0x1c], edx
cmp edi, eax
jl 0x5d2b91
movzx eax, cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], 0
test cl, cl
je 0x5d2f09
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
dec esi
mov dword [esp + 0x20], esi
mov eax, dword [edi + 0x10]
movzx ecx, byte [edi + 0x17]
sub eax, 4
cdq
idiv ecx
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
xor eax, eax
mov edx, dword [esp + 0x44]
xorps xmm0, xmm0
xor ecx, ecx
movsd qword [esp + 0x68], xmm0
xorps xmm3, xmm3
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x2c]
jg 0x5d2ed1
mov al, byte [edi + 0x16]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
lea eax, [eax + eax*2]
shl eax, 4
mov dword [esp + 0x4c], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + esi*4]
lea esi, [eax + eax*2]
movzx eax, byte [edi + 0x15]
shl esi, 4
add eax, 0xfffffffe
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
movups xmm0, xmmword [eax + ecx]
movups xmmword [esp + 0xc0], xmm0
movups xmm0, xmmword [eax + ecx + 0x10]
movups xmmword [esp + 0xd0], xmm0
movups xmm0, xmmword [eax + ecx + 0x20]
movups xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [esi + ecx]
movups xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
movups xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [esi + ecx + 0x20]
mov esi, 1
movups xmmword [esp + 0xb0], xmm0
cmp dword [esp + 0x20], esi
jle 0x5d2d67
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
add edi, 4
mov eax, dword [edi]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 8]
cmp esi, edx
lea edx, [esp + 0xc0]
push eax
jl 0x5d2d49
lea edx, [esp + 0x94]
call fcn.005d2200
mov edx, dword [esp + 0x34]
inc esi
mov ecx, dword [esp + 0x2c]
add esp, 4
add edi, 4
cmp esi, dword [esp + 0x20]
jl 0x5d2d28
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x50]
xorps xmm2, xmm2
mov cl, byte [esp + 0x13]
mov eax, edx
test cl, cl
jne 0x5d2d92
movss xmm0, dword [esp + eax*4 + 0xcc]
movss xmm1, dword [esp + eax*4 + 0xc8]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x5d2dac
movd xmm0, dword [esp + eax*4 + 0xcc]
movd xmm1, dword [esp + eax*4 + 0xc8]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
sub eax, 2
subsd xmm0, xmm1
addsd xmm2, xmm0
jns 0x5d2d74
addsd xmm2, xmm3
mov eax, edx
xorps xmm3, xmm3
test cl, cl
jne 0x5d2de0
movss xmm0, dword [esp + eax*4 + 0x9c]
movss xmm1, dword [esp + eax*4 + 0x98]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x5d2dfa
movd xmm0, dword [esp + eax*4 + 0x9c]
movd xmm1, dword [esp + eax*4 + 0x98]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
sub eax, 2
subsd xmm0, xmm1
addsd xmm3, xmm0
jns 0x5d2dc2
addsd xmm3, xmm2
push ecx
lea eax, [esp + 0x94]
mov ecx, edi
push eax
lea edx, [esp + 0xc8]
movsd qword [esp + 0x80], xmm3
call fcn.005d2290
add esp, 8
movsd qword [esp + 0x60], xmm0
lea edx, [esp + 0x90]
mov ecx, edi
call fcn.005d2090
lea edx, [esp + 0xc0]
movsd qword [esp + 0x88], xmm0
mov ecx, edi
call fcn.005d2090
movsd xmm1, qword [esp + 0x88]
mov edx, dword [esp + 0x30]
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0x60]
cmp edx, dword [esp + 0x44]
je 0x5d2e98
movsd xmm2, qword [esp + 0x68]
comisd xmm2, xmm0
ja 0x5d2e98
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jp 0x5d2eac
movsd xmm2, qword [esp + 0x70]
comisd xmm2, xmm1
jbe 0x5d2eac
mov ecx, edx
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x1c], ecx
movsd qword [esp + 0x70], xmm1
jmp 0x5d2eb0
mov ecx, dword [esp + 0x1c]
movsd xmm3, qword [esp + 0x78]
inc edx
mov esi, dword [esp + 0x54]
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x2c]
jle 0x5d2cc0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5d2ee4
movsd xmm0, qword [esp + 0x80]
comisd xmm0, xmm3
jbe 0x5d2ef5
mov dword [esp + 0x38], eax
movsd qword [esp + 0x80], xmm3
mov dword [esp + 0x34], ecx
add dword [esp + 0x24], 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x40]
jl 0x5d2c55
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
mov eax, dword [esi + ecx*4]
mov eax, dword [eax]
lea eax, [eax + eax*2]
add eax, eax
movups xmm0, xmmword [edx + eax*8]
movups xmmword [edi], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x20]
movups xmmword [edi + 0x20], xmm0
mov eax, dword [esi + ecx*4]
xor edi, edi
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
add eax, eax
movups xmm0, xmmword [edx + eax*8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [edx + eax*8 + 0x20]
mov eax, ecx
movups xmmword [eax + 0x20], xmm0
cmp dword [esp + 0xc], edi
jle 0x5d3031
nop word [eax + eax]
cmp edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
cmovl eax, dword [esp + 0x48]
cmovl ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + eax*4]
mov eax, dword [eax + edi*4]
lea eax, [eax + eax*2]
shl eax, 4
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [esp + 8]
movzx esi, byte [eax + 2]
movzx eax, byte [eax + 3]
shl esi, 8
add esi, eax
mov eax, dword [ecx + 0x10]
movzx ecx, byte [ecx + 0x17]
sub eax, 4
cdq
idiv ecx
cmp esi, eax
jge 0x5d3006
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push esi
push dword [esp + 0x30]
call fcn.005d0310
lea edx, [esi + 1]
add esp, 8
mov esi, dword [esp + 0x14]
mov eax, edx
shr eax, 8
mov ecx, dword [esi + 0x18]
mov byte [ecx + 2], al
mov byte [ecx + 3], dl
mov dword [esi + 0x14], 1
push dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
call fcn.005d2200
mov edx, dword [esp + 0x2c]
inc edi
mov esi, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x3c]
cmp edi, dword [esp + 0xc]
jl 0x5d2f80
cmp dword [0x729b90], 0
je 0x5d3096
mov eax, dword [0x734bb0]
test eax, eax
je 0x5d304d
push eax
call dword [0x729be0]
add esp, 4
push esi
call dword [0x729bbc]
sub dword [0x7349d8], eax
add esp, 4
dec dword [0x7349fc]
push esi
call dword [0x729bb4]
mov eax, dword [0x734bb0]
add esp, 4
test eax, eax
je 0x5d30a0
push eax
call dword [0x729be8]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
push esi
call dword [0x729bb4]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xfc]
mov eax, 7
pop edi
pop esi
xor ecx, esp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret