Function at 0x180044480
Capabilities:
Create thread
Print debug messages
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x8e8]
sub rsp, 0x9d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800ad0e0]
xor rax, rsp
mov qword [rbp + 0x8c0], rax
mov rdi, rcx
mov qword [rbp + 0x8b0], rcx
xor edx, edx
mov rcx, qword [str..pipe6c459691_c3d3_4686_b2fd_6b3ba6528b42]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
setne al
xor esi, esi
test al, al
jne 0x18004494e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov dword [rbp + 0x80], eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
imul ecx, edx, 0x3e8
sub r8d, ecx
mov dword [rbp + 0x84], r8d
lea rdx, str.dwCurPid:__d__dwSleeptime:__d
lea rcx, [rsp + 0x70]
call fcn.18000cdd0
mov rbx, rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x48], rax
lea r14, [fcn.180009b40]
mov qword [rsp + 0x50], r14
lea r15, [0x180020dc0]
mov qword [rsp + 0x58], r15
cmp byte [rbx + 0x44], sil
je 0x180044554
mov rcx, rbx
call fcn.180017030
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.180009b90
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x1800445b4
mov r10d, dword [rbx + 0x40]
cmp eax, r10d
jge 0x1800445b4
nop dword [rax]
movsxd r9, dword [rbx + 0x3c]
mov r8, r9
mov rcx, qword [rbx + 0x18]
mov rax, r9
shr rax, 5
lea rdx, [rcx + rax*4]
and r8d, 0x1f
mov ecx, r8d
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x1800445b4
lea eax, [r9 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r10d
jl 0x180044580
lea rax, [rbp + 0x84]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
cmp byte [rbx + 0x44], 0
je 0x1800445d8
mov rcx, rbx
call fcn.180017030
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.180009b90
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180044634
mov r10d, dword [rbx + 0x40]
cmp eax, r10d
jge 0x180044634
nop dword [rax]
movsxd r9, dword [rbx + 0x3c]
mov r8, r9
mov rcx, qword [rbx + 0x18]
mov rax, r9
shr rax, 5
lea rdx, [rcx + rax*4]
and r8d, 0x1f
mov ecx, r8d
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x180044634
lea eax, [r9 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r10d
jl 0x180044600
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.180027560
nop
cmp byte [rbp + 0x60], 0
je 0x180044671
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x18004466d
mov rax, qword [rcx]
call qword [rax + select]
test rax, rax
je 0x18004466d
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov byte [rbp + 0x60], 0
lea rax, vtable.boost::io::basic_altstringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1800178e0
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x20], rax
mov rbx, qword [rbp + 0x40]
test rbx, rbx
je 0x1800446c9
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800446bc
mov rax, qword [rcx]
call qword [rax + select]
test rax, rax
je 0x1800446bc
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov edx, select
mov rcx, rbx
call fcn.18004736c
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x18004471f
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x18004471a
test cl, 0x1f
je 0x1800446ed
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800446fc
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x18004470b
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180044717
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rbp - 0x30], setsockopt
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], 0
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1800447b2
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 2
movabs rdx, 0x3fffffffffffffff
cmp rax, rdx
jbe 0x180044758
call fcn.180057aec
int3
lea rax, [rax*4]
cmp rax, 0x1000
jb 0x1800447a1
test byte [rbp - 0x78], 0x1f
je 0x180044774
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180044783
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180044792
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x18004479e
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180044864
movzx r9d, byte [rsp + 0x40]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call fcn.180008fa0
mov rcx, qword [rbp - 0x80]
mov r8, qword [rsp + 0x70]
sub rcx, r8
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movabs rax, 0x1c71c71c71c71c7
cmp rdx, rax
jbe 0x180044811
call fcn.180057aec
int3
lea rax, [rdx + rdx*8]
shl rax, 4
cmp rax, 0x1000
jb 0x18004485b
test byte [rsp + 0x70], 0x1f
je 0x18004482e
call fcn.180057aec
int3
mov rax, qword [r8 - 8]
cmp rax, r8
jb 0x18004483d
call fcn.180057aec
int3
sub r8, rax
cmp r8, 8
jae 0x18004484c
call fcn.180057aec
int3
cmp r8, 0x27
jbe 0x180044858
call fcn.180057aec
int3
mov r8, rax
mov rcx, r8
call fcn.180046964
nop
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
mov r8d, VarUI4FromDisp
lea rcx, [0x1800b8740]
call fcn.18004c910
mov dword [0x1800b8740], 0x114
lea rcx, [0x1800b8740]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [0x1800b89a8], 0
jne 0x1800448e7
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x180032110]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800448e7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x1800b89a8], 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbp + 0xa0]
cmp rax, 0x10
jb 0x18004494e
inc rax
mov rcx, qword [rbp + 0x88]
cmp rax, 0x1000
jb 0x180044949
test cl, 0x1f
je 0x18004491c
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18004492b
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x18004493a
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180044946
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
lea rcx, str.save_cur_url:_pipe
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [str..pipe6c459691_c3d3_4686_b2fd_6b3ba6528b42]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800449a3
lea rcx, str.CreateFileA_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180044a60
xor edx, edx
mov r8d, 0x804
lea rcx, [rbp + 0xac]
call fcn.18004c910
mov dword [rbp + 0xa8], 3
mov rcx, rdi
call fcn.180036bb0
mov r8, rax
mov edx, 0x400
lea rcx, [rbp + 0xac]
call fcn.1800562dc
mov dword [rbp + 0x80], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x80]
mov r8d, 0x808
lea rdx, [rbp + 0xa8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180044a12
lea rcx, str.write_pipe_failed_n
jmp 0x180044a50
mov dword [rbp + 0x80], esi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x8b0], xmm0
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x80]
mov r8d, setsockopt
lea rdx, [rbp + 0x8b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180044a56
lea rcx, str.read_pipe_failed_to_wait_check_end_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call fcn.180002740
mov rcx, qword [rbp + 0x8c0]
xor rcx, rsp
call fcn.180046a00
lea r11, [rsp + 0x9d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret