Function at 0x1400a3090
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 [0x1402deed0]
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 0x1400a3104
test r9d, r9d
jle 0x1400a3104
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.1401cd320
cmp byte [r13], 0x5b
movabs rbx, 0xffffffffffffff0
mov dword [rbp + 0x2c], r12d
mov dword [rbp + 0x30], 1
mov dword [rbp + 0x34], 6
jne 0x1400a3199
mov edx, 0x1000
mov rcx, r13
call fcn.1401d5600
movsxd rdx, eax
mov rcx, rax
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x1400a3155
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401cc3c0
sub rsp, rax
lea rdi, [rsp + 0x30]
cmp ecx, 2
jge 0x1400a3173
or eax, 0xffffffff
jmp 0x1400a337d
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 0x1400a31a6
mov eax, r12d
jmp 0x1400a31ca
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 0x1400a31db
mov eax, r12d
jmp 0x1400a3203
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 0x1400a3210
xor r14d, r14d
jmp 0x1400a322d
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400a321c
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401cc3c0
sub rsp, rax
lea r14, [rsp + 0x30]
test r12, r12
jne 0x1400a3236
xor ebx, ebx
jmp 0x1400a3254
lea rax, [r12 + 0xf]
cmp rax, r12
ja 0x1400a3243
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.1401cc3c0
sub rsp, rax
lea rbx, [rsp + 0x30]
test r14, r14
je 0x1400a3275
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 0x1400a3298
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 0x1400a32c6
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400a32bf
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
xor eax, eax
jmp 0x1400a337d
mov rbx, qword [rbp + 8]
test rbx, rbx
jne 0x1400a32d6
mov eax, edi
jmp 0x1400a337d
mov r15d, dword [rbp]
mov rax, rbx
cmp dword [rax + 4], 2
je 0x1400a32e9
cmp dword [rax + 4], 0x17
jne 0x1400a32ec
inc r15d
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400a32dd
mov dword [rbp], r15d
mov r15d, dword [rbp + 0x10]
test rsi, rsi
je 0x1400a3329
test r15d, r15d
jne 0x1400a3329
movsxd rbx, dword [rbp]
xor r9d, r9d
imul rcx, rbx, 0x1c
xor r8d, r8d
xor edx, edx
call fcn.14009a7ac
mov qword [rsi], rax
mov r15d, ebx
mov rbx, qword [rbp + 8]
mov rsi, rax
test rbx, rbx
je 0x1400a3371
test r15d, r15d
jle 0x1400a336d
cmp dword [rbx + 4], 2
je 0x1400a333f
cmp dword [rbx + 4], 0x17
jne 0x1400a3364
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 0x1400a332e
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.1401cbe50
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