Function at 0x180029990
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1c0
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov r14, r9
mov rsi, rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rbp + 0x110], r15
lea rdx, [rsp + 0x78]
mov rcx, r9
call fcn.18002a278
mov rdi, rax
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.18002a2c8
mov rbx, rax
cmp qword [rdi + 0x18], 0x10
jb 0x180029a03
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x180029a0d
mov rbx, qword [rax]
test rbx, rbx
je 0x180029a17
cmp byte [rbx], r15b
jne 0x180029a1a
mov rbx, r15
test rdi, rdi
je 0x180029a24
cmp byte [rdi], r15b
jne 0x180029a27
mov rdi, r15
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp + 0x110]
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edi, 0xe
test eax, eax
je 0x180029bdc
sub eax, 8
je 0x180029bb2
sub eax, 0x271e
je 0x180029b8b
sub eax, 0x16
je 0x180029b67
sub eax, 3
je 0x180029b46
sub eax, 0x3e
je 0x180029b25
sub eax, 0x37c
je 0x180029b04
sub eax, 1
je 0x180029ad5
cmp eax, 1
je 0x180029ab4
call fcn.180015750
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.180016218
jmp 0x180029bed
call fcn.180015750
mov r8, rax
mov edx, 0x2afb
lea rcx, [rbp - 0x20]
call fcn.180016218
movups xmm0, xmmword [rbp - 0x20]
movsd xmm1, qword [rbp - 0x10]
jmp 0x180029af4
call fcn.180015750
mov r8, rax
mov edx, 0x2afa
lea rcx, [rbp - 8]
call fcn.180016218
movups xmm0, xmmword [rbp - 8]
movsd xmm1, qword [rbp + 8]
movups xmmword [rsp + 0x28], xmm0
movsd qword [rsp + 0x38], xmm1
jmp 0x180029bed
call fcn.180015750
mov r8, rax
mov edx, 0x2af9
lea rcx, [rbp + 0x10]
call fcn.180016218
movups xmm0, xmmword [rbp + 0x10]
movsd xmm1, qword [rbp + 0x20]
jmp 0x180029af4
call fcn.180015750
mov r8, rax
mov edx, 0x277d
lea rcx, [rbp + 0x28]
call fcn.180016218
movups xmm0, xmmword [rbp + 0x28]
movsd xmm1, qword [rbp + 0x38]
jmp 0x180029af4
call fcn.180015750
mov r8, rax
mov edx, 0x273f
lea rcx, [rbp + 0x40]
call fcn.180016218
movups xmm0, xmmword [rbp + 0x40]
movsd xmm1, qword [rbp + 0x50]
jmp 0x180029af4
call fcn.180015750
mov r8, rax
mov edx, 0x273c
lea rcx, [rbp + 0x58]
call fcn.180016218
movups xmm0, xmmword [rbp + 0x58]
movsd xmm1, qword [rbp + 0x68]
jmp 0x180029af4
call fcn.180015750
mov r8, rax
mov edx, 0x2726
lea rcx, [rbp + 0x70]
call fcn.180016218
movups xmm0, xmmword [rbp + 0x70]
movsd xmm1, qword [rbp + 0x80]
jmp 0x180029af4
call fcn.180015750
mov r8, rax
mov edx, edi
lea rcx, [rbp + 0x88]
call fcn.180016218
movups xmm0, xmmword [rbp + 0x88]
movsd xmm1, qword [rbp + 0x98]
jmp 0x180029af4
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r15
mov rbx, qword [rbp + 0x120]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rbx + 0x10], xmm1
mov r12d, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180029c28
inc rdx
mov r8d, r12d
mov rcx, qword [rsp + 0x58]
call fcn.1800062ec
mov r13d, 0xf
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x58], r15b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180029c57
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x78]
call fcn.1800062ec
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r15
mov byte [rsp + 0x78], r15b
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0x100], rax
test byte [rbx + 0x10], r12b
je 0x180029c86
cmp qword [rbx + 0x10], r12
jne 0x180029c8d
cmp dword [rbx], r15d
setne al
jmp 0x180029c89
mov al, r15b
test al, al
je 0x180029caa
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
lea rdx, [rsp + 0x40]
mov edi, r12d
mov dword [rsp + 0x20], r12d
jmp 0x180029cf6
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.18002a278
mov rbx, rax
mov dword [rsp + 0x20], 2
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.18002a2c8
nop
mov dword [rsp + 0x20], 6
mov r9, rbx
mov r8, rax
mov rdx, qword [rbp + 0x110]
lea rcx, [rbp + 0xa0]
call fcn.180029f28
mov rdx, rax
mov dword [rsp + 0x20], edi
mov rcx, qword [rdx]
mov qword [rsi], rcx
mov rcx, qword [rdx + 8]
mov qword [rsi + 8], rcx
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
mov qword [rdx + 0x10], r15
or edi, 0x10
mov dword [rsp + 0x20], edi
or r14d, 0xffffffff
test dil, 8
je 0x180029d6a
and edi, 0xfffffff7
mov dword [rsp + 0x20], edi
mov rbx, qword [rbp + 0xa8]
test rbx, rbx
je 0x180029d6a
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x180029d66
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x180029d66
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x20]
test dil, 4
je 0x180029d9c
and edi, 0xfffffffb
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180029d90
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x68]
call fcn.1800062ec
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x58], r15
mov byte [rbp - 0x68], r15b
test dil, 2
je 0x180029dce
and edi, 0xfffffffd
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180029dc2
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x48]
call fcn.1800062ec
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x48], r15b
test r12b, dil
je 0x180029e17
and edi, 0xfffffffe
mov dword [rsp + 0x20], edi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180029e17
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x180029e17
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x180029e17
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x180029e29
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rsi
mov rbx, qword [rsp + 0x218]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret