Function at 0x140054660
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [rcx + 0x18]
mov rbx, rcx
movss xmm0, dword [rax + 0x10]
ucomiss xmm0, dword [0x140158be8]
jp 0x14005468b
jne 0x14005468b
xor eax, eax
add rsp, 0xa0
pop rbx
ret
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rdi
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x70], xmm8
movaps xmmword [rsp + 0x60], xmm9
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x40], xmm11
movaps xmmword [rsp + 0x30], xmm12
call fcn.140056d50
mov rcx, qword [rbx + 0x40]
lea rdx, str.BOUNDARY
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
xor ebp, ebp
mov dword [rbx + 0x304], ebp
call fcn.14007da10
mov eax, dword [rbx + 0x300]
cmp dword [rbx + 0x304], ebp
jne 0x14005473c
mov edi, ebp
test eax, eax
jle 0x14005473c
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
mov eax, dword [rbx + 0x300]
inc edi
cmp edi, eax
jl 0x140054720
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a680]
add eax, 2
mov dword [rbx + 0x304], ebp
mov dword [rbx + 0x300], eax
call fcn.14007da10
cmp dword [rbx + 0x304], ebp
jne 0x140054794
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x14005478a
nop dword [rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054770
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.BBOX_
call fcn.14007da10
mov esi, reloc.WS2_32.dll_recv
nop dword [rax]
mov rax, qword [rbx + 0x18]
movss xmm6, dword [rsi + rax]
cmp dword [rbx + 0x304], ebp
jne 0x1400547f4
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x1400547ea
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x1400547d0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a6a8]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm6
movq r8, xmm2
call fcn.14007da90
cmp dword [rbx + 0x304], ebp
jne 0x140054854
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x14005484a
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054830
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a854]
call fcn.14007da10
add rsi, 4
cmp rsi, 0x1c
jl 0x1400547b0
mov esi, 0x1c
nop word [rax + rax]
mov rax, qword [rbx + 0x18]
movss xmm6, dword [rsi + rax]
cmp dword [rbx + 0x304], ebp
jne 0x1400548c4
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x1400548ba
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x1400548a0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a6a8]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm6
movq r8, xmm2
call fcn.14007da90
cmp dword [rbx + 0x304], ebp
jne 0x140054924
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x14005491a
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054900
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a858]
call fcn.14007da10
add rsi, 4
cmp rsi, 0x28
jl 0x140054880
cmp dword [rbx + 0x304], ebp
jne 0x140054984
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x14005497a
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054960
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a85c]
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], ebp
call fcn.14007da10
mov rax, qword [rbx + 0x18]
movss xmm0, dword [0x14015884c]
movss xmm6, dword [rax + 0x1c]
movss xmm7, dword [rax + 0x20]
movss xmm8, dword [rax + 0x24]
movss xmm9, dword [rax + 0x10]
movss xmm10, dword [rax + 0x14]
subss xmm6, xmm9
movss xmm11, dword [rax + 0x18]
subss xmm7, xmm10
subss xmm8, xmm11
mulss xmm6, xmm0
mulss xmm8, xmm0
mulss xmm7, xmm0
movaps xmm2, xmm6
mulss xmm2, xmm6
movaps xmm1, xmm8
movaps xmm0, xmm7
mulss xmm1, xmm8
mulss xmm0, xmm7
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x140054a26
xorps xmm12, xmm12
sqrtss xmm12, xmm2
jmp 0x140054a32
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm12, xmm0
addss xmm6, xmm9
movaps xmm9, xmmword [rsp + 0x60]
addss xmm7, xmm10
movaps xmm10, xmmword [rsp + 0x50]
addss xmm8, xmm11
movaps xmm11, xmmword [rsp + 0x40]
movss dword [rsp + 0x20], xmm6
movaps xmm6, xmmword [rsp + 0x90]
movss dword [rsp + 0x24], xmm7
movaps xmm7, xmmword [rsp + 0x80]
movss dword [rsp + 0x28], xmm8
movaps xmm8, xmmword [rsp + 0x70]
cmp dword [rbx + 0x304], ebp
jne 0x140054ab4
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x140054aaa
nop
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054a90
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.SPHERE_
call fcn.14007da10
mov rsi, rbp
cmp dword [rbx + 0x304], ebp
jne 0x140054b04
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x140054afa
nop dword [rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054ae0
mov dword [rbx + 0x304], 1
movss xmm2, dword [rsp + rsi*4 + 0x20]
lea rdx, [0x14018a6a8]
mov rcx, qword [rbx + 0x40]
cvtps2pd xmm2, xmm2
movq r8, xmm2
call fcn.14007da90
cmp dword [rbx + 0x304], ebp
jne 0x140054b64
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x140054b5a
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054b40
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a864]
call fcn.14007da10
inc rsi
cmp rsi, 3
jl 0x140054ac7
mov rsi, qword [rsp + 0xb8]
cmp dword [rbx + 0x304], ebp
jne 0x140054bc4
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x140054bba
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054ba0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a6a8]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm12
movq r8, xmm2
call fcn.14007da90
movaps xmm12, xmmword [rsp + 0x30]
cmp dword [rbx + 0x304], ebp
jne 0x140054c24
mov edi, ebp
cmp dword [rbx + 0x300], ebp
jle 0x140054c1a
nop dword [rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054c00
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a874]
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], ebp
call fcn.14007da10
mov eax, dword [rbx + 0x300]
add eax, 0xfffffffe
mov dword [rbx + 0x300], eax
cmp dword [rbx + 0x304], ebp
jne 0x140054c8a
mov edi, ebp
test eax, eax
jle 0x140054c8a
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140054c70
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a684]
mov dword [rbx + 0x304], ebp
mov rdi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbx
jmp fcn.14007da10