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

Disassembly:
push 8
mov eax, 0x698796
call fcn.00678403
push ebx
sub esp, 0x120
push esi
mov esi, dword [ebx + 0x10]
mov ecx, esi
push edi
call fcn.005b93cf
mov edi, dword [ebx + 0x14]
mov edx, dword [ebx + 0x40]
cmp dword [ebx + 0x3c], 0
movd xmm0, dword [ebx + 0x18]
mov ecx, dword [edi + 0x38]
sete byte [ebp - 0x1c]
push esi
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [ecx + edx*8]
xor ecx, ecx
test al, al
movaps xmm2, xmm0
mov eax, dword [ebx + 0xc]
subsd xmm2, xmm1
setne cl
subsd xmm1, xmm0
lea edi, [eax + 0x244]
add eax, 0x10
push eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x28], edi
movsd qword [ebp - 0x48], xmm2
push dword [eax + 0x2ac]
push ecx
push ecx
push ecx
movsd qword [esp], xmm1
lea ecx, [ebp - 0xac]
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push edx
push edi
mov edi, dword [ebx + 0x14]
push edi
call fcn.005f12db
and dword [ebp - 4], 0
mov ecx, esi
call fcn.005b9680
test al, al
je 0x5f5870
cmp byte [ebx + 0x50], 0
mov byte [ebp - 0x11], 1
je 0x5f5874
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0xac]
call fcn.005f2307
test al, al
je 0x5f5a3e
mov esi, dword [ebx + 0x48]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xac]
call fcn.005f231b
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add eax, ecx
push eax
push ecx
mov ecx, edi
lea edx, [eax - 1]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0xe0]
add edx, esi
push eax
mov dword [ebp - 0x18], edx
call fcn.005f2eb2
movsd xmm2, qword [ebp - 0x48]
xorps xmm3, xmm3
movsd xmm1, qword [ebp - 0x48]
addsd xmm2, qword [eax + 8]
addsd xmm1, qword [eax]
movaps xmm0, xmm2
movsd qword [ebp - 0x60], xmm2
subsd xmm0, xmm1
movsd qword [ebp - 0x68], xmm1
comisd xmm3, xmm0
movsd xmm0, qword [ebx + 0x2c]
jae 0x5f5b96
comisd xmm0, xmm1
jbe 0x5f5b96
comisd xmm2, xmmword [ebx + 0x1c]
jbe 0x5f5b96
sub esp, 0x10
lea esi, [ebp - 0x68]
mov edi, esp
lea eax, [ebp - 0xd0]
sub esp, 0x20
movsd dword es:[edi], dword [esi]
push 8
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebx + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.005e6ba0
mov esi, dword [ebx + 0x10]
add esp, 0x34
cmp byte [esi + 0x78], 0
je 0x5f5947
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
call fcn.005cbf65
mov edi, eax
jmp 0x5f5949
xor edi, edi
mov eax, dword [esi + 0xf0]
shr eax, 5
test al, 1
je 0x5f596c
cmp edi, 1
jne 0x5f596c
push esi
push dword [ebx + 0xc]
push dword [ebp - 0x18]
call fcn.005f5186
add esp, 0xc
mov edi, eax
mov ecx, dword [ebx + 0xc]
add ecx, 0x294
cmp dword [ecx], 0xffffffff
je 0x5f5990
cmp dword [ecx + 4], 0xffffffff
je 0x5f5990
push dword [ebp - 0x18]
call fcn.005f1c03
mov byte [ebp - 0x2c], 1
test al, al
jne 0x5f5994
mov byte [ebp - 0x2c], 0
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [edx + 0x34]
movzx eax, byte [eax + ecx]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push edi
push dword [ebx + 0x50]
push dword [ebx + 0x4c]
push edx
push esi
push dword [ebx + 0xc]
push eax
call fcn.005fd66e
add esp, 0x28
cmp dword [ebp - 0x30], 0
je 0x5f5a5c
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
cmp byte [edx + eax], 9
jne 0x5f5a04
cmp byte [ebp - 0x11], 0
je 0x5f5a08
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.005b965b
test al, al
je 0x5f5a08
push 0x3d
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.005b8bb4
mov eax, dword [eax]
or eax, 0xff000000
mov dword [ebp - 0x24], eax
jmp 0x5f5a08
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x24]
mov edx, dword [ebx + 8]
lea esi, [ebp - 0xd0]
sub esp, 0x20
mov eax, dword [edx]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
call dword [eax + 0x48]
mov edi, dword [ebx + 0x14]
mov esi, dword [ebx + 0x48]
lea ecx, [ebp - 0xac]
call fcn.005f2307
test al, al
jne 0x5f588a
lea ecx, [ebp - 0xac]
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
push dword [ebp - 0x24]
mov edx, dword [ebx + 8]
lea esi, [ebp - 0xd0]
sub esp, 0x20
mov eax, dword [edx]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
call dword [eax + 0x48]
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + 0xdc], 0
je 0x5f5a25
mov eax, dword [ebp - 0x20]
xor esi, esi
mov edx, dword [ebp - 0x38]
sub eax, edx
mov dword [ebp - 0x18], esi
js 0x5f5a25
mov edi, dword [ebx + 0x14]
mov eax, dword [edi + 0x30]
add eax, esi
cmp byte [eax + edx], 0x20
jne 0x5f5b7c
cmp byte [ebp - 0x11], 0
je 0x5f5b80
push dword [ebp - 0x1c]
call fcn.005b965b
test al, al
je 0x5f5b74
mov eax, dword [ebp - 0x38]
mov ecx, edi
add eax, esi
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.005f2ed7
movsd xmm0, qword [ebp - 0x48]
lea esi, [ebp - 0x78]
sub esp, 0x10
mov edi, esp
sub esp, 0x20
addsd xmm0, qword [eax]
push 8
pop ecx
movsd qword [ebp - 0x78], xmm0
movsd xmm0, qword [ebp - 0x48]
addsd xmm0, qword [eax + 8]
lea eax, [ebp - 0x110]
movsd qword [ebp - 0x70], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebx + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.005e6ba0
mov eax, dword [ebx + 8]
add esp, 0x34
mov ecx, dword [ebx + 0x10]
mov eax, dword [eax]
push 0x3d
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
call fcn.005b8bb4
push 8
pop ecx
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x130]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
lea esi, [ebp - 0x130]
or ecx, 0xff000000
push ecx
mov eax, esp
sub esp, 0x20
mov dword [eax], ecx
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebx + 0x14]
jmp 0x5f5b80
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x10]
jmp 0x5f5b80
mov byte [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
inc esi
sub eax, edx
mov dword [ebp - 0x18], esi
cmp esi, eax
jle 0x5f5a97
jmp 0x5f5a28
comisd xmm1, xmm0
ja 0x5f5a3e
jmp 0x5f5a2b