Function at 0x140191d40
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 [0x1403e3c28]
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], sendto
movzx eax, word [0x140336a6c]
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], sendto
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.1401904b0
cmp byte [0x140402db0], r14b
je 0x140191e19
movdqa xmmword [rbp - 0x29], xmm6
lea r9, [rbp - 0x29]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.140194180
call fcn.1400cbff0
add rax, qword [rdi + 0x78]
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
lea rcx, [rdi + 0x88]
call fcn.1400cd320
cmp eax, 0xfffffffe
jne 0x140191e6a
nop dword [rax + rax]
mov rcx, rdi
call fcn.140190810
call fcn.1400cbff0
add rax, qword [rdi + 0x78]
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
lea rcx, [rdi + 0x88]
call fcn.1400cd320
cmp eax, 0xfffffffe
je 0x140191e40
mov rcx, rdi
call fcn.140190810
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], sendto
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 0x140191f0f
inc rdx
mov rcx, qword [rbp - 0x19]
cmp rdx, 0x1000
jb 0x140191f0a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140191f91
mov rcx, r8
call fcn.140096c70
mov qword [rbp - 9], r14
mov qword [rbp - 1], sendto
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140191f56
inc rdx
mov rcx, qword [rbp + 7]
cmp rdx, 0x1000
jb 0x140191f51
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140191f98
mov rcx, r8
call fcn.140096c70
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], sendto
mov byte [rbp + 7], 0
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401f11e0
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