Function at 0x1800437f0
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 [0x1800ad0e0]
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.180045080
mov rdi, rax
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18003f660
mov rbx, rax
cmp qword [rdi + 0x18], 0x10
jb 0x180043863
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x18004386d
mov rbx, qword [rax]
test rbx, rbx
je 0x180043877
cmp byte [rbx], 0
jne 0x18004387a
mov rbx, r12
test rdi, rdi
je 0x180043884
cmp byte [rdi], 0
jne 0x180043887
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.180045fc0
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x18004390c
inc rax
mov rcx, qword [rsp + 0x48]
cmp rax, 0x1000
jb 0x180043907
test cl, 0x1f
je 0x1800438da
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800438e9
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800438f8
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180043904
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rsp + 0x60], setsockopt
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x180043975
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, 0x1000
jb 0x180043970
test cl, 0x1f
je 0x180043943
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180043952
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180043961
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x18004396d
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov rax, qword [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [fcn.180009b40]
cmp dword [r15], 0
cmove rax, r12
test rax, rax
je 0x1800439ac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x30]
mov ebx, 1
jmp 0x1800439f1
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.180045080
mov rbx, rax
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.18003f660
nop
mov dword [rsp + 0x20], 6
mov r9, rbx
mov r8, rax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x30]
call fcn.180039e20
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 0x180043a5a
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x180043a5a
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180043a56
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x180043a56
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x180043acf
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x180043abd
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x180043ab8
test cl, 0x1f
je 0x180043a8b
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180043a9a
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180043aa9
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180043ab5
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rbp - 0x80], setsockopt
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
test bl, 2
je 0x180043b41
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x180043b31
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x180043b2c
test cl, 0x1f
je 0x180043aff
call fcn.180057aec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180043b0e
call fcn.180057aec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180043b1d
call fcn.180057aec
int3
cmp rcx, 0x27
jbe 0x180043b29
call fcn.180057aec
int3
mov rcx, rax
call fcn.180046964
mov qword [rbp - 0x60], setsockopt
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], 0
test bl, 1
je 0x180043b7f
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180043b7f
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180043b7f
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 0x180043b7f
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 0x180043b8f
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180046a00
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