Function at 0x1401e01c0
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 [0x1404f4fb8]
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 [0x140369e34]
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], send
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.1401de830
cmp byte [0x14051bc90], r14b
je 0x1401e0299
movdqa xmmword [rbp - 0x29], xmm6
lea r9, [rbp - 0x29]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.1401e2aa0
call fcn.14026f640
add rax, qword [rdi + 0x78]
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
lea rcx, [rdi + 0x88]
call fcn.1402708b0
cmp eax, 0xfffffffe
jne 0x1401e02ea
nop dword [rax + rax]
mov rcx, rdi
call fcn.1401dec90
call fcn.14026f640
add rax, qword [rdi + 0x78]
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
lea rcx, [rdi + 0x88]
call fcn.1402708b0
cmp eax, 0xfffffffe
je 0x1401e02c0
mov rcx, rdi
call fcn.1401dec90
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 0x1401e038f
inc rdx
mov rcx, qword [rbp - 0x19]
cmp rdx, 0x1000
jb 0x1401e038a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401e0411
mov rcx, r8
call fcn.140233b10
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 0x1401e03d6
inc rdx
mov rcx, qword [rbp + 7]
cmp rdx, 0x1000
jb 0x1401e03d1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401e0418
mov rcx, r8
call fcn.140233b10
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.140233ef0
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