Function at 0x140029220
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x440
mov r14, r9
mov rsi, r8
mov edi, edx
mov rbx, rcx
movzx eax, word [rcx]
cmp eax, 2
je 0x1400292ca
cmp eax, 0x17
jne 0x140029502
movzx ecx, word [rbx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [r14], eax
mov edx, dword [0x1400cc228]
mov eax, dword [0x1400cc22c]
lea ecx, [rdx + 1]
imul ecx, edx
and ecx, 1
cmp eax, 0xa
jl 0x140029338
test ecx, ecx
je 0x140029338
mov r15, qword [sym.imp.WS2_32.dll_ntohs]
nop dword [rax + rax]
movzx ecx, word [rbx + 2]
call r15
movzx eax, ax
mov dword [r14], eax
movzx ecx, word [rbx + 2]
call r15
movzx eax, ax
mov dword [r14], eax
mov edx, dword [0x1400cc228]
mov eax, dword [0x1400cc22c]
lea ecx, [rdx + 1]
imul ecx, edx
and ecx, 1
cmp eax, 0xa
jl 0x140029338
test ecx, ecx
jne 0x140029290
jmp 0x140029338
movzx ecx, word [rbx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [r14], eax
mov edx, dword [0x1400cc228]
mov eax, dword [0x1400cc22c]
lea ecx, [rdx + 1]
imul ecx, edx
and ecx, 1
cmp eax, 0xa
jl 0x140029338
test ecx, ecx
je 0x140029338
mov r15, qword [sym.imp.WS2_32.dll_ntohs]
nop
movzx ecx, word [rbx + 2]
call r15
movzx eax, ax
mov dword [r14], eax
movzx ecx, word [rbx + 2]
call r15
movzx eax, ax
mov dword [r14], eax
mov edx, dword [0x1400cc228]
mov eax, dword [0x1400cc22c]
lea ecx, [rdx + 1]
imul ecx, edx
and ecx, 1
cmp eax, 0xa
jl 0x140029338
test ecx, ecx
jne 0x140029300
cmp eax, 0xa
jl 0x1400293f2
test ecx, ecx
je 0x1400293f2
lea r14, [rsp + 0x3f]
mov r15, qword [sym.imp.WS2_32.dll_getnameinfo]
nop word cs:[rax + rax]
mov r8d, 0x401
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, edi
mov r8, r14
mov r9d, 0x401
call r15
mov r8d, 0x401
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, edi
mov r8, r14
mov r9d, 0x401
call r15
cmp dword [0x1400cc22c], 0xa
jl 0x1400293f2
mov eax, dword [0x1400cc228]
lea ecx, [rax + 1]
imul ecx, eax
and ecx, 1
jne 0x140029360
lea r14, [rsp + 0x3f]
mov r15, qword [sym.imp.WS2_32.dll_getnameinfo]
nop
mov r8d, 0x401
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, edi
mov r8, r14
mov r9d, 0x401
call r15
cmp dword [0x1400cc22c], 0xa
jl 0x140029493
mov ecx, dword [0x1400cc228]
lea edx, [rcx + 1]
imul edx, ecx
and edx, 1
je 0x140029493
mov r8d, 0x401
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, edi
mov r8, r14
mov r9d, 0x401
call r15
jmp 0x140029400
test eax, eax
sete dil
jne 0x140029504
lea rdx, [rsp + 0x3f]
mov rcx, rsi
call fcn.140029520
cmp dword [0x1400cc22c], 0xa
jl 0x140029504
mov eax, dword [0x1400cc228]
lea ecx, [rax + 1]
imul ecx, eax
and ecx, 1
je 0x140029504
lea rbx, [rsp + 0x3f]
nop word [rax + rax]
mov rcx, rsi
mov rdx, rbx
call fcn.140029520
mov rcx, rsi
mov rdx, rbx
call fcn.140029520
cmp dword [0x1400cc22c], 0xa
jl 0x140029504
mov eax, dword [0x1400cc228]
lea ecx, [rax + 1]
imul ecx, eax
and ecx, 1
jne 0x1400294d0
jmp 0x140029504
xor edi, edi
mov eax, edi
add rsp, 0x440
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret