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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f7c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
mov dword [esp + 0x28], ecx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.005e2960
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x561285
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov ebx, 0xc415af1d
fld qword [edi]
fcomp qword [0x6018b0]
fnstsw ax
test ah, 1
jne 0x560b35
mov dword [esp + 0x1c], 1
jmp 0x560b5e
mov ecx, edi
lea eax, [esi + 0xf0]
sub ecx, esi
mov edx, 4
mov dword [ecx + eax], 0x78b58c40
mov dword [ecx + eax + 4], ebx
mov dword [eax], 0x78b58c40
mov dword [eax + 4], ebx
add eax, 8
dec edx
jne 0x560b44
mov ecx, edi
lea eax, [esi + 0x10]
sub ecx, esi
mov edx, 0x1c
mov dword [eax + ecx], 0x78b58c40
mov dword [eax + ecx + 4], ebx
mov dword [eax], 0x78b58c40
mov dword [eax + 4], ebx
add eax, 8
dec edx
jne 0x560b6a
mov eax, dword [ebp + 0x10]
cmp eax, 3
jl 0x561285
mov esi, dword [ebp + 0xc]
mov ecx, eax
fld qword [esi + ecx*8 - 8]
lea ebx, [ecx - 1]
add ecx, 0xfffffffe
fstp qword [esp + 0x3c]
test ecx, ecx
mov dword [esp + 0x18], ebx
jl 0x560bd2
lea edx, [esi + ecx*8]
fld qword [edx]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x560bca
mov ebx, dword [edx + 4]
mov eax, dword [edx]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], eax
mov ebx, ecx
dec ecx
sub edx, 8
test ecx, ecx
jge 0x560bae
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + ebx*8]
lea eax, [ecx + ebx*8]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov dword [edi + 0x10], edx
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
mov edx, dword [esi + ebx*8]
lea eax, [esi + ebx*8]
add ecx, 0x10
mov dword [esp + 0x10], eax
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], edx
test eax, eax
jne 0x560e8c
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 1]
cmp ecx, eax
jge 0x561285
fld qword [esp + 0x3c]
fsub qword [0x601ae0]
lea edx, [esi + ecx*8]
fstp qword [esp + 0x64]
fld qword [edx]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x560c48
mov eax, dword [ebp + 0x10]
inc ecx
add edx, 8
cmp ecx, eax
jl 0x560c2b
jmp 0x561285
cmp ecx, 0xffffffff
je 0x561285
cmp ecx, ebx
jle 0x561285
fld qword [esp + 0x3c]
fsub qword [0x604318]
lea edx, [esi + ecx*8]
fstp qword [esp + 0x1c]
fld qword [edx]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x560c84
dec ecx
sub edx, 8
cmp ecx, ebx
jg 0x560c6a
jmp 0x561285
mov eax, ecx
cmp ecx, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x561285
cmp ebx, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
jg 0x560ce1
mov eax, dword [esp + 0x10]
mov esi, ecx
sub esi, ebx
mov dword [esp + 0x14], eax
inc esi
mov ecx, dword [esp + 0x14]
fld qword [0x603518]
fld qword [ecx]
fmul qword [0x6034e0]
call fcn.005e3796
fadd qword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
add ecx, 8
dec esi
mov dword [esp + 0x14], ecx
fstp qword [esp + 0x4c]
jne 0x560cb4
mov ecx, dword [esp + 0x1c]
mov eax, ecx
sub eax, ebx
inc eax
test eax, eax
mov dword [esp + 0x14], eax
jle 0x561285
fld qword [esp + 0x4c]
fcomp qword [0x6018b0]
fnstsw ax
test ah, 0x41
jne 0x561285
fild dword [esp + 0x14]
cmp ecx, ebx
fdivr qword [esp + 0x4c]
fldlg2
fxch st(1)
fyl2x
fmul qword [0x603518]
jl 0x560d3a
mov edx, dword [ebp + 0xc]
lea edx, [edx + ecx*8]
fcom qword [edx]
fnstsw ax
test ah, 0x41
jne 0x560da4
dec ecx
sub edx, 8
cmp ecx, ebx
jge 0x560d29
fstp st(0)
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 1]
fld qword [esp + 0x3c]
cmp ecx, eax
mov esi, ebx
jge 0x560d6c
mov edx, dword [ebp + 0xc]
lea edx, [edx + ecx*8]
fcom qword [edx]
fnstsw ax
test ah, 0x41
jne 0x560d61
fstp st(0)
fld qword [edx]
mov esi, ecx
mov eax, dword [ebp + 0x10]
inc ecx
add edx, 8
cmp ecx, eax
jl 0x560d52
lea ecx, [esi - 1]
lea eax, [ebx + 1]
cmp ecx, eax
mov dword [esp + 0x1c], esi
jl 0x560df3
fadd qword [0x604318]
mov eax, dword [ebp + 0xc]
lea edx, [eax + ecx*8]
fstp qword [esp + 0x64]
fld qword [edx]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
je 0x560deb
dec ecx
lea eax, [ebx + 1]
sub edx, 8
cmp ecx, eax
jge 0x560d8a
jmp 0x560df5
fld qword [esp + 0x3c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
fsub st(1)
lea eax, [eax + ecx*8]
mov ebx, ecx
mov dword [esp + 0x28], eax
fadd qword [edx + 8]
fstp qword [edx + 8]
mov esi, dword [eax]
mov dword [edi + 0x10], esi
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
fstp qword [esp + 0x3c]
mov esi, dword [eax + ecx*8]
lea ecx, [eax + ecx*8]
lea eax, [edx + 0x10]
mov dword [esp + 0x10], ecx
mov dword [eax], esi
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x560d3c
mov esi, ecx
mov dword [esp + 0x1c], esi
jmp 0x560df5
fstp st(0)
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 1]
cmp eax, ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
jge 0x560e4b
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub esi, eax
lea edx, [ecx + eax*8]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
fld qword [0x603518]
fld qword [eax]
fmul qword [0x6034e0]
call fcn.005e3796
fadd qword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
add ecx, 8
dec esi
mov dword [esp + 0x14], ecx
fstp qword [esp + 0x4c]
jne 0x560e1e
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x1c]
sub eax, esi
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jle 0x561285
fld qword [esp + 0x4c]
fcomp qword [0x6018b0]
fnstsw ax
test ah, 0x41
jne 0x561285
fild dword [esp + 0x14]
fdivr qword [esp + 0x4c]
fldlg2
fxch st(1)
fyl2x
fmul qword [0x603518]
jmp 0x560e92
mov ecx, dword [ebp + 0x18]
fld qword [ecx + 8]
fst qword [esp + 0x4c]
fld qword [esp + 0x3c]
fsub qword [0x60eab8]
fstp qword [esp + 0x64]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
je 0x561285
mov eax, dword [ebp + 0x10]
lea esi, [ebx + 1]
cmp esi, eax
mov dword [esp + 0x14], esi
jge 0x561285
fld qword [esp + 0x3c]
fsub qword [0x601ae8]
mov edx, dword [ebp + 0xc]
lea ecx, [edx + esi*8]
fstp qword [esp + 0x34]
fld qword [ecx]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x560ef6
mov eax, dword [ebp + 0x10]
inc esi
add ecx, 8
cmp esi, eax
jl 0x560ed9
jmp 0x561285
test esi, esi
mov dword [esp + 0x2c], esi
je 0x561285
cmp esi, dword [esp + 0x18]
je 0x561285
mov eax, dword [ebp + 8]
mov ecx, dword [eax + esi*8]
lea eax, [eax + esi*8]
mov dword [esp + 0x34], eax
mov dword [edi + 0x30], ecx
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x34], eax
mov eax, dword [edx + esi*8]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + esi*8 + 4]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x14]
dec esi
cmp esi, eax
jl 0x561285
fld qword [esp + 0x3c]
fsub qword [0x603518]
lea eax, [edx + esi*8]
mov dword [esp + 0x1c], eax
fstp qword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
fld qword [eax]
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 1
je 0x560f7e
mov eax, dword [esp + 0x1c]
dec esi
sub eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cmp esi, eax
jge 0x560f54
jmp 0x561285
mov eax, esi
sub eax, ebx
cmp eax, 2
jl 0x561285
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x28]
fld qword [eax + esi*8]
fsub qword [ebx]
mov ebx, dword [ebx]
mov dword [edi + 0x50], ebx
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 4]
mov dword [edi + 0x54], ebx
mov ebx, dword [esp + 0x10]
fmul qword [0x6088e0]
mov ebx, dword [ebx]
mov dword [ecx + 0x50], ebx
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 4]
mov dword [ecx + 0x54], ebx
mov ebx, dword [eax + esi*8]
mov dword [edi + 0x58], ebx
mov ebx, dword [eax + esi*8 + 4]
mov dword [edi + 0x5c], ebx
mov ebx, dword [edx + esi*8]
mov dword [ecx + 0x58], ebx
mov ebx, dword [edx + esi*8 + 4]
mov dword [ecx + 0x5c], ebx
xor ebx, ebx
fstp qword [edi + 0xa0]
mov dword [ecx + 0xa0], ebx
cmp esi, ebx
mov dword [ecx + 0xa4], ebx
je 0x561285
cmp esi, dword [esp + 0x18]
je 0x561285
mov ebx, dword [eax + esi*8]
dec esi
mov dword [edi + 0x20], ebx
mov eax, dword [eax + esi*8 + 0xc]
mov dword [edi + 0x24], eax
mov eax, dword [edx + esi*8 + 8]
mov dword [ecx + 0x20], eax
mov eax, dword [edx + esi*8 + 0xc]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x14]
cmp esi, eax
jl 0x561285
fld qword [esp + 0x3c]
fsub qword [0x604318]
lea ecx, [edx + esi*8]
mov edx, eax
fstp qword [esp + 0x1c]
fld qword [ecx]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x561054
dec esi
sub ecx, 8
cmp esi, edx
jge 0x56103a
jmp 0x561285
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
sub eax, esi
cmp eax, 2
jl 0x561285
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
lea ebx, [edx + esi*8]
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0x4c]
lea ecx, [ecx + esi*8]
push edx
push eax
mov dword [esp + 0x38], ecx
push ecx
mov ecx, dword [esp + 0x44]
push ebx
call fcn.00560820
fld qword [esp + 0x54]
fabs
fcomp qword [0x603788]
fnstsw ax
test ah, 1
jne 0x561114
fld qword [esp + 0x44]
fcomp qword [0x6018b0]
fnstsw ax
test ah, 1
je 0x561114
fld qword [esp + 0x44]
fchs
mov eax, dword [ebx]
fdivr qword [0x603188]
mov dword [edi + 0x70], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x74], ecx
mov ecx, dword [esp + 0x34]
fld qword [esp + 0x44]
fmul qword [ebx]
fadd qword [esp + 0x5c]
fstp qword [eax + 0x70]
mov edx, dword [ecx]
fld qword [esp + 0x44]
mov dword [edi + 0x78], edx
mov edx, dword [ecx + 4]
mov dword [edi + 0x7c], edx
mov edx, dword [esp + 0x58]
fmul qword [ecx]
mov ecx, dword [esp + 0x54]
fadd qword [esp + 0x5c]
fstp qword [eax + 0x78]
fstp qword [edi + 0xa8]
mov dword [eax + 0xa8], ecx
mov dword [eax + 0xac], edx
test esi, esi
je 0x561285
cmp esi, dword [esp + 0x18]
je 0x561285
mov eax, dword [ebx]
fld qword [esp + 0x3c]
fsub qword [0x608a20]
fcomp qword [esp + 0x4c]
mov dword [edi + 0x18], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0x1c], eax
fnstsw ax
test ah, 1
jne 0x561285
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
lea esi, [ecx + 1]
cmp esi, edx
jge 0x561285
mov eax, dword [ebp + 0xc]
lea ecx, [eax + esi*8]
fld qword [ecx]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x56118e
inc esi
add ecx, 8
cmp esi, edx
jl 0x561174
jmp 0x561285
mov edx, dword [esp + 0x1c]
mov eax, esi
sub eax, edx
cmp eax, 2
jl 0x561285
lea ecx, [esp + 0x54]
lea edx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x30]
inc eax
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push edx
push ebx
call fcn.00560820
fld qword [esp + 0x54]
fabs
fcomp qword [0x603788]
fnstsw ax
test ah, 1
jne 0x561258
fld qword [esp + 0x44]
fcomp qword [0x6018b0]
fnstsw ax
test ah, 1
je 0x561258
fld qword [esp + 0x44]
fchs
mov eax, dword [ebx]
fdivr qword [0x603188]
mov dword [edi + 0x80], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x84], ecx
mov ecx, dword [ebp + 8]
fld qword [esp + 0x44]
fmul qword [ebx]
fadd qword [esp + 0x5c]
fstp qword [eax + 0x80]
mov edx, dword [ecx + esi*8]
fld qword [esp + 0x44]
mov dword [edi + 0x88], edx
mov edx, dword [ecx + esi*8 + 4]
mov dword [edi + 0x8c], edx
mov edx, dword [esp + 0x58]
fmul qword [ecx + esi*8]
mov ecx, dword [esp + 0x54]
fadd qword [esp + 0x5c]
fstp qword [eax + 0x88]
fstp qword [edi + 0xb0]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], edx
test esi, esi
je 0x561285
cmp esi, dword [esp + 0x18]
je 0x561285
mov eax, dword [ebp + 8]
mov ecx, dword [eax + esi*8]
mov dword [edi + 0x38], ecx
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x3c], edx
mov edx, dword [eax + esi*8]
mov dword [ecx + 0x38], edx
mov eax, dword [eax + esi*8 + 4]
mov dword [ecx + 0x3c], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], 0xffffffff
call fcn.005e2954
mov ecx, dword [esp + 0x78]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14