Function at 0x1400a8b04
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x90
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x140301ed0]
xor rax, rbp
mov qword [rbp + 0x58], rax
xor r12d, r12d
mov dword [rbp + 0x10], r9d
mov qword [rbp + 0x20], rdx
mov rsi, r8
mov dword [rbp + 4], r12d
mov r14, rdx
mov qword [rbp + 8], r12
mov r13, rcx
mov dword [rbp], r12d
test r8, r8
je 0x1400a8b78
test r9d, r9d
jle 0x1400a8b78
xor eax, eax
mov qword [r8], rax
mov qword [r8 + 8], rax
mov qword [r8 + 0x10], rax
mov dword [r8 + 0x18], eax
xor edx, edx
lea rcx, [rbp + 0x28]
lea r8d, [rdx + 0x30]
call fcn.1401dacf0
cmp byte [r13], 0x5b
movabs rbx, 0xffffffffffffff0
mov dword [rbp + 0x2c], r12d
mov dword [rbp + 0x30], 1
mov dword [rbp + 0x34], 6
jne 0x1400a8c0d
mov edx, 0x1000
mov rcx, r13
call fcn.1401e2fbc
movsxd rdx, eax
mov rcx, rax
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x1400a8bc9
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401d9d90
sub rsp, rax
lea rdi, [rsp + 0x30]
cmp ecx, 2
jge 0x1400a8be7
or eax, 0xffffffff
jmp 0x1400a8df1
lea eax, [rcx - 2]
mov rcx, rdi
movsxd rbx, eax
lea r8, [r13 + 1]
mov r9, rbx
call section..text
mov byte [rbx + rdi], r12b
mov r13, rdi
movabs rbx, 0xffffffffffffff0
or edi, 0xffffffff
test r13, r13
jne 0x1400a8c1a
mov eax, r12d
jmp 0x1400a8c3e
mov dword [rsp + 0x28], r12d
mov r9d, edi
mov r8, r13
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [rax*2 + 2]
movsxd rcx, eax
mov qword [rbp + 0x18], rcx
test r14, r14
jne 0x1400a8c4f
mov eax, r12d
jmp 0x1400a8c77
mov dword [rsp + 0x28], r12d
mov r9d, edi
mov r8, r14
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rbp + 0x18]
lea eax, [rax*2 + 2]
movsxd r12, eax
test rcx, rcx
jne 0x1400a8c84
xor r14d, r14d
jmp 0x1400a8ca1
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400a8c90
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401d9d90
sub rsp, rax
lea r14, [rsp + 0x30]
test r12, r12
jne 0x1400a8caa
xor ebx, ebx
jmp 0x1400a8cc8
lea rax, [r12 + 0xf]
cmp rax, r12
ja 0x1400a8cb7
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401d9d90
sub rsp, rax
lea rbx, [rsp + 0x30]
test r14, r14
je 0x1400a8ce9
mov dword [rsp + 0x28], ecx
mov r9d, edi
mov ecx, 0xfde9
mov qword [rsp + 0x20], r14
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test rbx, rbx
je 0x1400a8d0c
mov r8, qword [rbp + 0x20]
mov r9d, edi
mov dword [rsp + 0x28], r12d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r9, [rbp + 8]
mov rdx, rbx
lea r8, [rbp + 0x28]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
je 0x1400a8d3a
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400a8d33
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
xor eax, eax
jmp 0x1400a8df1
mov rbx, qword [rbp + 8]
test rbx, rbx
jne 0x1400a8d4a
mov eax, edi
jmp 0x1400a8df1
mov r15d, dword [rbp]
mov rax, rbx
cmp dword [rax + 4], 2
je 0x1400a8d5d
cmp dword [rax + 4], 0x17
jne 0x1400a8d60
inc r15d
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400a8d51
mov dword [rbp], r15d
mov r15d, dword [rbp + 0x10]
test rsi, rsi
je 0x1400a8d9d
test r15d, r15d
jne 0x1400a8d9d
movsxd rbx, dword [rbp]
xor r9d, r9d
imul rcx, rbx, 0x1c
xor r8d, r8d
xor edx, edx
call fcn.14009f674
mov qword [rsi], rax
mov r15d, ebx
mov rbx, qword [rbp + 8]
mov rsi, rax
test rbx, rbx
je 0x1400a8de5
test r15d, r15d
jle 0x1400a8de1
cmp dword [rbx + 4], 2
je 0x1400a8db3
cmp dword [rbx + 4], 0x17
jne 0x1400a8dd8
movsxd rdi, dword [rbp + 4]
mov edx, 0x1c
mov r9, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
imul rcx, rdi, 0x1c
add rcx, rsi
call section..text
inc edi
mov dword [rbp + 4], edi
dec r15d
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400a8da2
mov rbx, qword [rbp + 8]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x58]
xor rcx, rbp
call fcn.1401d9820
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x60]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret