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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xd8
mov eax, dword [esp + 0xec]
mov ecx, dword [0x6c48a8]
neg ecx
mov ebx, dword [eax]
add ecx, ebx
mov edx, dword [0x6c4888]
movsd xmm1, qword [0x68fc10]
mov eax, dword [edx + ecx*4]
mov dword [esp + 0xd0], eax
test eax, eax
jle 0x59d213
mov edi, dword [0x6c5148]
movaps xmm0, xmm1
mov dword [esp + 0xa4], edi
mov eax, 0x20
mov edi, dword [0x6c5170]
mov ebp, 1
mov ecx, dword [0x6c8088]
mov dword [esp + 0xa0], edi
movsd xmm3, qword [0x68fc20]
mov edi, dword [0x6c5168]
mov byte [0x716913], al
mov byte [0x716912], al
mov byte [0x716911], al
mov byte [0x716910], al
mov dword [esp + 0xd4], ecx
mov byte [0x71690f], 0x4c
mov byte [0x71690e], 0x4f
mov byte [0x71690d], 0x50
mov byte [0x71690c], 0x52
mov byte [0x71690b], 0x45
mov byte [0x71690a], 0x54
mov byte [0x716909], 0x4e
mov byte [0x716908], 0x49
mov eax, dword [0x6c80a8]
mov ecx, dword [0x6c5174]
mov dword [esp + 0x9c], edi
movsd xmm2, qword [0x68fc18]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x5c], xmm3
mov esi, dword [0x6c4884]
mov edx, ebp
neg esi
lea edi, [eax*4]
add esi, ebx
neg edi
imul esi, dword [0x6c4880]
sub edx, dword [0x6c4878]
add esi, dword [0x6c4858]
add edi, dword [esp + 0xd4]
mov esi, dword [esi + edx*4]
test byte [edi + esi*4], 1
je 0x59c1d0
mov edx, dword [0x6c47f4]
neg ecx
neg edx
add ecx, ebx
mov edi, dword [0x6c47e8]
add edx, ebx
shl edi, 2
mov eax, dword [0x6c47c8]
sub eax, edi
imul edx, dword [0x6c47f0]
imul ecx, dword [esp + 0xa0]
mov dword [esp + 0x98], esi
lea edi, [eax + esi*4]
mov eax, dword [0x6c51cc]
neg eax
mov edx, dword [edi + edx]
add eax, ebx
mov edi, dword [0x6c51c0]
shl edi, 2
mov dword [0x81e9c0], edx
mov edx, dword [0x6c51a0]
sub edx, edi
imul eax, dword [0x6c51c8]
lea edi, [edx + esi*4]
mov eax, dword [edi + eax]
cdq
mov edi, dword [esp + 0x9c]
xor eax, edx
shl edi, 3
sub eax, edx
mov edx, dword [esp + 0xa4]
sub edx, edi
mov dword [esp + 0xcc], eax
mov edi, dword [0x6c4848]
shl edi, 2
lea eax, [edx + esi*8]
mov edx, dword [0x6c4854]
neg edx
add edx, ebx
movsd qword [eax + ecx], xmm1
mov eax, dword [0x6c4828]
sub eax, edi
imul edx, dword [0x6c4850]
mov ecx, dword [esp + 0xf4]
movsd qword [ecx], xmm1
lea ecx, [eax + esi*4]
mov edi, dword [ecx + edx]
mov dword [esp + 0xb0], edi
mov edi, dword [0x6c4824]
mov eax, dword [0x6c4818]
neg edi
shl eax, 2
add edi, ebx
mov ecx, dword [0x6c47f8]
sub ecx, eax
imul edi, dword [0x6c4820]
mov eax, dword [0x6c4c00]
lea edx, [ecx + esi*4]
mov ecx, dword [0x6c4c0c]
neg ecx
shl eax, 3
add ecx, ebx
mov edi, dword [edx + edi]
mov edx, dword [0x6c4be0]
sub edx, eax
imul ecx, dword [0x6c4c08]
mov dword [esp + 0xc4], edi
lea esi, [edx + esi*8]
movsd xmm4, qword [esi + ecx]
mov esi, dword [0x6c5c68]
mov ecx, dword [0x6c8080]
shl ecx, 3
mov dword [esp + 0xc8], ecx
mov ecx, dword [0x6c5c74]
mov edx, dword [0x6c5c70]
imul ecx, edx
imul ebx, edx
mov dword [esp + 0xb8], esi
lea edx, [esi*8]
mov dword [esp + 0xbc], edx
mov eax, dword [0x6c8060]
mov esi, dword [esp + 0xcc]
mov edx, dword [0x6c5c48]
test edi, edi
jne 0x59bf02
sub edx, ecx
sub edx, dword [esp + 0xbc]
add edx, ebx
sub eax, dword [esp + 0xc8]
mov edi, dword [esp + 0xb0]
movsd xmm0, qword [eax + edi*8]
movsd xmm2, qword [edx + edi*8]
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x68], xmm2
jmp 0x59bfbb
cmp dword [esp + 0xb0], 0
lea edi, [edi*8]
jne 0x59bf4b
sub edx, ecx
sub edx, dword [esp + 0xbc]
add edx, ebx
sub eax, dword [esp + 0xc8]
movsd xmm0, qword [eax + edi]
movsd xmm2, qword [edx + edi]
xorps xmm0, xmmword [0x68fbf0]
xorps xmm2, xmmword [0x68fbf0]
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x68], xmm2
jmp 0x59bfbb
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0xcc], esi
mov edi, dword [esp + 0xc8]
lea esi, [eax + ebp*8]
mov ebp, dword [esp + 0xc4]
sub esi, edi
lea eax, [eax + ebp*8]
sub eax, edi
movsd xmm0, qword [esi]
subsd xmm0, qword [eax]
mov eax, dword [esp + 0xb8]
movsd qword [esp + 0x70], xmm0
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0xb0]
lea esi, [edx + ecx*8]
add esi, ebx
lea edx, [edx + ebp*8]
sub esi, eax
add edx, ebx
sub edx, eax
mov ebp, dword [esp + 0x64]
movsd xmm2, qword [esi]
mov esi, dword [esp + 0xcc]
subsd xmm2, qword [edx]
movsd qword [esp + 0x68], xmm2
lea eax, [esp + 0x98]
push dword [esp + 0x100]
push dword [esp + 0x100]
push dword [esp + 0xf8]
push eax
push dword [esp + 0xfc]
movsd qword [eax - 0xc], xmm4
call fcn.00466ee0
movsd xmm1, qword [0x68fc10]
movsd xmm4, qword [esp + 0xa0]
add esp, 0x14
mov ecx, dword [esp + 0xec]
mov eax, dword [0x6c4d5c]
neg eax
mov edi, dword [0x6c4d50]
mov ebx, dword [ecx]
neg edi
add eax, ebx
mov ecx, dword [esp + 0x98]
add edi, ecx
imul eax, dword [0x6c4d58]
fstp qword [esp + 0x84]
wait
mov edx, dword [0x6c4d30]
lea edx, [edx + edi*8]
movsd xmm0, qword [edx + eax]
cmp esi, 2
je 0x59d0ef
mov dword [esp + 0xcc], esi
lea eax, [ecx*4]
mov esi, dword [0x6c51a0]
mov edi, dword [0x6c51c0]
mov dword [esp + 0xa8], eax
mov eax, ebx
mov edx, dword [0x6c51c8]
sub eax, dword [0x6c51cc]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], edi
shl edi, 2
imul eax, edx
lea edx, [esi + ecx*4]
sub edx, edi
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0xcc]
cmp dword [edx + eax], 0xd
mov eax, dword [0x6c51cc]
je 0x59cf76
neg eax
mov edx, dword [esp + 0xb4]
add eax, ebx
mov edi, dword [esp + 0xc0]
shl edx, 2
add edi, dword [esp + 0xa8]
neg edx
imul eax, dword [esp + 0xac]
add edi, edx
mov eax, dword [edi + eax]
cmp eax, 0xfffffff3
je 0x59ce01
cmp esi, 0xa
je 0x59cd6f
cmp eax, 3
je 0x59cccd
cmp eax, 0xfffffffd
je 0x59cc33
cmp eax, 4
je 0x59cb68
cmp esi, 8
je 0x59cb0a
cmp esi, 5
je 0x59c702
cmp esi, 0xf
je 0x59c36a
lea eax, [ecx*8]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xf4]
movsd xmm0, qword [0x68fc18]
comisd xmm0, xmmword [eax]
jbe 0x59c154
mov eax, dword [esp + 0xf4]
movsd xmm0, qword [0x68fc18]
movsd qword [eax], xmm0
mov ecx, dword [esp + 0xf4]
mov edi, dword [0x6c5168]
mov esi, dword [0x6c5170]
movsd xmm3, qword [ecx]
mov ecx, dword [0x6c5174]
mov eax, ecx
neg eax
movaps xmm2, xmm3
add eax, ebx
mov dword [esp + 0xa0], esi
imul eax, esi
lea esi, [edi*8]
movsd xmm0, qword [esp + 0x7c]
minsd xmm2, xmm0
neg esi
mov edx, dword [0x6c5148]
add esi, edx
add esi, dword [esp + 0x94]
movsd qword [esp + 0x7c], xmm2
mov dword [esp + 0xa4], edx
movsd qword [esi + eax], xmm3
mov eax, dword [0x6c8088]
mov dword [esp + 0xd4], eax
mov dword [esp + 0x9c], edi
mov eax, dword [0x6c80a8]
inc ebp
cmp ebp, dword [esp + 0xd0]
jle 0x59bd21
mov edx, dword [esp + 0xf8]
mov ebp, dword [esp + 0xd0]
shr ebp, 1
movsd xmm0, qword [esp + 0x7c]
movsd xmm2, qword [0x68fc18]
movsd qword [edx], xmm0
addsd xmm2, xmm0
test ebp, ebp
jbe 0x59c360
mov edi, dword [esp + 0x9c]
lea edx, [eax*4]
neg edx
xor esi, esi
add edx, dword [esp + 0xd4]
mov dword [esp + 8], edx
mov edx, ebx
sub edx, ecx
shl edi, 3
imul edx, dword [esp + 0xa0]
neg edi
add edi, dword [esp + 0xa4]
mov dword [esp + 0x78], ebx
add edx, edi
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0xf4]
test byte [ebx + esi*8 + 4], 1
je 0x59c286
mov edi, esi
shl edi, 4
movsd xmm3, qword [edx + edi + 8]
movsd qword [eax], xmm3
comisd xmm2, xmm3
jbe 0x59c286
comisd xmm3, xmmword [ecx]
jbe 0x59c286
movsd qword [ecx], xmm3
test byte [ebx + esi*8 + 8], 1
je 0x59c2ac
mov edi, esi
shl edi, 4
movsd xmm3, qword [edx + edi + 0x10]
movsd qword [eax], xmm3
comisd xmm2, xmm3
jbe 0x59c2ac
comisd xmm3, xmmword [ecx]
jbe 0x59c2ac
movsd qword [ecx], xmm3
inc esi
cmp esi, ebp
jb 0x59c260
mov ebx, dword [esp + 0x78]
lea ebp, [esi + esi + 1]
mov ecx, dword [esp]
mov eax, dword [esp + 4]
lea edx, [ebp - 1]
cmp edx, dword [esp + 0xd0]
jae 0x59c32a
neg eax
add eax, ebp
mov edx, dword [esp + 0xd4]
test byte [edx + eax*4], 1
je 0x59c32a
mov edx, dword [esp + 0x9c]
sub ebx, ecx
neg edx
add edx, ebp
imul ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
lea ecx, [eax + edx*8]
movsd xmm3, qword [ecx + ebx]
mov ebx, dword [esp + 0xf4]
comisd xmm2, xmm3
movsd qword [ebx], xmm3
jbe 0x59c32a
mov eax, dword [esp + 0xf8]
comisd xmm3, xmmword [eax]
jbe 0x59c32a
mov eax, dword [esp + 0xf8]
movsd qword [eax], xmm3
mov eax, dword [esp + 0xf4]
mov edx, dword [esp + 0xf8]
movsd qword [eax], xmm0
movsd xmm0, qword [edx]
comisd xmm0, xmmword [0x68fc50]
jbe 0x59c355
mov eax, dword [esp + 0xf8]
movsd qword [eax], xmm1
add esp, 0xd8
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, 1
jmp 0x59c2c0
mov eax, dword [0x6c47e8]
shl eax, 2
mov esi, dword [0x6c47c8]
sub esi, eax
mov eax, dword [0x6c47f4]
neg eax
add eax, ebx
imul eax, dword [0x6c47f0]
add esi, dword [esp + 0xa8]
mov edi, dword [0x6c4d5c]
neg edi
mov edx, dword [0x6c88b8]
add edi, ebx
mov ebx, dword [esi + eax]
shl edx, 2
neg ebx
mov esi, dword [0x6c8898]
neg edx
mov dword [esp + 0x18], ebx
mov ecx, dword [0x6c4d50]
neg ecx
lea ebx, [esi + ebx*4]
mov esi, dword [edx + ebx]
mov eax, dword [edx + ebx + 4]
mov dword [esp + 0x20], esi
mov esi, dword [edx + ebx + 8]
mov edx, dword [edx + ebx + 0x10]
mov ebx, esi
mov dword [esp + 0x1c], eax
mov eax, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], edx
cdq
imul edi, dword [0x6c4d58]
xor ebx, edx
add ecx, dword [esp + 0x30]
sub ebx, edx
mov edx, dword [0x6c4d30]
lea ecx, [edx + ecx*8]
addsd xmm0, qword [ecx + edi]
lea edi, [esp + 0x14]
push dword [esp + 0x100]
push dword [esp + 0x100]
push dword [esp + 0xf8]
push edi
push dword [esp + 0xfc]
movsd qword [esp + 0x14], xmm0
call fcn.00466ee0
fstp qword [esp + 0x1c]
wait
movsd xmm1, qword [0x68fc10]
movsd xmm0, qword [esp + 0x14]
movsd xmm2, qword [esp + 0x1c]
add esp, 0x14
movsd xmm5, qword [esp + 0x84]
movaps xmm3, xmm0
mov edi, dword [esp + 0x20]
addsd xmm5, xmm2
pxor xmm2, xmm2
add edi, ebx
mov ecx, dword [0x6c8890]
movaps xmm6, xmm5
shl ecx, 3
cmpltsd xmm3, xmm2
movd edx, xmm3
movsd qword [esp + 0x84], xmm5
andps xmm6, xmmword [0x68fc00]
and edx, 0xfffffffe
inc edx
mov dword [esp + 0x24], edx
mov edx, dword [0x6c8870]
mov dword [esp + 0x28], ecx
lea edi, [edx + edi*8]
sub edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
movsd xmm4, qword [edi + 8]
movsd xmm3, qword [edi]
lea edi, [ecx - 1]
movaps xmm2, xmm4
cmp ebx, edi
jne 0x59c4c6
movsd xmm4, qword [0x68fc28]
mulsd xmm4, xmm3
test esi, esi
jge 0x59c4d8
xorps xmm4, xmmword [0x68fbf0]
xorps xmm3, xmmword [0x68fbf0]
mov ecx, dword [esp + 0x20]
lea ebx, [edx + ecx*8]
sub ebx, dword [esp + 0x28]
test edi, edi
js 0x59c501
xor ecx, ecx
comisd xmm6, xmmword [ebx + ecx*8]
jb 0x59c4fc
movsd xmm7, qword [ebx + ecx*8 + 8]
comisd xmm7, xmm6
ja 0x59c503
inc ecx
cmp ecx, edi
jle 0x59c4e9
mov ecx, edi
mov eax, ecx
pxor xmm6, xmm6
neg eax
comisd xmm6, xmm5
movsd xmm6, qword [esp + 0x84]
movaps xmm5, xmm6
cmova ecx, eax
movsd xmm7, qword [0x68fc30]
subsd xmm5, xmm4
mulsd xmm7, qword [ebx + 8]
andps xmm5, xmmword [0x68fc00]
movsd qword [esp + 0x5c], xmm7
comisd xmm5, xmm7
jb 0x59c6ba
subsd xmm6, xmm3
andps xmm6, xmmword [0x68fc00]
comisd xmm6, xmmword [esp + 0x5c]
jb 0x59c6ba
cmp ecx, esi
je 0x59c6ba
test esi, esi
jne 0x59c589
movaps xmm3, xmm2
mov ebx, 0xffffffff
test ecx, ecx
xorps xmm3, xmmword [0x68fbf0]
mov ecx, 1
jg 0x59c584
movaps xmm2, xmm3
cmovg ebx, ecx
jmp 0x59c5cd
pxor xmm3, xmm3
mov ebx, dword [esp + 0x24]
cvtsi2sd xmm3, ebx
mulsd xmm3, xmm2
pxor xmm2, xmm2
cvtsi2sd xmm2, ebx
mov ebx, dword [esp + 0x2c]
mulsd xmm2, qword [ebx]
cmp ecx, esi
jle 0x59c5be
cmp dword [esp + 0x24], 1
jne 0x59c5b7
movaps xmm2, xmm3
mov ebx, 1
jmp 0x59c5cd
cmp dword [esp + 0x24], 1
je 0x59c5c8
movaps xmm2, xmm3
mov ebx, 0xffffffff
movaps xmm3, xmm0
subsd xmm3, qword [esp + 0x84]
andps xmm3, xmmword [0x68fc00]
comisd xmm3, xmmword [0x68fc20]
jbe 0x59c608
movaps xmm3, xmm0
subsd xmm0, xmm2
subsd xmm3, qword [esp + 0x84]
divsd xmm0, xmm3
movsd xmm3, qword [0x68fc50]
jmp 0x59c613
movsd xmm0, qword [0x68fc50]
movaps xmm3, xmm0
imul esi, ebx
pxor xmm2, xmm2
maxsd xmm2, xmm0
minsd xmm3, xmm2
cmp esi, edi
jne 0x59c635
mov eax, dword [esp + 0xf4]
xor ebx, ebx
movsd qword [eax], xmm1
jmp 0x59c640
mov eax, dword [esp + 0xf4]
movsd qword [eax], xmm3
mov esi, dword [esp + 0xf4]
movsd xmm0, qword [0x68fc38]
mov eax, dword [0x6c8898]
mov ecx, dword [0x6c88b8]
comisd xmm0, xmmword [esi]
jbe 0x59c6d2
pxor xmm2, xmm2
cvtsi2sd xmm2, dword [0x81ea60]
mov esi, dword [esp + 0xf0]
mov edi, dword [esp + 0x1c]
addsd xmm2, qword [esi]
lea esi, [edi + edi*2]
add esi, dword [esp + 0x20]
lea edx, [edx + esi*8]
sub edx, dword [esp + 0x28]
subsd xmm2, qword [edx + 8]
comisd xmm0, xmm2
jbe 0x59c6d2
mov edx, dword [esp + 0x18]
lea esi, [ecx*4]
lea edi, [eax + edx*4]
mov edx, ebx
sub edi, esi
add edx, dword [edi + 0xc]
jne 0x59c6d2
mov edx, dword [esp + 0xf4]
xor ebx, ebx
movsd qword [edx], xmm1
jmp 0x59c6d2
mov eax, dword [esp + 0xf4]
xor ebx, ebx
movsd qword [eax], xmm1
mov eax, dword [0x6c8898]
mov ecx, dword [0x6c88b8]
mov edx, dword [esp + 0x18]
shl ecx, 2
neg ecx
lea eax, [eax + edx*4]
add eax, ecx
mov ecx, dword [esp + 0x98]
shl ecx, 3
mov dword [esp + 0x94], ecx
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0xec]
mov ebx, dword [ebx]
jmp 0x59c12c
mov edx, dword [0x6c4c30]
lea esi, [ecx*8]
mov dword [esp + 0x94], esi
mov esi, dword [0x6c4c3c]
pxor xmm0, xmm0
neg esi
shl edx, 3
add esi, ebx
mov eax, dword [0x6c4c10]
sub eax, edx
imul esi, dword [0x6c4c38]
movsd xmm3, qword [0x68fc40]
movsd xmm6, qword [0x68fc40]
movsd xmm7, qword [0x68fc40]
mov dword [esp + 0x78], ebx
lea edi, [eax + ecx*8]
movsd xmm2, qword [edi + esi]
comisd xmm2, xmm0
mov eax, dword [0x6c4b7c]
mov edx, dword [0x6c4b50]
mov dword [esp + 0x50], ecx
jae 0x59c776
movsd xmm3, qword [0x68fc48]
neg eax
addsd xmm3, xmm2
add eax, ebx
mov ebx, dword [0x6c4b70]
shl ebx, 3
sub edx, ebx
imul eax, dword [0x6c4b78]
cvttsd2si edi, xmm3
mov dword [esp + 0x3c], edi
lea ecx, [edx + ecx*8]
movsd xmm5, qword [ecx + eax]
comisd xmm5, xmm0
mov ecx, dword [0x6c5dc8]
jae 0x59c7b4
movsd xmm6, qword [0x68fc48]
comisd xmm4, xmm0
addsd xmm6, xmm5
cvttsd2si eax, xmm6
jae 0x59c7ca
movsd xmm7, qword [0x68fc48]
shl ecx, 3
lea esi, [eax + edi*2]
movsd xmm3, qword [esp + 0x70]
addsd xmm7, xmm4
cvttsd2si eax, xmm7
movsd xmm4, qword [esp + 0x68]
mov edi, eax
movaps xmm2, xmm4
cdq
cmpltsd xmm2, xmm0
movd ebx, xmm2
xor edi, edx
andps xmm4, xmmword [0x68fc00]
andps xmm3, xmmword [0x68fc00]
sub edi, edx
and ebx, 0xfffffffe
add edi, esi
inc ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [0x6c5da8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], esi
lea edx, [ebx + edi*8]
sub edx, ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x78]
movsd xmm0, qword [edx + 0x10]
test eax, eax
jne 0x59c847
movaps xmm2, xmm0
xorps xmm2, xmmword [0x68fbf0]
jmp 0x59c85c
movsd xmm2, qword [edx + 8]
jge 0x59c85c
xorps xmm0, xmmword [0x68fbf0]
xorps xmm2, xmmword [0x68fbf0]
mov edx, dword [esp + 0x3c]
lea eax, [edx - 1]
mov dword [esp + 0x48], eax
test edx, edx
jle 0x59caf2
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], 1
mov dword [esp + 0x64], ebp
lea edx, [edx + esi*8]
mov esi, dword [esp + 0x10]
mov edi, edx
sub edi, dword [esp + 0x38]
mov ebp, edi
mov edi, dword [esp + 0x3c]
comisd xmm4, xmmword [ebp + esi*8]
jb 0x59c8aa
movsd xmm5, qword [ebp + esi*8 + 8]
comisd xmm5, xmm4
ja 0x59cad4
inc esi
cmp esi, edi
jle 0x59c892
mov ebp, dword [esp + 0x64]
imul eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x4c]
je 0x59c908
movsd xmm4, qword [esp + 0x68]
movsd xmm5, qword [esp + 0x5c]
subsd xmm4, xmm0
andps xmm4, xmmword [0x68fc00]
comisd xmm5, xmm4
ja 0x59c8f2
movsd xmm4, qword [esp + 0x68]
subsd xmm4, xmm2
andps xmm4, xmmword [0x68fc00]
comisd xmm5, xmm4
jbe 0x59c8f6
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x3c], 0
jle 0x59c931
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
lea edx, [edx + esi*8]
sub edx, dword [esp + 0x38]
mov esi, 1
mov edi, dword [esp + 0x3c]
comisd xmm3, xmmword [edx + esi*8]
jb 0x59c92c
movsd xmm4, qword [edx + esi*8 + 8]
comisd xmm4, xmm3
ja 0x59cae6
inc esi
cmp esi, edi
jle 0x59c915
mov esi, dword [esp + 0x48]
mov edx, esi
movsd xmm4, qword [esp + 0x70]
pxor xmm3, xmm3
neg edx
comisd xmm3, xmm4
subsd xmm4, xmm0
andps xmm4, xmmword [0x68fc00]
cmova esi, edx
mov dword [esp + 0x48], esi
comisd xmm4, xmmword [esp + 0x5c]
jb 0x59ca91
movsd xmm0, qword [esp + 0x70]
subsd xmm0, xmm2
andps xmm0, xmmword [0x68fc00]
comisd xmm0, xmmword [esp + 0x5c]
jb 0x59ca91
cmp eax, dword [esp + 0x48]
je 0x59ca91
cdq
mov edi, eax
xor edi, edx
sub edi, edx
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
add edx, edi
sub esi, dword [esp + 0x38]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edx
movsd xmm2, qword [esi + edx*8 + 0x10]
test eax, eax
jne 0x59c9c1
movaps xmm0, xmm2
xorps xmm0, xmmword [0x68fbf0]
je 0x59c9e5
jmp 0x59c9fe
pxor xmm0, xmm0
mov edx, dword [esp + 0x34]
cvtsi2sd xmm0, edx
mulsd xmm2, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov edi, dword [esp + 0x40]
mulsd xmm0, qword [esi + edi*8 + 8]
jne 0x59c9fe
mov edx, 0xffffffff
mov eax, 1
cmp dword [esp + 0x48], 0
jg 0x59c9f9
movaps xmm2, xmm0
cmovg edx, eax
jmp 0x59ca24
cmp eax, dword [esp + 0x48]
jge 0x59ca15
cmp dword [esp + 0x34], 1
je 0x59ca0e
movaps xmm2, xmm0
mov edx, 1
jmp 0x59ca24
cmp dword [esp + 0x34], 1
jne 0x59ca1f
movaps xmm2, xmm0
mov edx, 0xffffffff
movsd xmm0, qword [esp + 0x68]
subsd xmm0, qword [esp + 0x70]
andps xmm0, xmmword [0x68fc00]
comisd xmm0, xmmword [0x68fc20]
jbe 0x59ca68
movsd xmm3, qword [esp + 0x68]
movaps xmm0, xmm3
subsd xmm3, xmm2
subsd xmm0, qword [esp + 0x70]
divsd xmm3, xmm0
movsd qword [esp + 0x68], xmm3
movsd xmm0, qword [0x68fc50]
jmp 0x59ca76
movsd xmm0, qword [0x68fc50]
movsd qword [esp + 0x68], xmm0
mov eax, dword [esp + 0xf4]
pxor xmm2, xmm2
maxsd xmm2, qword [esp + 0x68]
minsd xmm0, xmm2
movsd qword [eax], xmm0
jmp 0x59ca9e
mov eax, dword [esp + 0xf4]
xor edx, edx
movsd qword [eax], xmm1
mov esi, dword [0x6c4c6c]
pxor xmm0, xmm0
neg esi
mov eax, dword [0x6c4c60]
add esi, ebx
shl eax, 3
cvtsi2sd xmm0, edx
imul esi, dword [0x6c4c68]
mov edx, dword [0x6c4c40]
sub edx, eax
lea ecx, [edx + ecx*8]
movsd qword [ecx + esi], xmm0
jmp 0x59c12c
mov dword [esp + 0x10], esi
mov eax, esi
mov ebp, dword [esp + 0x64]
lea eax, [eax - 1]
jmp 0x59c8b3
lea edx, [esi - 1]
mov dword [esp + 0x48], edx
jmp 0x59c931
mov eax, dword [esp + 0x34]
imul eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
jne 0x59c8be
jmp 0x59c931
mov eax, dword [esp + 0x100]
test byte [eax], 1
jne 0x59c11e
comisd xmm4, xmmword [0x81e670]
jbe 0x59c11e
movsd xmm0, qword [0x76e5a8]
comisd xmm0, xmm4
jb 0x59c11e
mov eax, dword [esp + 0xf4]
lea edx, [ecx*8]
mov dword [esp + 0x94], edx
subsd xmm4, qword [0x81e670]
divsd xmm4, qword [0x76e5b0]
movsd qword [eax], xmm4
jmp 0x59c12c
movaps xmm3, xmm4
andps xmm3, xmmword [0x68fc00]
movsd xmm5, qword [esp + 0x5c]
movsd xmm2, qword [esp + 0x70]
addsd xmm5, xmm3
andps xmm2, xmmword [0x68fc00]
comisd xmm2, xmm5
jbe 0x59c103
movsd xmm5, qword [esp + 0x5c]
movsd xmm2, qword [esp + 0x68]
addsd xmm5, xmm3
andps xmm2, xmmword [0x68fc00]
comisd xmm5, xmm2
jb 0x59cc1f
movsd xmm2, qword [esp + 0x68]
movsd xmm5, qword [esp + 0x70]
andps xmm2, xmmword [0x68fc00]
andps xmm5, xmmword [0x68fc00]
movaps xmm6, xmm2
subsd xmm6, xmm5
andps xmm6, xmmword [0x68fc00]
comisd xmm6, xmmword [0x68fc20]
jbe 0x59cbf3
movaps xmm6, xmm2
subsd xmm2, xmm3
subsd xmm6, xmm5
divsd xmm2, xmm6
jmp 0x59cbfb
movsd xmm2, qword [0x68fc50]
mov eax, dword [esp + 0xf4]
pxor xmm3, xmm3
maxsd xmm3, xmm2
movsd xmm2, qword [0x68fc50]
minsd xmm2, xmm3
movsd qword [eax], xmm2
jmp 0x59c103
mov eax, dword [esp + 0xf4]
pxor xmm2, xmm2
movsd qword [eax], xmm2
jmp 0x59c103
movaps xmm2, xmm4
subsd xmm2, qword [esp + 0x5c]
comisd xmm2, xmmword [esp + 0x70]
jbe 0x59c0fa
movaps xmm3, xmm4
movsd xmm2, qword [esp + 0x68]
subsd xmm3, qword [esp + 0x5c]
comisd xmm2, xmm3
jae 0x59cc71
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
movsd qword [edx], xmm2
jmp 0x59c0fa
subsd xmm2, qword [esp + 0x70]
andps xmm2, xmmword [0x68fc00]
comisd xmm2, xmmword [0x68fc20]
jbe 0x59cca1
movsd xmm2, qword [esp + 0x68]
movaps xmm3, xmm2
subsd xmm2, qword [esp + 0x70]
subsd xmm3, xmm4
divsd xmm3, xmm2
jmp 0x59cca9
movsd xmm3, qword [0x68fc50]
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
maxsd xmm2, xmm3
movsd xmm3, qword [0x68fc50]
minsd xmm3, xmm2
movsd qword [edx], xmm3
jmp 0x59c0fa
movsd xmm2, qword [esp + 0x5c]
movsd xmm3, qword [esp + 0x70]
addsd xmm2, xmm4
comisd xmm3, xmm2
jbe 0x59c0f1
movsd xmm2, qword [esp + 0x5c]
addsd xmm2, xmm4
comisd xmm2, xmmword [esp + 0x68]
jae 0x59cd0d
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
movsd qword [edx], xmm2
jmp 0x59c0f1
movsd xmm2, qword [esp + 0x68]
subsd xmm2, qword [esp + 0x70]
andps xmm2, xmmword [0x68fc00]
comisd xmm2, xmmword [0x68fc20]
jbe 0x59cd43
movsd xmm2, qword [esp + 0x68]
movaps xmm3, xmm2
subsd xmm2, qword [esp + 0x70]
subsd xmm3, xmm4
divsd xmm3, xmm2
jmp 0x59cd4b
movsd xmm3, qword [0x68fc50]
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
maxsd xmm2, xmm3
movsd xmm3, qword [0x68fc50]
minsd xmm3, xmm2
movsd qword [edx], xmm3
jmp 0x59c0f1
comisd xmm4, xmmword [esp + 0x68]
jb 0x59cd83
movsd xmm2, qword [esp + 0x70]
comisd xmm2, xmm4
ja 0x59cd9f
movsd xmm2, qword [esp + 0x68]
comisd xmm2, xmm4
jb 0x59c0e8
comisd xmm4, xmmword [esp + 0x70]
jbe 0x59c0e8
movsd xmm2, qword [esp + 0x68]
subsd xmm2, qword [esp + 0x70]
andps xmm2, xmmword [0x68fc00]
comisd xmm2, xmmword [0x68fc20]
jbe 0x59cdd5
movsd xmm2, qword [esp + 0x68]
movaps xmm3, xmm2
subsd xmm2, qword [esp + 0x70]
subsd xmm3, xmm4
divsd xmm3, xmm2
jmp 0x59cddd
movsd xmm3, qword [0x68fc50]
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
maxsd xmm2, xmm3
movsd xmm3, qword [0x68fc50]
minsd xmm3, xmm2
movsd qword [edx], xmm3
jmp 0x59c0e8
mov edi, dword [0x6c4704]
neg edi
add edi, ebx
mov dword [esp + 0x54], eax
mov eax, dword [0x6c46f8]
shl eax, 2
imul edi, dword [0x6c4700]
mov edx, dword [0x6c46d8]
sub edx, eax
add edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x54]
test byte [edx + edi], 1
jne 0x59ced8
movaps xmm2, xmm4
subsd xmm2, qword [esp + 0x5c]
comisd xmm2, xmmword [esp + 0x84]
jbe 0x59c0df
movaps xmm2, xmm4
subsd xmm2, qword [esp + 0x5c]
comisd xmm0, xmm2
jae 0x59ce76
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
movsd qword [edx], xmm2
jmp 0x59c0df
movaps xmm2, xmm0
subsd xmm2, qword [esp + 0x84]
andps xmm2, xmmword [0x68fc00]
comisd xmm2, xmmword [0x68fc20]
jbe 0x59ceac
movaps xmm3, xmm0
movaps xmm2, xmm0
subsd xmm3, xmm4
subsd xmm2, qword [esp + 0x84]
divsd xmm3, xmm2
jmp 0x59ceb4
movsd xmm3, qword [0x68fc50]
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
maxsd xmm2, xmm3
movsd xmm3, qword [0x68fc50]
minsd xmm3, xmm2
movsd qword [edx], xmm3
jmp 0x59c0df
lea eax, [esp + 0x84]
push dword [esp + 0x100]
push 0x68fbe8
push eax
lea edx, [esp + 0xa4]
push edx
push 0x68fbe0
push dword [esp + 0x100]
movsd qword [esp + 0x18], xmm0
movsd qword [eax + 8], xmm4
call fcn.0058ac30
movsd xmm1, qword [0x68fc10]
movsd xmm4, qword [esp + 0xa4]
movsd xmm0, qword [esp + 0x18]
add esp, 0x18
mov ecx, dword [esp + 0xec]
mov edi, dword [0x6c51a0]
mov eax, dword [0x6c51cc]
mov ebx, dword [ecx]
neg eax
mov ecx, dword [esp + 0x98]
add eax, ebx
imul eax, dword [0x6c51c8]
lea edx, [ecx*4]
mov dword [esp + 0xa8], edx
mov edx, dword [0x6c51c0]
lea edi, [edi + ecx*4]
shl edx, 2
neg edx
add edi, edx
mov eax, dword [edi + eax]
jmp 0x59ce3b
mov dword [esp + 0x58], eax
mov eax, dword [0x6c4704]
neg eax
mov edx, dword [0x6c46f8]
add eax, ebx
shl edx, 2
mov edi, dword [0x6c46d8]
sub edi, edx
imul eax, dword [0x6c4700]
lea edx, [edi + ecx*4]
test byte [edx + eax], 1
mov eax, dword [esp + 0x58]
jne 0x59d04f
movsd xmm2, qword [esp + 0x5c]
movsd xmm3, qword [esp + 0x84]
addsd xmm2, xmm4
comisd xmm3, xmm2
jbe 0x59c0ab
movsd xmm2, qword [esp + 0x5c]
addsd xmm2, xmm4
comisd xmm2, xmm0
jae 0x59cfed
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
movsd qword [edx], xmm2
jmp 0x59c0ab
movaps xmm2, xmm0
subsd xmm2, qword [esp + 0x84]
andps xmm2, xmmword [0x68fc00]
comisd xmm2, xmmword [0x68fc20]
jbe 0x59d023
movaps xmm3, xmm0
movaps xmm2, xmm0
subsd xmm3, xmm4
subsd xmm2, qword [esp + 0x84]
divsd xmm3, xmm2
jmp 0x59d02b
movsd xmm3, qword [0x68fc50]
mov edx, dword [esp + 0xf4]
pxor xmm2, xmm2
maxsd xmm2, xmm3
movsd xmm3, qword [0x68fc50]
minsd xmm3, xmm2
movsd qword [edx], xmm3
jmp 0x59c0ab
lea eax, [esp + 0x84]
push dword [esp + 0x100]
push 0x68fbe8
push eax
lea edx, [esp + 0xa4]
push edx
push 0x68fbe0
push dword [esp + 0x100]
movsd qword [esp + 0x18], xmm0
movsd qword [eax + 8], xmm4
call fcn.0058ac30
movsd xmm1, qword [0x68fc10]
movsd xmm4, qword [esp + 0xa4]
movsd xmm0, qword [esp + 0x18]
add esp, 0x18
mov ecx, dword [esp + 0xec]
mov eax, dword [0x6c51a0]
mov edx, dword [0x6c51c8]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x98]
mov edi, dword [0x6c51c0]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xac], edx
lea edx, [ecx*4]
mov eax, dword [0x6c51cc]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xa8], edx
jmp 0x59cfac
mov eax, dword [0x6c4704]
neg eax
mov edi, dword [0x6c46f8]
add eax, ebx
neg edi
add edi, ecx
imul eax, dword [0x6c4700]
mov edx, dword [0x6c46d8]
lea edx, [edx + edi*4]
test byte [edx + eax], 1
jne 0x59d1ac
comisd xmm4, xmm0
jb 0x59d131
movsd xmm2, qword [esp + 0x84]
comisd xmm2, xmm4
ja 0x59d14a
comisd xmm0, xmm4
jb 0x59c046
comisd xmm4, xmmword [esp + 0x84]
jbe 0x59c046
movaps xmm2, xmm0
subsd xmm2, qword [esp + 0x84]
andps xmm2, xmmword [0x68fc00]
comisd xmm2, xmmword [0x68fc20]
jbe 0x59d180
movaps xmm3, xmm0
movaps xmm2, xmm0
subsd xmm3, xmm4
subsd xmm2, qword [esp + 0x84]
divsd xmm3, xmm2
jmp 0x59d188
movsd xmm3, qword [0x68fc50]
mov eax, dword [esp + 0xf4]
pxor xmm2, xmm2
maxsd xmm2, xmm3
movsd xmm3, qword [0x68fc50]
minsd xmm3, xmm2
movsd qword [eax], xmm3
jmp 0x59c046
lea eax, [esp + 0x84]
push dword [esp + 0x100]
push 0x68fbe8
push eax
lea edx, [esp + 0xa4]
push edx
push 0x68fbe0
push dword [esp + 0x100]
movsd qword [esp + 0x18], xmm0
movsd qword [eax + 8], xmm4
call fcn.0058ac30
movsd xmm1, qword [0x68fc10]
movsd xmm4, qword [esp + 0xa4]
movsd xmm0, qword [esp + 0x18]
add esp, 0x18
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x98]
mov ebx, dword [eax]
jmp 0x59d11c
mov eax, dword [esp + 0xf8]
movsd xmm0, qword [0x68fc18]
addsd xmm0, xmm1
movsd qword [eax], xmm1
movaps xmm0, xmm1
jmp 0x59c32a