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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1b0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
cmp byte [ebp + 0x66], al
je 0x5ac8d3
cmp dword [ebp + 0x7c], eax
jne 0x5ac8d3
lea ebx, [eax + 1]
jmp 0x5ac8d5
xor ebx, ebx
cmp dword [ebp + 8], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
jle 0x5ac95a
xor eax, eax
mov dword [esp + 0x30], eax
lea esp, [esp]
mov ecx, dword [ebp + 0x1c8]
mov esi, dword [eax + ecx + 4]
add eax, ecx
mov ecx, dword [eax]
add esi, ecx
cmp ecx, esi
jge 0x5ac941
mov eax, ecx
shl eax, 4
sub eax, ecx
add eax, eax
add eax, eax
add eax, eax
mov edx, dword [ebp + 0x1d4]
add edx, eax
test byte [edx], 4
je 0x5ac939
lea edi, [esi - 1]
cmp ecx, edi
je 0x5ac936
test byte [edx + 0x78], 4
je 0x5ac936
add dword [esp + 0x44], 2
inc ecx
add eax, 0x78
jmp 0x5ac939
and dword [edx], 0xfffffffb
inc ecx
add eax, 0x78
cmp ecx, esi
jl 0x5ac911
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
inc ecx
add eax, 0xc
cmp ecx, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jl 0x5ac8f0
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [esp + 0x2c], esi
jle 0x5ace0b
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 0x1c8]
mov ecx, dword [esp + 0x28]
add eax, ecx
cmp dword [eax + 4], 2
mov dword [esp + 0x20], eax
jge 0x5ac98e
mov dword [eax], 0xffffffff
jmp 0x5acdf2
mov esi, dword [eax]
mov edi, dword [eax + 4]
movsd xmm2, qword [ebp + ebx*8 + 0x90]
movsd xmm3, qword [ebp + ebx*8 + 0x80]
movsd xmm4, qword [ebp + ebx*8 + 0xb0]
movsd xmm5, qword [ebp + ebx*8 + 0xa0]
lea eax, [ebx*8]
lea ecx, [esp + eax + 0x78]
movapd xmm0, xmm2
subsd xmm0, xmm3
movsd qword [ecx], xmm0
add edi, esi
cmp byte [ebp + 0x66], 0
mov dword [esp + 0x4c], ecx
lea ecx, [esp + eax + 0x98]
movapd xmm0, xmm4
subsd xmm0, xmm5
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], ecx
movsd qword [ecx], xmm0
jne 0x5aca41
mov edx, 0x13
sub edx, ebx
movsd xmm0, qword [ebp + edx*8]
mov ecx, 0x11
sub ecx, ebx
subsd xmm0, qword [ebp + ecx*8]
neg eax
mov edx, 0x17
sub edx, ebx
mov ecx, 0x15
movsd qword [esp + eax + 0x80], xmm0
movsd xmm0, qword [ebp + edx*8]
sub ecx, ebx
subsd xmm0, qword [ebp + ecx*8]
movsd qword [esp + eax + 0xa0], xmm0
cmp esi, edi
mov eax, esi
jge 0x5accc1
mov edx, dword [esp + 0x40]
mov ecx, edx
shl ecx, 4
sub ecx, edx
mov edx, dword [ebp + 0x1d4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x3c], ecx
add ecx, edx
mov dword [esp + 0x24], ecx
jmp 0x5aca74
mov ecx, dword [esp + 0x24]
test byte [ecx], 8
jne 0x5accb9
mov edx, ebx
shl edx, 4
movsd xmm1, qword [edx + ecx + 0x10]
mov ecx, dword [esp + 0x4c]
movsd xmm6, qword [ecx]
movapd xmm0, xmm1
subsd xmm0, xmm3
comisd xmm6, xmm0
mov dword [esp + 0x30], edx
jbe 0x5acabb
movsd xmm6, qword [ebp + 0x20]
comisd xmm6, xmm0
movsd qword [ecx], xmm0
mov esi, eax
mov dword [esp + ebx*4 + 0x58], eax
ja 0x5accc1
movapd xmm0, xmm2
subsd xmm0, xmm1
movsd xmm1, qword [ecx]
comisd xmm1, xmm0
jbe 0x5acae6
movsd xmm1, qword [ebp + 0x20]
comisd xmm1, xmm0
movsd qword [ecx], xmm0
mov esi, eax
mov dword [esp + ebx*4 + 0x58], eax
ja 0x5accc1
mov ecx, dword [esp + 0x24]
movsd xmm1, qword [edx + ecx + 0x18]
mov ecx, dword [esp + 0x50]
movsd xmm6, qword [ecx]
movapd xmm0, xmm1
subsd xmm0, xmm5
comisd xmm6, xmm0
jbe 0x5acb1f
movsd xmm6, qword [ebp + 0x20]
comisd xmm6, xmm0
movsd qword [ecx], xmm0
mov esi, eax
mov dword [esp + ebx*4 + 0x58], eax
ja 0x5accc1
movapd xmm0, xmm4
subsd xmm0, xmm1
movsd xmm1, qword [ecx]
comisd xmm1, xmm0
jbe 0x5acb4a
movsd xmm1, qword [ebp + 0x20]
comisd xmm1, xmm0
movsd qword [ecx], xmm0
mov esi, eax
mov dword [esp + ebx*4 + 0x58], eax
ja 0x5accc1
cmp byte [ebp + 0x66], 0
jne 0x5acca1
mov edi, dword [esp + 0x3c]
mov ecx, 2
sub ecx, ebx
shl ecx, 4
add ecx, dword [ebp + 0x1d4]
movsd xmm1, qword [ecx + edi]
mov ecx, 0x11
sub ecx, ebx
movapd xmm0, xmm1
subsd xmm0, qword [ebp + ecx*8]
lea ecx, [ebx*8]
neg ecx
movsd xmm6, qword [esp + ecx + 0x80]
comisd xmm6, xmm0
jbe 0x5acbc3
movsd xmm6, qword [ebp + 0x20]
lea edx, [ebx*4]
lea edi, [esp + 0x5c]
sub edi, edx
comisd xmm6, xmm0
movsd qword [esp + ecx + 0x80], xmm0
mov esi, eax
mov dword [edi], eax
ja 0x5accbd
mov edx, dword [esp + 0x30]
mov edi, 0x13
sub edi, ebx
movsd xmm0, qword [ebp + edi*8]
subsd xmm0, xmm1
movsd xmm1, qword [esp + ecx + 0x80]
comisd xmm1, xmm0
jbe 0x5acc10
movsd xmm1, qword [ebp + 0x20]
lea edx, [ebx*4]
lea edi, [esp + 0x5c]
sub edi, edx
comisd xmm1, xmm0
movsd qword [esp + ecx + 0x80], xmm0
mov esi, eax
mov dword [edi], eax
ja 0x5accbd
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
movsd xmm6, qword [esp + ecx + 0xa0]
sub edi, edx
movsd xmm1, qword [edi + 0x28]
mov edx, 0x15
sub edx, ebx
lea ecx, [esp + ecx + 0xa0]
movapd xmm0, xmm1
subsd xmm0, qword [ebp + edx*8]
comisd xmm6, xmm0
jbe 0x5acc62
movsd xmm6, qword [ebp + 0x20]
lea edx, [ebx*4]
lea edi, [esp + 0x5c]
sub edi, edx
comisd xmm6, xmm0
movsd qword [ecx], xmm0
mov esi, eax
mov dword [edi], eax
ja 0x5accbd
mov edx, 0x17
sub edx, ebx
movsd xmm0, qword [ebp + edx*8]
subsd xmm0, xmm1
movsd xmm1, qword [ecx]
comisd xmm1, xmm0
jbe 0x5acc9d
movsd xmm1, qword [ebp + 0x20]
movsd qword [ecx], xmm0
lea ecx, [ebx*4]
lea edx, [esp + 0x5c]
sub edx, ecx
comisd xmm1, xmm0
mov esi, eax
mov dword [edx], eax
ja 0x5accbd
mov edi, dword [esp + 0x48]
mov ecx, 0x78
add dword [esp + 0x3c], ecx
add dword [esp + 0x24], ecx
inc eax
cmp eax, edi
jl 0x5aca70
jmp 0x5accc1
mov esi, eax
jmp 0x5accc1
mov edi, dword [esp + 0x48]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
cmp esi, eax
je 0x5acdbe
lea edx, [edi - 1]
cmp esi, edx
je 0x5acdbe
mov ecx, dword [ebp + 0x1c8]
mov edx, dword [esp + 0x28]
test byte [edx + ecx + 8], 0x10
je 0x5acd58
cmp esi, edi
mov dword [esp + 0x20], esi
jge 0x5acd29
lea ebx, [ebx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x20]
inc ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x38], ecx
push edx
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.005b2c90
mov eax, dword [esp + 0x20]
inc eax
cmp eax, edi
mov dword [esp + 0x20], eax
jl 0x5acd00
mov edi, dword [esp + 0x40]
inc edi
cmp edi, esi
jg 0x5acde1
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x34]
inc eax
push ecx
mov ecx, ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
call fcn.005b2c90
inc edi
cmp edi, esi
jle 0x5acd36
jmp 0x5acde1
cmp eax, esi
mov dword [esp + 0x20], eax
jg 0x5acd89
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
inc eax
push ecx
mov ecx, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.005b2c90
mov eax, dword [esp + 0x20]
inc eax
cmp eax, esi
mov dword [esp + 0x20], eax
jle 0x5acd60
mov edx, edi
lea eax, [esp + 0x64]
sub edx, esi
push eax
mov ecx, ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 0
call fcn.005b2bf0
mov ecx, dword [ebp + 0x1c8]
mov edx, dword [esp + 0x28]
sub esi, edi
lea eax, [edx + ecx + 4]
inc esi
add dword [eax], esi
jmp 0x5acde1
cmp eax, edi
mov esi, eax
jge 0x5acde1
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x34]
inc eax
push ecx
mov ecx, ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call fcn.005b2c90
inc esi
cmp esi, edi
jl 0x5acdc4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x1e0]
mov dword [eax + edx*8 - 4], 0xffffffff
mov eax, dword [esp + 0x2c]
add dword [esp + 0x28], 0xc
inc eax
cmp eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
jl 0x5ac96d
xor esi, esi
mov ecx, dword [ebp + 8]
cmp ecx, 1
mov dword [esp + 0x4c], ecx
jle 0x5ace96
lea ebx, [ecx - 1]
cmp ebx, esi
jle 0x5ace4c
xor edi, edi
mov edx, dword [ebp + 0x1c8]
test byte [edi + edx + 8], 0x10
lea eax, [edi + edx]
jne 0x5ace42
cmp dword [eax], 0xffffffff
je 0x5ace42
push ecx
push esi
mov ecx, ebp
call fcn.005ac410
mov ecx, dword [esp + 0x4c]
inc esi
add edi, 0xc
cmp esi, ebx
jl 0x5ace20
xor esi, esi
mov eax, dword [ebp + 8]
cmp eax, esi
mov dword [ebp + 8], esi
jle 0x5acea4
xor ecx, ecx
mov esi, eax
mov eax, dword [ebp + 0x1c8]
cmp dword [eax + ecx], 0xffffffff
je 0x5ace8c
cmp dword [eax + ecx + 4], 2
jl 0x5ace8c
mov edx, dword [ebp + 8]
lea edi, [edx + 1]
mov dword [ebp + 8], edi
movq xmm0, qword [eax + ecx]
lea edx, [edx + edx*2]
lea edx, [eax + edx*4]
movq qword [edx], xmm0
mov eax, dword [eax + ecx + 8]
mov dword [edx + 8], eax
add ecx, 0xc
sub esi, 1
jne 0x5ace5a
jmp 0x5acea4
mov ecx, dword [ebp + 0x1c8]
cmp dword [ecx], 0xffffffff
jne 0x5acea4
mov dword [ebp + 8], esi
mov eax, dword [ebp + 8]
cmp eax, 1
xorps xmm3, xmm3
jle 0x5ad1f5
cmp dword [esp + 0x44], 2
jle 0x5ad1f5
cmp eax, esi
mov dword [esp + 0x2c], esi
jle 0x5ad1f5
mov dword [esp + 0x3c], esi
cmp dword [esp + 0x44], 3
jle 0x5ad1f5
mov edx, dword [ebp + 0x1c8]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + edx]
or edx, 0xffffffff
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
cmp ecx, edx
je 0x5ad1de
lea esp, [esp]
mov eax, dword [ebp + 0x1e0]
mov ebx, dword [eax + ecx*8]
mov edi, dword [ebp + 0x1d4]
mov esi, ebx
shl esi, 4
sub esi, ebx
add esi, esi
add esi, esi
add esi, esi
test byte [esi + edi], 4
mov dword [esp + 0x40], ebx
je 0x5ad1ba
mov ecx, dword [esp + 0x28]
mov ecx, dword [eax + ecx*8 + 4]
or ebx, 0xffffffff
or edi, ebx
mov dword [esp + 0x4c], ecx
cmp ecx, ebx
je 0x5acf55
cmp dword [eax + ecx*8 + 4], ebx
lea edx, [eax + ecx*8 + 4]
je 0x5acf51
mov edx, dword [edx]
mov ebx, dword [eax + ecx*8]
mov edi, dword [eax + edx*8]
mov edx, dword [esp + 0x30]
cmp edx, 0xffffffff
je 0x5ad19c
cmp edi, 0xffffffff
je 0x5ad19c
cmp byte [ebp + 0x66], 0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x48], 0
mov byte [esp + 0x50], 0
je 0x5ad002
mov eax, dword [esp + 0x54]
push eax
push ecx
push edx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x98]
push eax
mov ecx, ebp
call fcn.005aa700
mov ecx, dword [esp + 0x54]
push ecx
push edi
push ebx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xa0]
push eax
mov ecx, ebp
call fcn.005aa700
movsd xmm0, qword [esp + 0x90]
mulsd xmm0, qword [esp + 0x88]
xorps xmm3, xmm3
comisd xmm3, xmm0
jbe 0x5acfd4
mov cl, 1
jmp 0x5acfd6
xor cl, cl
movsd xmm0, qword [esp + 0x70]
mulsd xmm0, qword [esp + 0x58]
comisd xmm3, xmm0
mov byte [esp + 0x24], cl
jbe 0x5acff7
mov al, 1
mov byte [esp + 0x20], al
jmp 0x5ad0d3
xor al, al
mov byte [esp + 0x20], al
jmp 0x5ad0d3
push ecx
push edx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x9c]
push edx
mov ecx, ebp
call fcn.005aa2d0
push edi
push ebx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xa4]
push eax
mov ecx, ebp
call fcn.005aa2d0
movsd xmm0, qword [esp + 0x90]
mulsd xmm0, qword [esp + 0x88]
xorps xmm3, xmm3
comisd xmm3, xmm0
jbe 0x5ad070
mov cl, 1
jmp 0x5ad072
xor cl, cl
movsd xmm0, qword [esp + 0x70]
mulsd xmm0, qword [esp + 0x58]
comisd xmm3, xmm0
mov byte [esp + 0x24], cl
jbe 0x5ad08c
mov al, 1
jmp 0x5ad08e
xor al, al
movsd xmm0, qword [esp + 0xb0]
mulsd xmm0, qword [esp + 0xa8]
comisd xmm3, xmm0
mov byte [esp + 0x20], al
mov byte [esp + 0x48], 1
ja 0x5ad0b4
mov byte [esp + 0x48], 0
movsd xmm0, qword [esp + 0x98]
mulsd xmm0, qword [esp + 0x78]
comisd xmm3, xmm0
mov byte [esp + 0x50], 1
ja 0x5ad0d3
mov byte [esp + 0x50], 0
test cl, cl
jne 0x5ad0eb
test al, al
jne 0x5ad0eb
cmp byte [esp + 0x48], al
jne 0x5ad0eb
cmp byte [esp + 0x50], al
je 0x5ad19c
mov eax, dword [ebp + 0x1d4]
fld qword [0x5fc870]
and dword [eax + esi], 0xfffffffb
mov ecx, dword [ebp + 0x1d4]
add eax, esi
mov eax, ebx
shl eax, 4
sub eax, ebx
add eax, eax
add eax, eax
add eax, eax
and dword [ecx + eax], 0xfffffffb
mov edx, dword [ebp + 0x1d4]
add ecx, eax
add esi, edx
mov ecx, 0x1e
lea edi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
sub esp, 8
cmp byte [ebp + 0x66], 0
lea esi, [eax + edx]
mov ecx, 0x1e
fstp qword [esp]
lea edi, [esp + 0x150]
rep movsd dword es:[edi], dword [esi]
je 0x5ad2dc
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
push ecx
push esi
push edi
lea edx, [esp + 0xe4]
push edx
mov ecx, ebp
call fcn.005aa130
test al, al
je 0x5ad199
fld qword [0x5fc870]
mov eax, dword [esp + 0x54]
sub esp, 8
fstp qword [esp]
push eax
push esi
push edi
lea ecx, [esp + 0x15c]
push ecx
mov ecx, ebp
call fcn.005aa130
test al, al
jne 0x5ad336
xorps xmm3, xmm3
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x5ad1ad
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ebx
sub dword [esp + 0x44], 2
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x44], 2
jl 0x5ad1de
mov eax, dword [ebp + 0x1e0]
mov ecx, dword [eax + ecx*8 + 4]
mov edx, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ecx
cmp ecx, 0xffffffff
jne 0x5acf00
mov eax, dword [esp + 0x2c]
add dword [esp + 0x3c], 0xc
inc eax
cmp eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
jl 0x5acece
cmp dword [ebp + 8], 0
mov dword [esp + 0x2c], 0
jle 0x5ad2b4
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [ebp + 0x1c8]
mov eax, dword [ebp + 0x1e0]
mov esi, dword [ebp + 0x1d4]
lea edi, [ebx + ecx]
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
mov edx, dword [eax + edx*8]
mov eax, dword [eax + ecx*8]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, edx
shl eax, 4
sub eax, edx
movsd xmm1, qword [esi + eax*8 + 0x38]
subsd xmm1, qword [esi + ecx*8 + 0x38]
movsd xmm4, qword [esi + eax*8 + 0x50]
movsd xmm0, qword [esi + eax*8 + 0x30]
subsd xmm0, qword [esi + ecx*8 + 0x30]
movsd xmm2, qword [esi + eax*8 + 0x40]
subsd xmm2, qword [esi + ecx*8 + 0x40]
lea eax, [esi + eax*8]
lea ecx, [esi + ecx*8 + 0x30]
mulsd xmm4, xmm1
movsd xmm1, qword [eax + 0x48]
mulsd xmm1, xmm0
movsd xmm0, qword [eax + 0x58]
addsd xmm4, xmm1
mulsd xmm0, xmm2
addsd xmm4, xmm0
comisd xmm3, xmm4
jbe 0x5ad29f
push edi
mov ecx, ebp
call fcn.005ac2d0
xorps xmm3, xmm3
mov eax, dword [esp + 0x2c]
inc eax
add ebx, 0xc
cmp eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
jl 0x5ad210
mov eax, dword [ebp + 8]
cmp eax, 1
jg 0x5ad495
jne 0x5ad2d2
mov ecx, dword [ebp + 0x1c8]
cmp dword [ecx + 4], 0
jne 0x5ad495
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push esi
push edi
push edx
push eax
lea ecx, [esp + 0xe8]
push ecx
mov ecx, ebp
call fcn.005a9e40
test al, al
je 0x5ad199
fld qword [0x5fc870]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
push esi
push edi
push edx
push eax
lea ecx, [esp + 0x160]
push ecx
mov ecx, ebp
call fcn.005a9e40
test al, al
je 0x5ad199
movsd xmm0, qword [esp + 0x100]
subsd xmm0, qword [esp + 0x178]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [esp + 0x108]
subsd xmm0, qword [esp + 0x180]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [esp + 0x110]
subsd xmm0, qword [esp + 0x188]
lea ecx, [esp + 0xb8]
movsd qword [esp + 0xc8], xmm0
call fcn.004a88b0
fld qword [0x5ff758]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x5ad199
lea edx, [esp + 0xd0]
push edx
mov ecx, ebp
call fcn.005b2c40
mov eax, dword [ebp + 0x1e0]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x34]
dec eax
push ecx
mov ecx, ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.005b2c90
mov ecx, dword [ebp + 0x1c8]
add ecx, dword [esp + 0x3c]
xor edx, edx
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x5ad40a
mov esi, dword [ebp + 0x1e0]
lea ebx, [ebx]
mov eax, dword [esi + eax*8 + 4]
inc edx
cmp eax, 0xffffffff
jne 0x5ad400
mov dword [ecx + 4], edx
lea edx, [esp + 0x148]
push edx
mov ecx, ebp
call fcn.005b2c40
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x34]
dec eax
mov dword [esp + 0x38], ecx
push edx
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.005b2c90
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x64]
dec eax
push ecx
mov ecx, ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 2
mov dword [esp + 0x70], 0
call fcn.005b2bf0
mov eax, dword [ebp + 8]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x1c8]
lea edx, [eax + edx*4 - 0xc]
mov eax, dword [edx]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x5ad48a
mov esi, dword [ebp + 0x1e0]
jmp 0x5ad480
mov eax, dword [esi + eax*8 + 4]
inc ecx
cmp eax, 0xffffffff
jne 0x5ad480
xorps xmm3, xmm3
mov dword [edx + 4], ecx
jmp 0x5ad1ad
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret