Function at 0x180006b20
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x898]
sub rsp, 0x998
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x880], rax
movups xmm0, xmmword [0x180015308]
xor r15d, r15d
mov al, byte [0x180015320]
movsd xmm1, qword [0x180015318]
mov rbx, r9
movups xmmword [rbp + 0x120], xmm0
mov qword [rsp + 0x58], rbx
mov r14, rcx
mov qword [rsp + 0x38], r8
mov r13d, r15d
mov qword [rsp + 0x50], rdx
movsd qword [rbp + 0x130], xmm1
mov byte [rbp + 0x138], al
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x30], r15d
mov word [rbp + 0x876], r15w
mov byte [rbp + 0x663], r15b
mov rcx, qword [section..data]
lea rsi, section..data
lea edi, [r15 + 8]
cmp rcx, rsi
je 0x180006c29
test byte [rcx + 0x1c], 1
je 0x180006bf7
mov eax, dword [r8]
lea r9, [rbp + 0x120]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xd8
mov dword [rsp + 0x20], eax
call fcn.180009b34
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x180006c29
test byte [rcx + 0x1c], dil
je 0x180006c29
mov rax, qword [r14 + 0x18]
lea r9, [rbp + 0x120]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd9
mov qword [rsp + 0x28], rax
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x20], rax
call fcn.180009688
mov ecx, 0x101
lea rdx, [rsp + 0x60]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
nop dword [rax + rax]
test eax, eax
je 0x180006c4d
mov edi, 0x4c6
jmp 0x1800077cb
lea rcx, [rsp + 0x30]
call fcn.180008d7c
test eax, eax
js 0x18000778c
cmp dword [rsp + 0x30], r15d
je 0x18000778c
mov r8, qword [r14 + 0x18]
lea rcx, [rbp + 0x670]
mov r9d, 0x103
lea edx, [r9 + 1]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
mov eax, 0x5c
mov qword [rbx], r15
cmp word [rbp + 0x670], ax
jne 0x180006ccd
lea r12, [rbp + 0x674]
mov qword [rsp + 0x30], r12
cmp word [rbp + 0x672], ax
jne 0x180006ccd
lea rdx, [0x180014f34]
lea rcx, [rbp + 0x674]
call qword [sym.imp.msvcrt.dll_wcspbrk]
nop dword [rax + rax]
jmp 0x180006cf1
lea r12, [rbp + 0x670]
mov edx, 0x3a
lea rcx, [rbp + 0x670]
mov qword [rsp + 0x30], r12
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x180006d01
add rsi, 2
mov word [rax], r15w
mov rcx, qword [section..data]
lea rbx, section..data
cmp rcx, rbx
je 0x180006d3b
test byte [rcx + 0x1c], dil
je 0x180006d3b
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xdb
mov qword [rsp + 0x20], r12
lea r8, [0x1800153c0]
call fcn.1800095d4
mov r8d, 0x103
lea rcx, [rbp + 0x560]
mov rdx, r12
call qword [sym.imp.msvcrt.dll_wcstombs]
nop dword [rax + rax]
or r15, 0xffffffffffffffff
cmp rax, r15
jne 0x180006da6
lea edi, [r15 + 0x58]
mov rcx, qword [section..data]
lea rsi, section..data
cmp rcx, rsi
je 0x1800077bf
test byte [rcx + 0x1c], 2
je 0x1800077bf
mov edx, 0xdc
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
lea r8, [0x1800153c0]
call fcn.180009468
jmp 0x1800077bf
mov rcx, qword [section..data]
cmp rcx, rbx
je 0x180006de0
test byte [rcx + 0x1c], dil
je 0x180006de0
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x560]
mov edx, 0xdd
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x120]
lea r8, [0x1800153c0]
call fcn.180009df0
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
nop dword [rax + rax]
xor r9d, r9d
test ebx, ebx
je 0x180006e52
lea edi, [r9 + 0x43]
mov rcx, qword [section..data]
lea rsi, section..data
cmp rcx, rsi
je 0x1800077bf
test byte [rcx + 0x1c], 2
je 0x1800077bf
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xde
call fcn.18000256c
jmp 0x1800077bf
mov rcx, qword [section..data]
test rsi, rsi
jne 0x180006e67
lea r13d, [rsi + 1]
jmp 0x1800070da
lea rax, section..data
cmp rcx, rax
je 0x180006e9a
test byte [rcx + 0x1c], dil
je 0x180006e9a
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xdf
mov qword [rsp + 0x20], rsi
lea r8, [0x1800153c0]
call fcn.1800095d4
call fcn.180004794
mov qword [rsp + 0x40], rax
mov rdx, rax
test rax, rax
jne 0x180006ed7
mov rcx, qword [section..data]
lea rsi, section..data
cmp rcx, rsi
je 0x1800077bf
test byte [rcx + 0x1c], 2
je 0x1800077bf
mov edx, 0xe0
jmp 0x180006d8a
mov eax, dword [r14 + 4]
test eax, eax
je 0x180006f2b
test al, 1
jne 0x180006f2b
mov rcx, qword [section..data]
lea rsi, section..data
cmp rcx, rsi
je 0x180006f21
test byte [rcx + 0x1c], 2
je 0x180006f21
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xe1
mov dword [rsp + 0x20], eax
lea r8, [0x1800153c0]
call fcn.1800094c8
mov rdx, qword [rsp + 0x40]
mov edi, 0x57
jmp 0x180007782
lea rbx, [rdx + 0x58]
mov rdx, rbx
lea rcx, [rbp + 0x560]
call fcn.180008a24
xor r9d, r9d
mov r12, r15
inc r12
cmp word [rsi + r12*2], r9w
jne 0x180006f44
mov rbx, qword [rbx]
mov rcx, qword [section..data]
test rbx, rbx
je 0x180007745
lea rax, section..data
cmp rcx, rax
je 0x180006f97
test byte [rcx + 0x1c], dil
je 0x180006f97
mov rax, qword [rbx]
lea r9, [rbp + 0x120]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xe2
mov qword [rsp + 0x20], rax
call fcn.180009df0
mov rdx, qword [rbx]
lea rcx, [rbp + 0x350]
inc rdx
mov r8d, 0x104
call qword [sym.imp.msvcrt.dll_mbstowcs]
nop dword [rax + rax]
mov r14, rax
cmp eax, 0xffffffff
je 0x1800076fd
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180007049
test byte [rcx + 0x1c], dil
je 0x180007016
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x350]
mov edx, 0xe4
mov dword [rsp + 0x28], r14d
lea r9, [rbp + 0x120]
mov qword [rsp + 0x20], rax
lea r8, [0x1800153c0]
call fcn.180009790
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180007049
test byte [rcx + 0x1c], dil
je 0x180007049
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xe5
mov qword [rsp + 0x20], rsi
lea r8, [0x1800153c0]
call fcn.1800095d4
mov rcx, qword [section..data]
cmp r14d, r12d
jne 0x18000707e
mov r14d, r14d
lea rdx, [rbp + 0x350]
mov r8d, r14d
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
xor r9d, r9d
test eax, eax
je 0x180007146
mov rcx, qword [section..data]
jmp 0x180007081
xor r9d, r9d
mov r14d, 4
cmp r13d, r14d
je 0x1800070bf
mov r8, r15
inc r8
cmp word [rsi + r8*2], r9w
jne 0x18000708f
lea rdx, [rbp + 0x350]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
mov rcx, qword [section..data]
xor r9d, r9d
test eax, eax
cmove r13d, r14d
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x180006f61
cmp r13d, r14d
jne 0x180007745
mov r12, qword [rsp + 0x30]
mov rax, qword [0x180019630]
mov rdx, qword [rax + 0x28]
mov rax, r15
inc rax
cmp word [rdx + rax*2], r9w
jne 0x1800070e8
lea ebx, [rax*2 + 0x32]
mov eax, r13d
sub eax, 1
je 0x18000725c
sub eax, 1
je 0x180007236
sub eax, 1
je 0x18000720d
cmp eax, 1
jne 0x18000726f
mov rax, r15
inc rax
cmp word [rsi + rax*2], r9w
jne 0x180007123
mov rdx, r15
inc rdx
cmp word [r12 + rdx*2], r9w
jne 0x180007130
add eax, edx
lea ebx, [rbx + rax*2]
add ebx, edi
jmp 0x18000726f
mov rcx, qword [section..data]
lea rbx, section..data
cmp rcx, rbx
je 0x1800071f3
test byte [rcx + 0x1c], dil
je 0x180007186
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xe6
lea r8, [0x1800153c0]
call fcn.180009468
mov rcx, qword [section..data]
cmp rcx, rbx
je 0x1800071f3
test byte [rcx + 0x1c], dil
je 0x1800071c0
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x350]
mov edx, 0xe7
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x120]
lea r8, [0x1800153c0]
call fcn.1800095d4
mov rcx, qword [section..data]
cmp rcx, rbx
je 0x1800071f3
test byte [rcx + 0x1c], dil
je 0x1800071f3
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xe8
mov qword [rsp + 0x20], rsi
lea r8, [0x1800153c0]
call fcn.1800095d4
mov rcx, qword [section..data]
movzx eax, word [rsi + r14*2]
neg ax
sbb r13d, r13d
neg r13d
add r13d, 2
xor r9d, r9d
jmp 0x1800070d5
mov rax, r15
inc rax
cmp word [rsi + rax*2], r9w
jne 0x180007210
lea r8, [rbp + 0x350]
mov rdx, r15
inc rdx
cmp word [r8 + rdx*2], r9w
jne 0x180007224
sub eax, edx
lea ebx, [rbx + rax*2]
add ebx, 2
mov rax, r15
inc rax
cmp word [r12 + rax*2], r9w
jne 0x180007239
lea r8, [rbp + 0x350]
mov rdx, r15
inc rdx
cmp word [r8 + rdx*2], r9w
jne 0x18000724d
jmp 0x18000713a
mov rax, r15
inc rax
cmp word [r12 + rax*2], r9w
jne 0x18000725f
lea ebx, [rbx + rax*2]
add ebx, 2
mov r14, qword [rsp + 0x38]
lea rax, section..data
cmp rcx, rax
je 0x1800072b0
test byte [rcx + 0x1c], dil
je 0x1800072b0
mov eax, dword [r14]
lea r9, [rbp + 0x120]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov dword [rsp + 0x28], eax
mov edx, 0xea
mov dword [rsp + 0x20], ebx
call fcn.180009bac
xor r9d, r9d
cmp dword [r14], ebx
jae 0x1800072fb
mov dword [r14], ebx
mov rcx, qword [section..data]
lea rsi, section..data
cmp rcx, rsi
je 0x1800072f1
test byte [rcx + 0x1c], 2
je 0x1800072f1
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xeb
mov dword [rsp + 0x20], ebx
lea r8, [0x1800153c0]
call fcn.180009b34
mov edi, 0xea
jmp 0x180007778
mov rbx, qword [rsp + 0x50]
mov ecx, 5
mov eax, r13d
mov qword [rbp + 0x100], r9
mov dword [rbx], ecx
lea edx, [rcx - 2]
mov dword [rbx + 4], 1
sub eax, 1
je 0x180007542
sub eax, 1
je 0x18000742a
sub eax, 1
je 0x18000742a
cmp eax, 1
jne 0x180007557
mov dword [rbx + 8], edx
lea r8, [0x180015300]
mov dword [rbx + 0xc], ecx
mov edx, 0x104
lea rcx, [rbp + 0x140]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov r8, r12
lea rcx, [rbp + 0x140]
mov r12d, 0x104
mov edx, r12d
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea r8, [0x180014f30]
mov edx, r12d
lea rcx, [rbp + 0x140]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
mov r8, rsi
lea rcx, [rbp + 0x140]
mov edx, r12d
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
mov edx, 0x2f
lea rcx, [rbp + 0x140]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x1800073ff
mov r14d, 0x5c
mov edx, 0x2f
mov word [rax], r14w
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x1800073dc
mov r14, qword [rsp + 0x38]
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x18000752f
test byte [rcx + 0x1c], dil
je 0x18000752f
mov edx, 0xed
jmp 0x18000750c
mov dword [rbx + 8], edx
lea r8, [0x180015300]
mov dword [rbx + 0xc], ecx
mov edx, 0x104
lea rcx, [rbp + 0x140]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov r8, r12
lea rcx, [rbp + 0x140]
mov r12d, 0x104
mov edx, r12d
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea r8, [0x180014f30]
mov edx, r12d
lea rcx, [rbp + 0x140]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea r8, [rbp + 0x350]
mov edx, r12d
lea rcx, [rbp + 0x140]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
mov edx, 0x2f
lea rcx, [rbp + 0x140]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x1800074ee
mov r14d, 0x5c
mov edx, 0x2f
mov word [rax], r14w
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x1800074cb
mov r14, qword [rsp + 0x38]
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x18000752f
test byte [rcx + 0x1c], dil
je 0x18000752f
mov edx, 0xec
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x140]
lea r9, [rbp + 0x120]
mov qword [rsp + 0x20], rax
lea r8, [0x1800153c0]
call fcn.1800095d4
lea rax, [rbp + 0x140]
xor r9d, r9d
mov qword [rbp + 0x108], rax
jmp 0x180007557
mov dword [rbx + 8], 2
mov dword [rbx + 0xc], 2
mov qword [rbp + 0x108], r12
mov rax, qword [0x180019630]
lea r8, [0x180019050]
mov qword [rbp + 0x110], r9
mov rdx, rbx
mov r9d, dword [r14]
add r9, rbx
mov rcx, qword [rax + 0x28]
mov qword [rbp + 0x118], rcx
lea rcx, [rbp + 0x100]
call fcn.180009014
cmp r13d, 3
jne 0x18000769c
lea rax, [rbx + 0x30]
mov rbx, qword [rsp + 0x58]
mov qword [rbx], rax
mov rcx, qword [section..data]
lea r13, section..data
xor r12d, r12d
cmp rcx, r13
je 0x1800075f5
test byte [rcx + 0x1c], dil
je 0x1800075f5
lea rdx, [rbp + 0x350]
mov rax, r15
inc rax
cmp word [rdx + rax*2], r12w
jne 0x1800075c8
mov rcx, qword [rcx + 0x10]
lea rax, [rsi + rax*2]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x120]
mov edx, 0xee
mov qword [rsp + 0x20], rsi
call fcn.180009688
lea rax, [rbp + 0x350]
inc r15
cmp word [rax + r15*2], r12w
jne 0x1800075fc
mov edx, dword [r14]
lea r8, [rsi + r15*2]
mov rcx, qword [rbx]
sub rdx, 0x30
shr rdx, 1
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov rcx, qword [rbx]
mov esi, 0x2f
mov edx, esi
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x180007664
lea r13d, [rsi + 0x2d]
mov edx, esi
mov word [rax], r13w
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x180007642
lea r13, section..data
mov rcx, qword [section..data]
cmp rcx, r13
je 0x1800076aa
test byte [rcx + 0x1c], dil
je 0x1800076aa
mov rax, qword [rbx]
lea r9, [rbp + 0x120]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xef
mov qword [rsp + 0x20], rax
call fcn.1800095d4
jmp 0x1800076a3
lea r13, section..data
mov rcx, qword [section..data]
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1800076c3
mov rcx, rax
call fcn.1800043e8
mov rcx, qword [section..data]
cmp rcx, r13
je 0x1800076ea
test byte [rcx + 0x1c], 1
je 0x1800076ea
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, pe_nt_image_headers64
lea r8, [0x1800153c0]
call fcn.180009468
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
xor eax, eax
jmp 0x1800077ff
mov rcx, qword [section..data]
lea rsi, section..data
cmp rcx, rsi
je 0x18000773e
test byte [rcx + 0x1c], 2
je 0x18000773e
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x350]
mov edx, 0xe3
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x120]
lea r8, [0x1800153c0]
call fcn.1800095d4
mov edi, 0x57
jmp 0x180007778
mov edi, 0x57
lea rsi, section..data
cmp rcx, rsi
je 0x180007778
test byte [rcx + 0x1c], 2
je 0x180007778
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xe9
lea r8, [0x1800153c0]
call fcn.180009468
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1800077bf
mov rcx, rdx
call fcn.1800043e8
jmp 0x1800077bf
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x1800077ba
test byte [rcx + 0x1c], 2
je 0x1800077ba
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xda
lea r8, [0x1800153c0]
call fcn.180009468
mov edi, 0x43
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x1800077fd
test byte [rcx + 0x1c], 2
je 0x1800077fd
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x120]
mov edx, 0xf1
mov dword [rsp + 0x20], edi
lea r8, [0x1800153c0]
call fcn.180009b34
mov eax, edi
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.180001570
add rsp, 0x998
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret