Function at 0x140266ca0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xor r14d, r14d
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x17], 2
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
movzx eax, word [0x1404a2a78]
mov word [rbp + 7], ax
mov byte [rbp + 9], r14b
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rcx, qword [rbp + 7]
mov r9, qword [rdi + 0x70]
mov r8, qword [rbp + 0x17]
lea edx, [r14 + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rax, str.Profile_Writer
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], ntohs
call sub.KERNEL32.dll_GetCurrentThreadId
mov ebx, eax
mov rsi, qword [rdi + 0x68]
movaps xmm6, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm6
lea r9, [rbp - 0x29]
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.140265410
cmp byte [0x1406942a0], r14b
je 0x140266d79
movdqa xmmword [rbp - 0x29], xmm6
lea r9, [rbp - 0x29]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.1402690e0
call fcn.1400b7330
add rax, qword [rdi + 0x78]
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
lea rcx, [rdi + 0x88]
call fcn.1400b85a0
cmp eax, 0xfffffffe
jne 0x140266dca
nop dword [rax + rax]
mov rcx, rdi
call fcn.140265770
call fcn.1400b7330
add rax, qword [rdi + 0x78]
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
lea rcx, [rdi + 0x88]
call fcn.1400b85a0
cmp eax, 0xfffffffe
je 0x140266da0
mov rcx, rdi
call fcn.140265770
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov qword [rbp - 9], 5
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov eax, dword [str._n__n]
mov dword [rbp - 0x19], eax
movzx eax, byte [reloc.WS2_32.dll_ioctlsocket]
mov byte [rbp - 0x15], al
mov byte [rbp - 0x14], 0
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rcx, qword [rbp - 0x19]
mov r9, qword [rdi + 0x70]
mov r8, qword [rbp - 9]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140266e6f
inc rdx
mov rcx, qword [rbp - 0x19]
cmp rdx, 0x1000
jb 0x140266e6a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140266ef1
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp - 9], r14
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140266eb6
inc rdx
mov rcx, qword [rbp + 7]
cmp rdx, 0x1000
jb 0x140266eb1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140266ef8
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 7], 0
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402f2210
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3