Function at 0x1400a39a8
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 [0x1402e0ed0]
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 0x1400a3a1c
test r9d, r9d
jle 0x1400a3a1c
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.1401ce320
cmp byte [r13], 0x5b
movabs rbx, 0xffffffffffffff0
mov dword [rbp + 0x2c], r12d
mov dword [rbp + 0x30], 1
mov dword [rbp + 0x34], 6
jne 0x1400a3ab1
mov edx, 0x1000
mov rcx, r13
call fcn.1401d6600
movsxd rdx, eax
mov rcx, rax
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x1400a3a6d
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401cd3c0
sub rsp, rax
lea rdi, [rsp + 0x30]
cmp ecx, 2
jge 0x1400a3a8b
or eax, 0xffffffff
jmp 0x1400a3c95
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 0x1400a3abe
mov eax, r12d
jmp 0x1400a3ae2
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 0x1400a3af3
mov eax, r12d
jmp 0x1400a3b1b
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 0x1400a3b28
xor r14d, r14d
jmp 0x1400a3b45
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400a3b34
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401cd3c0
sub rsp, rax
lea r14, [rsp + 0x30]
test r12, r12
jne 0x1400a3b4e
xor ebx, ebx
jmp 0x1400a3b6c
lea rax, [r12 + 0xf]
cmp rax, r12
ja 0x1400a3b5b
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401cd3c0
sub rsp, rax
lea rbx, [rsp + 0x30]
test r14, r14
je 0x1400a3b8d
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 0x1400a3bb0
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 0x1400a3bde
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400a3bd7
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
xor eax, eax
jmp 0x1400a3c95
mov rbx, qword [rbp + 8]
test rbx, rbx
jne 0x1400a3bee
mov eax, edi
jmp 0x1400a3c95
mov r15d, dword [rbp]
mov rax, rbx
cmp dword [rax + 4], 2
je 0x1400a3c01
cmp dword [rax + 4], 0x17
jne 0x1400a3c04
inc r15d
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400a3bf5
mov dword [rbp], r15d
mov r15d, dword [rbp + 0x10]
test rsi, rsi
je 0x1400a3c41
test r15d, r15d
jne 0x1400a3c41
movsxd rbx, dword [rbp]
xor r9d, r9d
imul rcx, rbx, 0x1c
xor r8d, r8d
xor edx, edx
call fcn.14009acac
mov qword [rsi], rax
mov r15d, ebx
mov rbx, qword [rbp + 8]
mov rsi, rax
test rbx, rbx
je 0x1400a3c89
test r15d, r15d
jle 0x1400a3c85
cmp dword [rbx + 4], 2
je 0x1400a3c57
cmp dword [rbx + 4], 0x17
jne 0x1400a3c7c
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 0x1400a3c46
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.1401cce50
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