Function at 0x14009c754
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 [0x1402bced0]
xor rax, rbp
mov qword [rbp + 0x50], rax
xor r14d, r14d
mov qword [rbp + 0x18], rdx
mov dword [rbp], r14d
mov edi, 1
mov dword [rbp + 0x10], edi
mov rsi, r8
mov qword [rbp + 8], r14
mov rbx, rdx
mov r15, rcx
test r8, r8
je 0x14009c7c3
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 + 0x20]
lea r8d, [rdx + 0x30]
call fcn.1401c5190
cmp byte [r15], 0x5b
mov dword [rbp + 0x28], edi
movabs rdi, 0xffffffffffffff0
mov dword [rbp + 0x24], r14d
mov dword [rbp + 0x2c], 6
jne 0x14009c84d
mov edx, 0x1000
mov rcx, r15
call fcn.1401cd1c8
movsxd rdx, eax
mov rcx, rax
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x14009c80f
mov rax, rdi
and rax, 0xfffffffffffffff0
call fcn.1401c4230
sub rsp, rax
lea rdi, [rsp + 0x30]
cmp ecx, 2
jge 0x14009c82d
or eax, 0xffffffff
jmp 0x14009c9d4
lea eax, [rcx - 2]
mov rcx, rdi
movsxd rbx, eax
lea r8, [r15 + 1]
mov r9, rbx
call section..text
mov byte [rbx + rdi], r14b
mov r15, rdi
mov rbx, qword [rbp + 0x18]
or edi, 0xffffffff
test r15, r15
jne 0x14009c85a
mov eax, r14d
jmp 0x14009c87e
mov dword [rsp + 0x28], r14d
mov r9d, edi
mov r8, r15
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [rax*2 + 2]
movsxd r13, eax
test rbx, rbx
jne 0x14009c88b
mov eax, r14d
jmp 0x14009c8af
mov dword [rsp + 0x28], r14d
mov r9d, edi
mov r8, rbx
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [rax*2 + 2]
movsxd r12, eax
movabs rcx, 0xffffffffffffff0
test r13, r13
je 0x14009c8de
lea rax, [r13 + 0xf]
cmp rax, r13
ja 0x14009c8cd
mov rax, rcx
and rax, 0xfffffffffffffff0
call fcn.1401c4230
sub rsp, rax
lea r14, [rsp + 0x30]
test r12, r12
jne 0x14009c8e7
xor ebx, ebx
jmp 0x14009c905
lea rax, [r12 + 0xf]
cmp rax, r12
ja 0x14009c8f4
mov rax, rcx
and rax, 0xfffffffffffffff0
call fcn.1401c4230
sub rsp, rax
lea rbx, [rsp + 0x30]
test r14, r14
je 0x14009c927
mov dword [rsp + 0x28], r13d
mov r9d, edi
mov r8, r15
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test rbx, rbx
je 0x14009c94a
mov r8, qword [rbp + 0x18]
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 + 0x20]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov ebx, eax
test eax, eax
je 0x14009c977
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14009c973
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, ebx
jmp 0x14009c9d4
mov rbx, qword [rbp + 8]
test rbx, rbx
jne 0x14009c984
mov eax, edi
jmp 0x14009c9d4
mov r14d, dword [rbp + 0x10]
test r14d, r14d
jle 0x14009c9c7
cmp dword [rbx + 4], 2
je 0x14009c999
cmp dword [rbx + 4], 0x17
jne 0x14009c9be
movsxd rdi, dword [rbp]
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], edi
dec r14d
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14009c988
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, dword [rbp]
mov rcx, qword [rbp + 0x50]
xor rcx, rbp
call fcn.1401c3cc0
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