Function at 0x1401f9110
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor r15d, r15d
mov dword [rbp - 0x71], r15d
mov esi, 7
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x51], r15
mov word [rbp - 0x61], r15w
mov qword [rsp + 0x20], r15
lea edx, [rsi + 0x39]
lea rcx, [rbp - 9]
call qword [sym.imp.WS2_32.dll_gethostname]
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 9]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1401f91db
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x10], r15
cmp rsi, 8
jb 0x1401f919e
mov rax, qword [rdi]
jmp 0x1401f91a1
mov rax, rdi
mov word [rax], r15w
xor r8d, r8d
lea rdx, [0x140328340]
mov rcx, rdi
call fcn.14002c3d0
nop
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x1401f93ce
inc r8
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
call fcn.14002e610
jmp 0x1401f93ce
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov r8, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1401f3aa0
nop
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x1401f92be
nop dword [rax]
cmp dword [rbx + 4], 2
jne 0x1401f92aa
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], eax
mov word [rbp - 0xd], ax
mov rdx, qword [rbx + 0x20]
add rdx, 4
lea r9d, [rax + 0x16]
lea r8, [rbp - 0x21]
lea ecx, [rax + 2]
call sub.WS2_32.dll_inet_ntop
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.1401f3e50
mov r14, rax
lea rax, [rbp - 0x61]
cmp rax, r14
je 0x1401f9290
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x1401f9276
inc r8
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
call fcn.14002e610
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x51], r15
mov word [rbp - 0x61], r15w
mov rdx, r14
lea rcx, [rbp - 0x61]
call fcn.14002df10
nop
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x1401f92aa
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.14002e610
cmp qword [rbp - 0x51], 0
jne 0x1401f92be
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401f9210
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x10], r15
cmp qword [rdi + 0x18], 8
jb 0x1401f92d2
mov rax, qword [rdi]
jmp 0x1401f92d5
mov rax, rdi
mov word [rax], r15w
mov rcx, qword [rbp - 0x49]
cmp rcx, 8
jae 0x1401f9302
mov r8, qword [rbp - 0x51]
add r8, 1
je 0x1401f930d
add r8, r8
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.14028db80
mov rcx, qword [rbp - 0x49]
jmp 0x1401f930d
mov rax, qword [rbp - 0x61]
mov qword [rdi], rax
mov qword [rbp - 0x61], r15
mov rax, qword [rbp - 0x51]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rcx
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x51], r15
mov word [rbp - 0x61], r15w
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x1401f9362
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401f935e
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1401f935e
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rbp - 0x49]
cmp rsi, 8
jb 0x1401f93ce
lea rax, [rsi + 1]
mov rcx, qword [rbp - 0x61]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x1401f9385
call fcn.14029051c
int3
add rax, rax
cmp rax, 0x1000
jb 0x1401f93c9
test byte [rbp - 0x61], 0x1f
je 0x1401f939c
call fcn.14029051c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1401f93ab
call fcn.14029051c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1401f93ba
call fcn.14029051c
int3
cmp rcx, 0x27
jbe 0x1401f93c6
call fcn.14029051c
int3
mov rcx, rax
call fcn.14026d850
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14026d870
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret