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

Disassembly:
push 8
mov eax, 0x6987d6
call fcn.00678403
push ebx
sub esp, 0x1b0
push esi
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, edi
call fcn.005b93cf
mov ecx, edi
mov byte [ebp - 0x17], al
call fcn.005b9680
xor edx, edx
test al, al
je 0x5f7fda
mov byte [ebp - 0x11], 1
cmp byte [ebx + 0x54], dl
je 0x5f7fdd
mov byte [ebp - 0x11], dl
mov esi, dword [ebx + 0x14]
movd xmm2, dword [ebx + 0x18]
mov eax, dword [ebx + 0x44]
cmp dword [ebx + 0x3c], edx
mov ecx, dword [esi + 0x38]
cvtdq2pd xmm2, xmm2
movsd xmm0, qword [ecx + eax*8]
sete byte [ebp - 0x30]
test byte [ebx + 0x40], 1
movaps xmm1, xmm2
mov ecx, dword [ebx + 0xc]
subsd xmm1, xmm0
subsd xmm0, xmm2
mov eax, dword [ecx + 0x2ac]
movsd qword [ebp - 0x100], xmm1
movsd qword [ebp - 0xb8], xmm0
movd xmm1, dword [eax + 0x214]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [edi + 0x68]
movsd qword [ebp - 0xb0], xmm1
je 0x5f8048
test byte [edi + 0x48], 1
mov byte [ebp - 0x70], 1
jne 0x5f804b
mov byte [ebp - 0x70], dl
movsd xmm0, qword [ebx + 0x24]
addsd xmm0, qword [edi + 0x50]
mov eax, dword [ebp - 0x28]
movsd qword [ebp - 0x78], xmm0
cmp dword [eax + 0x1c], edx
jne 0x5f8067
cmp byte [ebp - 0x17], dl
jne 0x5f8076
mov ecx, edi
call fcn.005b93d7
test al, al
jne 0x5f8076
push 2
jmp 0x5f8078
push 3
mov edx, dword [ebx + 0xc]
movsd xmm0, qword [ebp - 0xb8]
pop ecx
push edi
lea eax, [edx + 0x244]
mov dword [ebp - 0xc0], eax
lea eax, [edx + 0x10]
push eax
push dword [edx + 0x2ac]
lea eax, [edx + 0x244]
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea ecx, [ebp - 0x19c]
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push eax
push esi
call fcn.005f12db
and dword [ebp - 4], 0
jmp 0x5f8cb6
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x19c]
call fcn.005f231b
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
add eax, ecx
push eax
push ecx
mov ecx, dword [ebx + 0x14]
lea esi, [eax - 1]
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x2c], esi
push eax
call fcn.005f2eb2
movsd xmm1, qword [ebp - 0x100]
movsd xmm2, qword [ebp - 0x100]
movsd xmm0, qword [ebx + 0x2c]
addsd xmm1, qword [eax]
addsd xmm2, qword [eax + 8]
comisd xmm0, xmm1
movsd qword [ebp - 0x60], xmm1
movsd qword [ebp - 0x58], xmm2
jbe 0x5f8cb0
comisd xmm2, xmmword [ebx + 0x1c]
jbe 0x5f8cb0
mov eax, dword [ebx + 0x14]
movsd xmm0, qword [ebx + 0x24]
movsd qword [ebp - 0xb8], xmm0
movsd qword [ebp - 0xe0], xmm0
mov eax, dword [eax + 0x34]
movsd xmm0, qword [ebx + 0x34]
movsd qword [ebp - 0xe8], xmm1
movsd qword [ebp - 0xd8], xmm2
movzx eax, byte [eax + esi]
imul ecx, eax, 0x78
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x14]
movsd qword [ebp - 0x48], xmm0
movsd qword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], ecx
mov esi, dword [ecx + eax + 0x58]
mov eax, dword [ecx + eax + 0x70]
mov ecx, dword [ebx + 0xc]
add ecx, 0x294
mov dword [ebp - 0x4c], eax
cmp dword [ecx], 0xffffffff
je 0x5f81d7
cmp dword [ecx + 4], 0xffffffff
je 0x5f81d7
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
push eax
call fcn.005f1c03
mov edi, dword [ebx + 0x10]
test al, al
je 0x5f81d7
push 0x46
lea eax, [ebp - 0x108]
mov byte [ebp - 0x50], 1
push eax
mov ecx, edi
call fcn.005b8b5a
cmp byte [ebp - 0x104], 0
je 0x5f81db
mov esi, dword [ebp - 0x108]
jmp 0x5f81db
mov byte [ebp - 0x50], 0
cmp byte [edi + 0x41], 0
je 0x5f82f0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x2ac]
mov ecx, dword [eax + 0x238]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x5f82f0
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebx + 0x4c]
push eax
call edx
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x5f82db
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [edi + 0x34]
mov dword [ebp - 0x24], eax
lea ecx, [eax + 8]
mov dword [ebp - 0xbc], ecx
push ecx
mov ecx, eax
call fcn.005b8531
test al, al
jne 0x5f82bc
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x4c]
add ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x18]
call eax
push dword [ebp - 0xc4]
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
call edx
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0xf0]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xec], edi
push dword [eax + 0x2a0]
call fcn.005f1c03
test al, al
je 0x5f82bc
mov eax, dword [ebp - 0xbc]
cmp dword [eax], 0x11
jne 0x5f82db
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0xc]
jmp 0x5f82db
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x11
jne 0x5f82db
test byte [eax + 0x1c], 1
je 0x5f82d8
mov esi, dword [ebp - 0x84]
or esi, 0xff000000
jmp 0x5f82db
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x7c]
jne 0x5f820c
mov edi, dword [ebx + 0x10]
cmp byte [edi + 0x78], 0
je 0x5f830f
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.005cbf65
mov ecx, eax
mov dword [ebp - 0x24], eax
jmp 0x5f8314
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [edi + 0xf0]
shr eax, 5
test al, 1
je 0x5f833e
cmp ecx, 1
jne 0x5f833e
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
push edi
push dword [ebx + 0xc]
push eax
call fcn.005f5186
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x24], ecx
push ecx
push edi
push dword [ebx + 0xc]
lea eax, [ebp - 0xf8]
push eax
call fcn.005fd471
push dword [ebp - 0x2c]
cmp byte [ebp - 0xf4], 0
lea eax, [ebp - 0x34]
push dword [ebp - 0x3c]
cmovne esi, dword [ebp - 0xf8]
push dword [ebp - 0x50]
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x24]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push dword [ebx + 0x14]
push edi
push dword [ebx + 0xc]
push eax
call fcn.005fd66e
mov ecx, dword [ebp - 0x64]
add esp, 0x38
test ecx, ecx
je 0x5f87be
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
cmp byte [edx + eax], 9
jne 0x5f86a3
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1c], 0
jne 0x5f8401
cmp byte [ebp - 0x11], 0
je 0x5f83dc
push dword [ebp - 0x30]
mov ecx, edi
call fcn.005b965b
test al, al
je 0x5f83dc
push 0x3d
lea eax, [ebp - 0x10c]
mov ecx, edi
push eax
call fcn.005b8bb4
mov eax, dword [eax]
or eax, 0xff000000
mov dword [ebp - 0x34], eax
jmp 0x5f83df
mov eax, dword [ebp - 0x34]
mov edx, dword [ebx + 8]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
mov edx, dword [edx]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x48]
mov edi, dword [ebx + 0x10]
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x30], 0
je 0x5f8523
cmp dword [edi + 0xe8], 1
jne 0x5f8523
mov esi, dword [ebx + 0x14]
lea eax, [ebp - 0x120]
push edx
push eax
mov ecx, esi
call fcn.005f2ed7
movsd xmm0, qword [ebp - 0x120]
movsd xmm4, qword [0x6bfc10]
movsd xmm3, qword [ebp - 0xb0]
addsd xmm0, xmm4
movsd xmm2, qword [ebp - 0x118]
divsd xmm0, xmm3
cvttsd2si eax, xmm0
movaps xmm0, xmm2
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jb 0x5f8523
test eax, eax
jle 0x5f84ff
mulsd xmm1, xmm3
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.00687ff0
movd xmm0, dword [esi + 0x24]
cvtdq2pd xmm0, xmm0
pop ecx
pop ecx
fstp qword [ebp - 0x40]
ucomisd xmm0, qword [ebp - 0x40]
lahf
test ah, 0x44
jp 0x5f84ab
mov al, 1
jmp 0x5f84ad
xor al, al
push dword [ebp - 0x70]
movd xmm0, dword [ebx + 0x18]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
cvtdq2pd xmm0, xmm0
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
addsd xmm0, qword [ebp - 0x40]
push ecx
push ecx
mov ecx, dword [ebp - 0x28]
movsd qword [esp], xmm0
push dword [ebx + 8]
call fcn.005f8ce9
movsd xmm2, qword [ebp - 0x118]
movsd xmm3, qword [ebp - 0xb0]
movsd xmm4, qword [0x6bfc10]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebx + 0x14]
movaps xmm0, xmm2
inc eax
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jae 0x5f8476
mov edi, dword [ebx + 0x10]
cmp dword [edi + 0xdc], 0
je 0x5f8bfb
push dword [ebp - 0x30]
mov ecx, edi
call fcn.005b965b
test al, al
je 0x5f8bfb
movsd xmm0, qword [ebp - 0x60]
addsd xmm0, qword [0x6b4808]
mov esi, dword [ebp - 0x28]
cvttsd2si ecx, qword [ebp - 0xb8]
mov eax, dword [edi + 0x48]
cdq
sub eax, edx
sar eax, 1
push 0x3c
movsd qword [ebp - 0x60], xmm0
movd xmm0, dword [esi + 0x58]
add eax, ecx
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x20], eax
mov ecx, edi
lea eax, [ebp - 0x158]
push eax
addsd xmm0, qword [ebp - 0xb8]
movsd qword [ebp - 0x40], xmm0
movsd xmm0, qword [ebp - 0x58]
subsd xmm0, qword [0x6b4808]
movsd qword [ebp - 0x58], xmm0
movsd xmm0, qword [ebp - 0x48]
subsd xmm0, qword [edi + 0x58]
movsd qword [ebp - 0x48], xmm0
call fcn.005b8b5a
cmp byte [eax + 4], 0
je 0x5f85bd
mov eax, dword [eax]
jmp 0x5f85c0
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0x5c]
sub esp, 0x10
movsd xmm0, qword [0x6b4808]
mov edi, esp
push dword [ebx + 0x10]
push dword [ebp - 0x20]
sub esp, 0x20
push 8
pop ecx
test edx, edx
jne 0x5f8646
movsd qword [ebp - 0x148], xmm0
lea esi, [ebp - 0x150]
movsd xmm0, qword [ebp - 0x60]
mov dword [ebp - 0x150], eax
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa8], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [ebp - 0x90], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa8]
push dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
call fcn.005fa0e5
add esp, 0x3c
jmp 0x5f87b6
movsd qword [ebp - 0x138], xmm0
lea esi, [ebp - 0x140]
movsd xmm0, qword [ebp - 0x60]
mov dword [ebp - 0x140], eax
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa8], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [ebp - 0x90], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa8]
push dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
call edx
jmp 0x5f863e
xor edx, edx
cmp dword [edi + 0x84], 0x20
mov byte [ebp - 0x30], dl
jl 0x5f871c
mov eax, dword [edi + 0x14]
push esi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x1150]
mov dword [ebp - 0x3c], eax
mov al, byte [edi + 0x84]
mov byte [ebp - 0x18], al
mov eax, dword [ebx + 8]
push ecx
push ecx
mov byte [ebp - 0x17], dl
mov edx, esp
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x18]
mov ecx, eax
mov dword [edx], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f86e6
movsd xmm0, qword [ebp - 0x78]
sub ecx, esi
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x3c]
mov dword [edx + 4], ecx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [ebp - 0x7c]
jmp 0x5f87b6
mov eax, dword [ecx + 0x18]
shr eax, 4
test al, 1
je 0x5f872c
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], esi
test byte [ecx + 0x18], 1
je 0x5f8772
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1c], edx
mov eax, ecx
sete dl
cmp dword [eax + 0x14], 0x10
jb 0x5f8745
mov ecx, dword [ecx]
push edx
push esi
push dword [ebp - 0x34]
lea esi, [ebp - 0xe8]
push dword [eax + 0x10]
push ecx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x10]
push edi
push dword [ebx + 8]
call fcn.005fa287
add esp, 0x3c
jmp 0x5f8bfb
mov eax, dword [ebx + 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x88]
mov eax, ecx
cmp dword [eax + 0x14], 0x10
jb 0x5f8787
mov ecx, dword [ecx]
movsd xmm0, qword [ebp - 0x78]
push esi
push dword [eax + 0x10]
mov eax, dword [edi + 0x14]
lea esi, [ebp - 0xe8]
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
push dword [eax + 0x1150]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call edx
mov edi, dword [ebx + 0x10]
jmp 0x5f8bfb
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x80]
cmp byte [ecx + eax + 0x68], 0
je 0x5f883e
mov eax, dword [ebx + 0x14]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebx + 8]
movsd xmm0, qword [ebp - 0x78]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x6c]
inc eax
cmp dword [edi + 0x1c], 0
mov edx, dword [edx]
je 0x5f8816
push esi
push eax
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x74]
jmp 0x5f88ba
push dword [ebp - 0x34]
push esi
push eax
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x6c]
jmp 0x5f88ba
lea edx, [ecx + 0x6b]
add edx, eax
cmp byte [edx], 0
je 0x5f88bd
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f884d
mov eax, dword [ebx + 8]
sub ecx, edi
mov edi, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x78]
mov eax, dword [eax]
cmp dword [edi + 0x1c], 0
je 0x5f8891
push esi
push ecx
push edx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [eax + 0x88]
jmp 0x5f88ba
push dword [ebp - 0x34]
push esi
push ecx
push edx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [eax + 0x80]
mov edi, dword [ebx + 0x10]
cmp dword [edi + 0xdc], 0
jne 0x5f88dd
cmp byte [ebp - 0x30], 0
je 0x5f8bfb
cmp dword [edi + 0xe8], 0
je 0x5f8bfb
mov eax, dword [ebp - 0x2c]
xor esi, esi
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], esi
js 0x5f8bfb
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x30]
add ecx, esi
cmp byte [ecx + eax], 0x20
jne 0x5f8be2
cmp dword [edi + 0xdc], 0
je 0x5f8abc
push dword [ebp - 0x30]
mov ecx, edi
call fcn.005b965b
test al, al
je 0x5f8ab9
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebx + 0x14]
add eax, esi
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.005f2ed7
movsd xmm1, qword [ebp - 0x100]
movaps xmm0, xmm1
addsd xmm1, qword [eax + 8]
addsd xmm0, qword [eax]
mov eax, dword [ebp - 0x28]
movsd qword [ebp - 0x60], xmm1
cmp dword [eax + 0x1c], 0
addsd xmm1, xmm0
movsd qword [ebp - 0x58], xmm0
mulsd xmm1, qword [0x6b4488]
movsd qword [ebp - 0x48], xmm1
jne 0x5f89eb
cmp byte [ebp - 0x11], 0
je 0x5f89eb
push 0x3d
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.005b8bb4
movsd xmm0, qword [ebp - 0x58]
lea esi, [ebp - 0xa8]
mov ecx, dword [ebx + 8]
movsd qword [ebp - 0xa8], xmm0
mov eax, dword [eax]
movsd xmm0, qword [ebx + 0x24]
or eax, 0xff000000
mov edx, dword [ecx]
push eax
sub esp, 0x20
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x60]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebx + 0x34]
push 8
pop ecx
mov edi, esp
movsd qword [ebp - 0x90], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
call dword [edx + 0x48]
movsd xmm1, qword [ebp - 0x48]
mov edi, dword [ebx + 0x10]
jmp 0x5f89ee
mov esi, dword [ebx + 8]
mov ecx, dword [edi + 0xe4]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push 0x3c
movd xmm0, eax
mov eax, dword [edi + 0x48]
cdq
cvtdq2pd xmm0, xmm0
sub eax, edx
sar eax, 1
movd xmm2, eax
lea eax, [ebp - 0x160]
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm2, xmm2
push eax
mov ecx, edi
cvtdq2pd xmm0, xmm0
addsd xmm2, qword [ebp - 0xb8]
movaps xmm3, xmm0
movsd qword [ebp - 0x48], xmm1
addsd xmm3, xmm1
movaps xmm1, xmm2
movsd qword [ebp - 0x58], xmm2
addsd xmm1, xmm0
movsd qword [ebp - 0x60], xmm3
movsd qword [ebp - 0x40], xmm1
call fcn.005b8b5a
cmp byte [eax + 4], 0
je 0x5f8a63
mov eax, dword [eax]
jmp 0x5f8a66
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x48]
mov edx, dword [esi]
lea esi, [ebp - 0xa8]
push eax
movsd qword [ebp - 0xa8], xmm0
sub esp, 0x20
movsd xmm0, qword [ebp - 0x58]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x60]
push 8
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x40]
pop ecx
mov edi, esp
movsd qword [ebp - 0x90], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x48]
mov edi, dword [ebx + 0x10]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebx + 0x14]
cmp byte [ebp - 0x30], 0
je 0x5f8be6
cmp dword [edi + 0xe8], 1
jne 0x5f8be6
mov eax, dword [ebp - 0x6c]
mov ecx, edx
add eax, esi
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.005f2ed7
movsd xmm0, qword [ebp - 0x130]
movsd xmm4, qword [0x6bfc10]
movsd xmm3, qword [ebp - 0xb0]
addsd xmm0, xmm4
movsd xmm2, qword [ebp - 0x128]
divsd xmm0, xmm3
cvttsd2si eax, xmm0
movaps xmm0, xmm2
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jb 0x5f8be6
test eax, eax
jle 0x5f8bbc
mulsd xmm1, xmm3
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.00687ff0
mov eax, dword [ebx + 0x14]
fstp qword [ebp - 0x48]
pop ecx
pop ecx
movd xmm0, dword [eax + 0x24]
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [ebp - 0x48]
lahf
test ah, 0x44
jp 0x5f8b6b
mov al, 1
jmp 0x5f8b6d
xor al, al
push dword [ebp - 0x70]
movd xmm0, dword [ebx + 0x18]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
cvtdq2pd xmm0, xmm0
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
addsd xmm0, qword [ebp - 0x48]
push ecx
push ecx
mov ecx, dword [ebp - 0x28]
movsd qword [esp], xmm0
push dword [ebx + 8]
call fcn.005f8ce9
movsd xmm2, qword [ebp - 0x128]
movsd xmm3, qword [ebp - 0xb0]
movsd xmm4, qword [0x6bfc10]
mov eax, dword [ebp - 0x20]
movaps xmm0, xmm2
inc eax
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jae 0x5f8b33
mov esi, dword [ebp - 0x24]
jmp 0x5f8be6
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
inc esi
sub eax, dword [ebp - 0x6c]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x24], esi
cmp esi, eax
jle 0x5f88ee
mov al, byte [ebp - 0x50]
lea edx, [edi + 0xa8]
test al, al
je 0x5f8c0d
cmp byte [edx], 0
jne 0x5f8c21
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x80]
cmp byte [ecx + eax + 0x61], 0
je 0x5f8cb6
mov al, byte [ebp - 0x50]
movsd xmm0, qword [ebp - 0x78]
lea esi, [ebp - 0xe8]
lea edi, [ebp - 0xa8]
addsd xmm0, qword [0x6b4808]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x78]
addsd xmm0, qword [0x6b5280]
movsd qword [ebp - 0x90], xmm0
test al, al
je 0x5f8c86
cmp byte [edx], 0
je 0x5f8c86
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x168]
push 0x46
push eax
call fcn.005b8b5a
cmp byte [eax + 4], 0
je 0x5f8c80
mov eax, dword [eax]
jmp 0x5f8c83
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
lea esi, [ebp - 0xa8]
push ecx
mov ecx, esp
sub esp, 0x20
mov eax, dword [eax]
push 8
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call edx
mov edi, dword [ebx + 0x10]
jmp 0x5f8cb6
comisd xmm1, xmm0
ja 0x5f8cc9
lea ecx, [ebp - 0x19c]
call fcn.005f2307
test al, al
jne 0x5f80c8
lea ecx, [ebp - 0x19c]
call fcn.005f1795
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x50