Function at 0x14020f020
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r14, rdx
mov qword [rsp + 0x30], rdx
xor r13d, r13d
mov ebx, r13d
mov dword [rsp + 0x20], ebx
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x90], r13
mov r15d, 7
mov qword [rbp + 0x98], r15
mov word [rbp + 0x80], r13w
mov qword [rsp + 0x28], r13
lea edx, [r13 + 0x40]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.WS2_32.dll_gethostname]
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xe0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14020f0e4
mov qword [r14], r13
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r15
mov word [r14], r13w
xor r8d, r8d
lea rdx, [case.0x1400bf494.25]
mov rcx, r14
call fcn.14002b640
jmp 0x14020f35e
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0x28]
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x70], 1
mov ecx, 0x20
call fcn.140296fc8
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14020f14d
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 8], 1
mov dword [rdi + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_struct_addrinfo____ptr64__void____cdecl___struct_addrinfo____ptr64__.0
mov qword [rdi], rcx
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rsi
jmp 0x14020f150
mov rdi, r13
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x14020f315
cmp dword [rsi + 4], 2
jne 0x14020f30c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xc0], xmm0
mov dword [rbp + 0xd0], eax
mov word [rbp + 0xd4], ax
mov rdx, qword [rsi + 0x20]
add rdx, 4
lea r9d, [rax + 0x16]
lea r8, [rbp + 0xc0]
lea ecx, [rax + 2]
call sub.WS2_32.dll_inet_ntop
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.140029460
nop
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x70]
call fcn.14012e9c0
nop
mov qword [rbp + 0xa0], r13
mov r12, r13
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r13w
or ebx, 8
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14020f239
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14020f239
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
mov qword [rsp + 0x38], rdx
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
sar r8, 1
mov qword [rsp + 0x40], r8
jmp 0x14020f27a
test cl, 4
jne 0x14020f270
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x14020f270
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov qword [rsp + 0x38], rdx
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
mov qword [rsp + 0x40], r8
jmp 0x14020f27a
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14020f292
lea rcx, [rbp + 0xa0]
call fcn.14002b640
mov r12, qword [rbp + 0xb0]
and ebx, 0xfffffff7
or ebx, 6
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 0x80]
call fcn.1400297c0
cmp r15, 8
jb 0x14020f2e4
lea rdx, [r15*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020f2df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14020f391
call fcn.140296f94
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x90], xmm1
test r12, r12
jne 0x14020f315
mov r15, qword [rbp + 0x98]
mov rsi, qword [rsi + 0x28]
jmp 0x14020f15f
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [r14 + 0x10], xmm1
test rdi, rdi
je 0x14020f35e
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14020f35e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14020f35e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, r14
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140296f70
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1402ba3ec
nop
int3