Function at 0x140083360
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0x100
mov rax, qword [0x14008fb98]
xor rax, rsp
mov qword [rbp + 7], rax
mov qword [r11 + 8], r12
xorps xmm0, xmm0
comisd xmm1, xmm0
mov qword [r11 - 0x30], r14
mov r12, r8
mov qword [r11 - 0x38], r15
mov r13, rcx
ja 0x1400833a4
xorps xmm1, xmmword [0x14008a570]
mov r14d, dword [r8 + 8]
movq rbx, xmm1
mov rsi, rbx
mov rdi, rbx
shr rbx, 0x34
movabs rax, 0xfffffffffffff
and ebx, 0x7ff
shr rsi, 0x3f
and rdi, rax
cmp rbx, 0x7ff
je 0x140083473
test rbx, rbx
jne 0x14008341a
test rdi, rdi
jne 0x14008341a
mov dword [rsp + 0x3c], 1
test sil, sil
je 0x140083406
lea rax, str._0e00
mov dword [rsp + 0x38], 6
jmp 0x1400834ac
lea rax, str.0e00
mov dword [rsp + 0x38], 5
jmp 0x1400834ac
mov r8, rbx
lea rcx, [rbp - 0x51]
mov rdx, rdi
call fcn.1400827e0
movsd xmm0, qword [rax + 0x10]
movups xmm1, xmmword [rax]
movsd qword [rbp - 0x59], xmm0
cmp byte [rbp - 0x59], 0
jne 0x14008344e
mov r8, rbx
lea rcx, [rbp - 0x79]
mov rdx, rdi
call fcn.140081e20
movups xmm1, xmmword [rax]
mov r9d, r14d
movdqa xmmword [rsp + 0x30], xmm1
movzx r8d, sil
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x69]
call fcn.140081300
movups xmm0, xmmword [rax]
jmp 0x1400834b6
test rdi, rdi
je 0x140083489
lea rax, [0x14008850c]
mov dword [rsp + 0x38], 3
jmp 0x1400834a4
mov dword [rsp + 0x38], 4
lea rax, str._inf
test sil, sil
jne 0x1400834a4
lea rax, str.inf
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
cmp byte [r12 + 0x14], 0
movups xmmword [r13], xmm0
je 0x1400834ed
lea rdx, [rsp + 0x30]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x69]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400846a0
lea rcx, [rbp - 0x79]
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
call fcn.140084a10
movzx r14d, byte [r12]
xor edi, edi
movzx eax, byte [r12 + 0xc]
xor r8b, r8b
xor dl, dl
mov qword [rbp - 0x19], 0
xor r15d, r15d
mov qword [rbp - 0x11], 0
mov qword [rbp - 9], 0
lea rsi, [rdi - 1]
mov qword [rbp - 1], 0
mov qword [rbp - 0x39], 0
mov qword [rbp - 0x31], 0
mov qword [rbp - 0x29], 0
mov qword [rbp - 0x21], 0
mov dword [rsp + 0x40], edi
cmp r14b, 0x30
jne 0x140083587
test al, al
je 0x140083578
movzx ecx, byte [r12 + 0xd]
test cl, cl
movzx eax, dl
mov edx, 0x2b
cmovne eax, edx
setne dil
neg cl
mov byte [rbp - 0x39], al
sbb eax, eax
mov dword [rsp + 0x40], eax
jmp 0x1400835b2
mov byte [rbp - 0x39], 0x2d
mov edi, 1
mov dword [rsp + 0x40], esi
jmp 0x1400835b2
test al, al
je 0x1400835a8
movzx ecx, byte [r12 + 0xd]
mov edx, 0x2b
test cl, cl
movzx eax, r8b
cmovne eax, edx
setne r15b
mov byte [rbp - 0x19], al
jmp 0x1400835b2
mov byte [rbp - 0x19], 0x2d
mov r15d, 1
movsxd rbx, dword [r13 + 8]
lea rcx, [rbp - 0x19]
mov rdx, qword [r13]
mov r8, rbx
mov eax, r15d
add rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add r15d, ebx
mov ebx, dword [r12 + 4]
mov r12d, dword [r12 + 0x10]
sub ebx, r15d
add ebx, dword [rsp + 0x40]
test r12d, r12d
jne 0x140083600
test ebx, ebx
jle 0x140083600
mov eax, edi
lea rcx, [rbp - 0x39]
add rcx, rax
mov r8d, ebx
movzx edx, r14b
call sub.VCRUNTIME140.dll_memset
add edi, ebx
movsxd rax, edi
lea rcx, [rbp - 0x39]
add rcx, rax
movsxd r8, r15d
lea rdx, [rbp - 0x19]
call sub.VCRUNTIME140.dll_memcpy
add edi, r15d
mov r15, qword [rsp + 0xf0]
cmp r12d, 1
mov r12, qword [rsp + 0x130]
jne 0x14008364e
test ebx, ebx
jle 0x14008364e
movsxd rax, edi
lea rcx, [rbp - 0x39]
add rcx, rax
mov eax, ebx
add edi, ebx
mov byte [rcx], r14b
lea rcx, [rcx + 1]
sub rax, 1
jne 0x140083641
mov r14, qword [rsp + 0xf8]
movsxd rax, edi
cmp rax, 0x20
jae 0x14008376d
movaps xmmword [rsp + 0xe0], xmm6
movups xmm6, xmmword [r13]
mov byte [rbp + rax - 0x39], 0
lea rax, [rbp - 0x39]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140083680
test esi, esi
jne 0x1400836a7
lea rax, [0x140088494]
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x3c], 1
jmp 0x1400836dc
movsxd rcx, esi
inc rcx
call fcn.1400047a0
movsxd rbx, esi
lea rdx, [rbp - 0x39]
mov r8, rbx
mov qword [rsp + 0x30], rax
mov rcx, rax
mov dword [rsp + 0x38], esi
mov rdi, rax
mov dword [rsp + 0x3c], 0
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
movups xmm0, xmmword [rsp + 0x30]
movdqa xmm1, xmm6
psrldq xmm1, 0xc
movd eax, xmm1
movups xmmword [r13], xmm0
cmp eax, 0xfa1d05ee
jne 0x140083733
mov ebx, 0x1e
lea rdi, str.double_string.free___detected_n
lea ecx, [rbx - 0x1d]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rsi, rax
mov r9, rsi
mov r8, rbx
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rdi, rax
sub rbx, rax
test rbx, rbx
jg 0x140083712
jmp 0x140083748
cmp eax, 1
je 0x140083748
movq rcx, xmm6
test rcx, rcx
je 0x140083748
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movaps xmm6, xmmword [rsp + 0xe0]
mov rax, r13
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140087230
add rsp, 0x100
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140086d5c
int3