Function at 0x1800488e0
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r9
mov r14, rdx
mov r15, qword [rbp + 0x60]
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rbp - 8], r12
lea rdx, [rbp - 0x50]
mov rcx, r9
call fcn.180049c40
mov rdi, rax
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.1800449d0
mov rbx, rax
cmp qword [rdi + 0x18], 0x10
jb 0x180048953
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x18004895d
mov rbx, qword [rax]
test rbx, rbx
je 0x180048967
cmp byte [rbx], 0
jne 0x18004896a
mov rbx, r12
test rdi, rdi
je 0x180048974
cmp byte [rdi], 0
jne 0x180048977
mov rdi, r12
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp - 8]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.18004a920
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x1800489fc
inc rax
mov rcx, qword [rsp + 0x48]
cmp rax, 0x1000
jb 0x1800489f7
test cl, 0x1f
je 0x1800489ca
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800489d9
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800489e8
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x1800489f4
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov qword [rsp + 0x60], SafeArrayGetLBound
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x180048a65
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, 0x1000
jb 0x180048a60
test cl, 0x1f
je 0x180048a33
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180048a42
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180048a51
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x180048a5d
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov rax, qword [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [fcn.180038600]
cmp dword [r15], 0
cmove rax, r12
test rax, rax
je 0x180048a9c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x30]
mov ebx, 1
jmp 0x180048ae1
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.180049c40
mov rbx, rax
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1800449d0
nop
mov dword [rsp + 0x20], 6
mov r9, rbx
mov r8, rax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x30]
call fcn.1800407e0
mov ebx, select
mov rcx, qword [rax]
mov qword [r14], rcx
mov rcx, qword [rax + 8]
mov qword [r14 + 8], rcx
mov qword [rax], r12
mov qword [rax + 8], r12
mov rax, qword [rax + 0x10]
mov qword [r14 + 0x10], rax
or ebx, 0x10
mov dword [rsp + 0x20], ebx
or esi, 0xffffffff
test bl, 8
je 0x180048b4a
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x180048b4a
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180048b46
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x180048b46
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x180048bbf
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x180048bad
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x180048ba8
test cl, 0x1f
je 0x180048b7b
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180048b8a
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180048b99
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x180048ba5
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov qword [rbp - 0x80], SafeArrayGetLBound
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
test bl, 2
je 0x180048c31
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x180048c21
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x180048c1c
test cl, 0x1f
je 0x180048bef
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180048bfe
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180048c0d
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x180048c19
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov qword [rbp - 0x60], SafeArrayGetLBound
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], 0
test bl, 1
je 0x180048c6f
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180048c6f
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180048c6f
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x180048c6f
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180048c7f
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.18004b0f0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret