Function at 0x1400017b0
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov edi, r9d
mov dword [rsp + 0x34], r9d
mov r13, r8
mov r12, rdx
mov r15, rcx
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x30], ebx
cmp byte [rdx], 0x7c
jne 0x140001813
lea rcx, str.Pipe_syntax_in_dump_name_not_supported_n
call fcn.140001400
xor al, al
jmp 0x140001d28
mov ecx, 1
lea rdx, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
movzx ecx, byte [r12]
test cl, cl
je case.0x1400018c8.0
lea r8, [0x140000000]
movabs rsi, 0xcccccccccccccccd
movabs r9, 0x2525252525252525
nop word [rax + rax]
cmp cl, 0x25
je 0x1400018a3
mov rdx, qword [r15 + 0x10]
mov r9, qword [r15 + 0x18]
mov rax, r9
sub rax, rdx
cmp rax, 1
jb 0x140001892
lea rax, [rdx + 1]
mov qword [r15 + 0x10], rax
mov r8, r15
cmp r9, 0x10
jb 0x14000187d
mov r8, qword [r15]
movsx eax, cl
movzx eax, al
mov byte [r8 + rdx], al
mov byte [r8 + rdx + 1], 0
jmp 0x140001d05
mov byte [rsp + 0x20], cl
mov rcx, r15
call fcn.140002070
jmp 0x140001d05
inc r12
movsx rdx, byte [r12]
cmp edx, 0x75
ja case.0x1400018c8.2
movzx eax, byte [r8 + rdx + 0x1db0]
mov ecx, dword [r8 + rax*4 + 0x1d90]
add rcx, r8
jmp rcx
mov rcx, qword [r15 + 0x10]
mov rdx, qword [r15 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400018fd
lea rax, [rcx + 1]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp rdx, 0x10
jb 0x1400018f2
mov rax, qword [r15]
mov word [rax + rcx], 0x25
jmp 0x140001d16
mov byte [rsp + 0x20], 0x25
mov rcx, r15
call fcn.140002070
jmp 0x140001d05
lea r9, [rbp + 0x145]
mov r8d, edi
test edi, edi
jns 0x140001960
neg r8d
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140001920
dec r9
mov byte [r9], 0x2d
jmp 0x14000198a
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140001960
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rdi, r14
mov qword [rsp + 0x58], r14
mov esi, 0xf
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x48], 0
lea rax, [rbp + 0x145]
cmp r9, rax
je 0x1400019dd
lea r8, [rbp + 0x145]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140001e90
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
or ebx, 2
mov dword [rsp + 0x30], ebx
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
or ebx, 1
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x48]
mov r14, qword [rsp + 0x48]
cmp rsi, 0x10
cmovae r9, r14
mov rcx, qword [r15 + 0x10]
mov rdx, qword [r15 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140001a47
lea rax, [rdi + rcx]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp rdx, 0x10
jb 0x140001a2b
mov rax, qword [r15]
lea rbx, [rax + rcx]
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.140006860
mov byte [rdi + rbx], 0
mov ebx, dword [rsp + 0x30]
jmp 0x140001a61
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, r15
call fcn.1400021e0
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x48]
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
cmp rsi, 0x10
jb 0x140001a9f
lea rdx, [rsi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140001a97
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d52
mov rcx, r14
call fcn.140002620
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], r14b
mov edi, dword [rsp + 0x34]
movabs rsi, 0xcccccccccccccccd
jmp 0x140001d05
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov r8, qword [rsp + 0x40]
lea r9, [rbp + 0x145]
test r8, r8
jns 0x140001b30
neg r8
nop word [rax + rax]
dec r9
mov rax, rsi
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x140001af0
dec r9
mov byte [r9], 0x2d
jmp 0x140001b5a
dec r9
mov rax, rsi
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x140001b30
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov rdi, r14
mov qword [rsp + 0x78], r14
mov esi, 0xf
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x68], 0
lea rax, [rbp + 0x145]
cmp r9, rax
je 0x140001baa
lea r8, [rbp + 0x145]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.140001e90
mov rsi, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
or ebx, 8
mov dword [rsp + 0x30], ebx
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
or ebx, 4
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x68]
mov r14, qword [rsp + 0x68]
cmp rsi, 0x10
cmovae r9, r14
mov rcx, qword [r15 + 0x10]
mov rdx, qword [r15 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140001c14
lea rax, [rdi + rcx]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp rdx, 0x10
jb 0x140001bf8
mov rax, qword [r15]
lea rbx, [rax + rcx]
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.140006860
mov byte [rdi + rbx], 0
mov ebx, dword [rsp + 0x30]
jmp 0x140001c2d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, r15
call fcn.1400021e0
mov rsi, qword [rbp - 0x80]
mov r14, qword [rsp + 0x68]
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
cmp rsi, 0x10
jb 0x140001c6b
lea rdx, [rsi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140001c63
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d52
mov rcx, r14
call fcn.140002620
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r14b
mov edi, dword [rsp + 0x34]
movabs rsi, 0xcccccccccccccccd
jmp 0x140001d05
mov ecx, 0x401
call fcn.140002628
mov rbx, rax
mov qword [rsp + 0x38], rax
mov edx, 0x400
mov rcx, rax
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x140001d59
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x140001cc0
mov rdx, rbx
mov rcx, r15
call fcn.140001ff0
nop
mov rcx, rbx
call fcn.140002620
mov qword [rsp + 0x38], r14
mov ebx, dword [rsp + 0x30]
jmp 0x140001d05
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x140001cf0
mov rdx, r13
mov rcx, r15
call fcn.140001ff0
lea r8, [0x140000000]
movabs r9, 0x2525252525252525
inc r12
movzx ecx, byte [r12]
test cl, cl
jne 0x140001850
mov al, 1
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.140002600
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
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.WS2_32.dll_WSAGetLastError]
nop
mov edx, eax
lea rcx, str.Could_not_get_the_host_name_for_dump_name:__d_n
call fcn.140001400
nop
mov rcx, rbx
call fcn.140002620
mov qword [rsp + 0x38], r14
xor al, al
jmp 0x140001d28
lea rcx, str.Invalid_dump_name_format_char__c_n
call fcn.140001400
xor al, al
jmp 0x140001d28