Function at 0x1800085c0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0xf0], rax
movzx eax, word [0x1800150c0]
mov r14d, edx
movsd xmm0, qword [0x1800150b8]
lea rdx, [rsp + 0x40]
mov r12, qword [rbp + 0x150]
mov ebx, ecx
and dword [rsp + 0x30], 0
mov ecx, 0x101
mov word [rbp + 0xe8], ax
mov rsi, r9
mov al, byte [0x1800150c2]
mov r15d, r8d
mov byte [rbp + 0xea], al
movsd qword [rbp + 0xe0], xmm0
call qword [sym.imp.WSOCK32.dll_WSAStartup]
nop dword [rax + rax]
lea rdi, section..data
test eax, eax
je 0x18000865e
mov ebx, 0x4c6
jmp 0x18000895d
lea rcx, [rsp + 0x30]
call fcn.180008d7c
test eax, eax
js 0x18000891e
cmp dword [rsp + 0x30], 0
je 0x18000891e
call fcn.180004794
mov rdi, rax
test rax, rax
jne 0x1800086c5
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1800086bb
test byte [rcx + 0x1c], 2
je 0x1800086bb
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x39]
lea r9, [rbp + 0xe0]
lea r8, [0x1800153c0]
call fcn.180009468
mov ebx, 8
jmp 0x180008951
mov dword [rax], ebx
test r14d, r14d
mov dword [rax + 8], r15d
mov eax, 1
cmovne eax, r14d
mov dword [rdi + 4], eax
sub ebx, 1
je 0x180008872
cmp ebx, 1
jne 0x1800088d0
mov rcx, qword [section..data]
lea r14, section..data
mov ebx, 8
cmp rcx, r14
je 0x18000872a
test byte [rcx + 0x1c], bl
je 0x18000872a
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x33]
lea r9, [rbp + 0xe0]
lea r8, [0x1800153c0]
call fcn.180009468
mov rcx, qword [section..data]
test rsi, rsi
jne 0x180008797
cmp rcx, r14
je 0x18000874c
test byte [rcx + 0x1c], bl
je 0x18000874c
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x3c]
lea r8, [0x1800153c0]
call fcn.18000256c
mov rcx, rdi
call fcn.18000a180
mov rcx, qword [section..data]
cmp rcx, r14
je 0x1800088d7
test byte [rcx + 0x1c], bl
je 0x1800088d7
mov rax, qword [rdi + 0x28]
lea r9, [rbp + 0xe0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0x3d
mov qword [rsp + 0x20], rax
call fcn.180009ce0
jmp 0x1800088d7
cmp rcx, r14
je 0x1800087c2
test byte [rcx + 0x1c], bl
je 0x1800087c2
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xe0]
mov edx, 0x3e
mov qword [rsp + 0x20], rsi
lea r8, [0x1800153c0]
call fcn.180009ce0
mov rcx, rsi
call fcn.180002ff0
mov qword [rdi + 0x68], rax
test rax, rax
jne 0x180008801
mov rcx, qword [section..data]
cmp rcx, r14
je 0x180008851
test byte [rcx + 0x1c], 2
je 0x180008851
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3f]
lea r9, [rbp + 0xe0]
lea r8, [0x1800153c0]
call fcn.180009468
jmp 0x180008851
mov rdx, qword [0x180019630]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rdx + 0x28]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x18000882a
mov rcx, rdi
call fcn.18000a180
jmp 0x180008847
mov rcx, qword [rsi + 0x18]
call fcn.18000bc28
mov rcx, rdi
cmp eax, 1
jne 0x180008842
call fcn.18000ad28
jmp 0x180008847
call fcn.180002ac0
mov ebx, eax
test eax, eax
je 0x1800088d7
mov rax, qword [0x180019630]
mov rcx, qword [rax + 0xa8]
test rcx, rcx
je 0x1800088bc
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
jmp 0x1800088bc
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x1800088a9
mov ebx, 8
test byte [rcx + 0x1c], bl
je 0x1800088a9
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x32]
lea r9, [rbp + 0xe0]
lea r8, [0x1800153c0]
call fcn.180009468
and qword [rdi + 0x48], 0
mov rcx, rdi
call fcn.18000a78c
mov ebx, eax
test eax, eax
je 0x1800088d7
mov rcx, rdi
call fcn.1800043e8
lea rdi, section..data
jmp 0x180008951
lea r14, section..data
mov qword [r12], rdi
mov rcx, qword [section..data]
cmp rcx, r14
je 0x18000890e
test byte [rcx + 0x1c], 1
je 0x18000890e
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xe0]
mov edx, 0x40
mov qword [rsp + 0x20], rdi
lea r8, [0x1800153c0]
call fcn.180009ce0
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
xor eax, eax
jmp 0x180008996
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x18000894c
test byte [rcx + 0x1c], 2
je 0x18000894c
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xe0]
mov edx, 0x38
lea r8, [0x1800153c0]
call fcn.180009468
mov ebx, 0x4c6
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x18000898f
test byte [rcx + 0x1c], 2
je 0x18000898f
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xe0]
mov edx, 0x41
mov dword [rsp + 0x20], ebx
lea r8, [0x1800153c0]
call fcn.180009b34
and qword [r12], 0
mov eax, ebx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.180001570
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret