Function at 0x1401641f0
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xf0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, r9
mov r14, rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov qword [rbp + 0x77], r13
lea rdx, [r9 + 0x50]
lea rcx, [rbp - 0x61]
call fcn.14012bd50
nop
lea rdx, [rsi + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14012bd50
mov dword [rsp + 0x20], 0x60
lea rbx, [rbp - 0x61]
cmp qword [rbp - 0x49], 0x10
cmovae rbx, qword [rbp - 0x61]
lea rdi, [rsp + 0x40]
cmp qword [rbp - 0x69], 0x10
cmovae rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140164279
cmp byte [rdi], r13b
jne 0x14016427c
mov rdi, r13
test rbx, rbx
je 0x140164286
cmp byte [rbx], 0
jne 0x140164289
mov rbx, r13
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp + 0x77]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea rcx, [rbp + 0x1f]
call fcn.1401654c0
mov rbx, qword [rbp + 0x7f]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp - 0x69]
cmp rdx, 0x10
jb 0x1401642f5
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401642f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016452b
call fcn.14038b5d4
movdqa xmm0, xmmword [0x1403eaa30]
movdqu xmmword [rbp - 0x71], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x140164342
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14016433d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140164531
call fcn.14038b5d4
mov rax, qword [rbp + 0x77]
mov qword [rbp + 0x7f], rax
cmp dword [rbx], 0
je 0x140164369
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r13
lea rdx, [rsp + 0x28]
mov ebx, 0x61
jmp 0x1401643b2
lea rdx, [rsi + 0x50]
lea rcx, [rbp - 0x19]
call fcn.14012bd50
nop
mov dword [rsp + 0x20], 0xe2
lea rdx, [rsi + 0x30]
lea rcx, [rbp - 0x39]
call fcn.14012bd50
nop
mov dword [rsp + 0x20], 0x1e6
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rdx, qword [rbp + 0x77]
lea rcx, [rbp + 7]
call fcn.140160c10
mov rdx, rax
mov ebx, 0x1ee
mov qword [r14], r13
mov qword [r14 + 8], r13
mov rcx, qword [rdx]
mov qword [r14], rcx
mov rcx, qword [rdx + 8]
mov qword [r14 + 8], rcx
mov qword [rdx], r13
mov qword [rdx + 8], r13
mov rax, qword [rdx + 0x10]
mov qword [r14 + 0x10], rax
mov qword [rdx + 0x10], r13
or ebx, 0x10
mov dword [rsp + 0x20], ebx
mov esi, 0xffffffff
test bl, 8
je 0x140164428
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdi, qword [rbp + 0xf]
test rdi, rdi
je 0x140164428
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140164424
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140164424
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x140164470
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140164470
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14016446a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140164537
call fcn.14038b5d4
nop
test bl, 2
je 0x1401644b4
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x1401644b4
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401644ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140164525
call fcn.14038b5d4
nop
test bl, 1
je 0x1401644f2
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401644f2
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401644f2
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1401644f2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140164501
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r14
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1403ac924
nop
call fcn.1403ac924
nop
call fcn.1403ac924
nop
call fcn.1403ac924
int3