Function at 0x1401eef50
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 [0x14035dc30]
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 0x1401ef014
mov qword [r14], r13
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r15
mov word [r14], r13w
xor r8d, r8d
lea rdx, [0x1402f713c]
mov rcx, r14
call fcn.140025e70
jmp 0x1401ef29c
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.1402695b8
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1401ef07d
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 0x1401ef080
mov rdi, r13
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x1401ef245
cmp dword [rsi + 4], 2
jne 0x1401ef23c
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.140092730
nop
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x70]
call fcn.1400c9eb0
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 0x1401ef169
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x1401ef169
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 0x1401ef1aa
test cl, 4
jne 0x1401ef1a0
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x1401ef1a0
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 0x1401ef1aa
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1401ef1c2
lea rcx, [rbp + 0xa0]
call fcn.140025e70
mov r12, qword [rbp + 0xb0]
and ebx, 0xfffffff7
or ebx, 6
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 0x80]
call fcn.140092260
cmp r15, 8
jb 0x1401ef214
lea rdx, [r15*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ef20f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ef2cf
call fcn.140269844
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x90], xmm1
test r12, r12
jne 0x1401ef245
mov r15, qword [rbp + 0x98]
mov rsi, qword [rsi + 0x28]
jmp 0x1401ef08f
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [r14 + 0x10], xmm1
test rdi, rdi
je 0x1401ef29c
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1401ef29c
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400ac8a1.0]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1401ef29c
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
nop
mov rax, r14
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140269300
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.140277ff8
nop
int3