Function at 0x1800556a0
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 [0x1800f30e0]
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.180056fc0
mov rdi, rax
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.180050730
mov rbx, rax
cmp qword [rdi + 0x18], 0x10
jb 0x180055713
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x18005571d
mov rbx, qword [rax]
test rbx, rbx
je 0x180055727
cmp byte [rbx], 0
jne 0x18005572a
mov rbx, r12
test rdi, rdi
je 0x180055734
cmp byte [rdi], 0
jne 0x180055737
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.180057f10
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x1800557bc
inc rax
mov rcx, qword [rsp + 0x48]
cmp rax, 0x1000
jb 0x1800557b7
test cl, 0x1f
je 0x18005578a
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180055799
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800557a8
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x1800557b4
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov qword [rsp + 0x60], SafeArrayGetLBound
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x180055825
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, 0x1000
jb 0x180055820
test cl, 0x1f
je 0x1800557f3
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180055802
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180055811
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x18005581d
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov rax, qword [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [fcn.180046ce0]
cmp dword [r15], 0
cmove rax, r12
test rax, rax
je 0x18005585c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x30]
mov ebx, 1
jmp 0x1800558a1
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.180056fc0
mov rbx, rax
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.180050730
nop
mov dword [rsp + 0x20], 6
mov r9, rbx
mov r8, rax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x30]
call fcn.18004aa80
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 0x18005590a
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x18005590a
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180055906
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x180055906
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x18005597f
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x18005596d
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x180055968
test cl, 0x1f
je 0x18005593b
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005594a
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180055959
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x180055965
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov qword [rbp - 0x80], SafeArrayGetLBound
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
test bl, 2
je 0x1800559f1
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x1800559e1
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x1800559dc
test cl, 0x1f
je 0x1800559af
call fcn.1800837e4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800559be
call fcn.1800837e4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800559cd
call fcn.1800837e4
int3
cmp rcx, 0x27
jbe 0x1800559d9
call fcn.1800837e4
int3
mov rcx, rax
call fcn.1800591c4
mov qword [rbp - 0x60], SafeArrayGetLBound
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], 0
test bl, 1
je 0x180055a2f
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180055a2f
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180055a2f
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 0x180055a2f
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 0x180055a3f
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180059260
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