Function at 0x140017760
Capabilities:
Get hostname
Initialize winsock library
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [0x1400ad768]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
xor r14d, r14d
mov rdi, rcx
test byte [0x1400af180], 1
mov dword [rsp + 0x20], r14d
je 0x1400177ae
lea rdx, [0x140091c10]
call fcn.140017960
mov rax, qword [rdi + 8]
mov qword [0x1400aee18], rax
mov rax, qword [rdi]
mov qword [0x1400aedf0], rax
call fcn.1400182f0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x198
call sub.msvcrt.dll_memset
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea r15, [0x1400936e0]
lea rbp, [0x1400ad2f8]
test eax, eax
jne 0x14002ba22
mov dword [0x1400aedf8], 1
call sym.spoolsv.exe_PrvSplIsUpgrade
lea rdx, [rsp + 0x24]
mov dword [0x1400aedb0], 0x5c005c
lea rcx, [0x1400aedb4]
mov dword [rsp + 0x24], 0x10
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x14002ba56
call fcn.140018260
mov ecx, eax
call fcn.140015784
mov ebx, eax
test eax, eax
js 0x14002baa9
lea rdx, [0x1400af090]
lea rcx, [0x1400af098]
call sym.spoolsv.exe_PrvBuildOtherNamesFromMachineName
test eax, eax
je 0x14002baf0
mov r8, qword [0x1400af098]
lea rcx, [0x1400aeba4]
mov dword [0x1400aeba0], 0x5c005c
mov edx, 0x102
mov r8, qword [r8 + 8]
call fcn.140010a10
call fcn.140016954
mov ebx, eax
test eax, eax
js 0x14002bb30
call fcn.1400180f4
mov ebx, eax
test eax, eax
js 0x14002bb77
lea r8, [rsp + 0x20]
xor edx, edx
lea rcx, [0x140091bf0]
call fcn.140017cdc
mov qword [0x1400aede0], rax
test rax, rax
je 0x14002bbbe
mov rcx, qword [rax + 0x10]
mov edx, 0x190
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x1400aeb90], rax
test rax, rax
je 0x14002bc06
call fcn.14001118c
mov rcx, qword [0x1400af1a0]
call fcn.140013f40
mov dword [0x1400aede8], 1
call fcn.140017c88
call fcn.140017c34
call fcn.140017b30
call fcn.140017ae4
call fcn.140015ae0
call fcn.140017a4c
mov rcx, qword [0x1400af198]
mov r8, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
test byte [0x1400af180], 1
je 0x140017952
lea rdx, [0x140091be0]
call fcn.140017960
call fcn.1400179f0
int3
mov rcx, qword [0x1400ad2f8]
cmp rcx, rbp
je 0x14001780a
test byte [rcx + 0x1c], 0x20
je 0x14001780a
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r9d, eax
mov r8, r15
call fcn.14002efb8
nop
jmp 0x14001780a
mov rax, qword [0x1400ad2f8]
cmp rax, rbp
je 0x14002ba89
test byte [rax + 0x1c], 0x20
je 0x14002ba89
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x1400ad2f8]
mov edx, 0xb
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.14002efb8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
xor r8d, r8d
lea rcx, [0x14009d508]
mov edx, eax
call fcn.14005200c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, qword [0x1400ad2f8]
cmp rcx, rbp
je 0x14002bacf
test byte [rcx + 0x1c], 0x20
je 0x14002bacf
mov rcx, qword [rcx + 0x10]
mov edx, 0xc
mov r9d, ebx
mov r8, r15
call fcn.14002efb8
mov ecx, ebx
call fcn.140035734
mov edx, eax
lea rcx, [0x14009d608]
xor r8d, r8d
call fcn.14005200c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rax, qword [0x1400ad2f8]
cmp rax, rbp
je 0x14002bb23
test byte [rax + 0x1c], 0x20
je 0x14002bb23
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x1400ad2f8]
mov edx, 0xd
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.14002efb8
mov word [0x1400aeba0], r14w
jmp 0x140017892
mov rcx, qword [0x1400ad2f8]
cmp rcx, rbp
je 0x14002bb56
test byte [rcx + 0x1c], 0x20
je 0x14002bb56
mov rcx, qword [rcx + 0x10]
mov edx, 0xe
mov r9d, ebx
mov r8, r15
call fcn.14002efb8
mov ecx, ebx
call fcn.140035734
mov edx, eax
lea rcx, [0x14009d568]
xor r8d, r8d
call fcn.14005200c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, qword [0x1400ad2f8]
cmp rcx, rbp
je 0x14002bb9d
test byte [rcx + 0x1c], 0x20
je 0x14002bb9d
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
mov r9d, ebx
mov r8, r15
call fcn.14002efb8
mov ecx, ebx
call fcn.140035734
mov edx, eax
lea rcx, [0x14009d658]
xor r8d, r8d
call fcn.14005200c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, qword [0x1400ad2f8]
cmp rcx, rbp
je 0x14002bbe6
test byte [rcx + 0x1c], 0x20
je 0x14002bbe6
mov r9d, dword [rsp + 0x20]
mov edx, 0x10
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.14002efb8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
xor r8d, r8d
lea rcx, [0x14009d6a8]
mov edx, eax
call fcn.14005200c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rax, qword [0x1400ad2f8]
cmp rax, rbp
je 0x14002bc39
test byte [rax + 0x1c], 0x20
je 0x14002bc39
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x1400ad2f8]
mov edx, 0x11
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.14002efb8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
xor r8d, r8d
lea rcx, [0x14009d6a8]
mov edx, eax
call fcn.14005200c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]