Function at 0x180026ff8
Capabilities:
Initialize winsock library

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x778]
sub rsp, 0x850
mov rax, qword [0x18008a480]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov r15d, dword [rcx + 8]
xor r14d, r14d
mov rdi, rcx
mov dword [rsp + 0x40], r15d
mov r13d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x38], r14
mov r12d, r14d
mov rax, qword [0x18008a130]
lea rsi, [0x18008a130]
mov ebx, 0x800
cmp rax, rsi
je 0x180047596
test dword [rax + 0x1c], ebx
jne 0x180047577
lea rdx, [rbp + 0x5a0]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test eax, eax
jne 0x18002716a
lea r12d, [rax + 1]
mov rax, qword [rdi]
test rax, rax
je 0x18003e3d6
mov rsi, qword [rdi + 0x48]
mov rbx, qword [rax + 8]
mov rcx, qword [rdi + 0x20]
mov r14, rsi
test rsi, rsi
jne 0x1800270d5
test rcx, rcx
je 0x180029cc5
call fcn.180034d1c
mov r13, rax
mov qword [rsp + 0x50], rax
mov rsi, rax
test rax, rax
je 0x180029cc5
mov edx, dword [rdi + 8]
lea rcx, [rsp + 0x38]
mov r9, rsi
mov r8, rbx
call fcn.1800271f0
mov ebx, eax
test eax, eax
jne 0x18003c705
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 0x10]
mov qword [rdi + 0x30], rcx
mov rcx, rdi
mov qword [rdi + 0x38], rax
bt r15d, 0xc
jb 0x18002d942
call fcn.1800276fc
mov ebx, eax
cmp eax, 0x5b4
je 0x18002d93c
bt r15d, 0xe
jb 0x18002d93c
cmp eax, 0x232a
je 0x18002d93c
mov rcx, qword [rsp + 0x38]
call sym.DNSAPI.dll_NetInfo_Free
xor eax, eax
mov qword [rdi + 0x48], r14
xor r14d, r14d
lea rcx, [rdi + 0x58]
lea r8d, [rax + 0x40]
xor edx, edx
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], r14
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
lea rsi, [0x18008a130]
cmp dword [rdi + 0x14], r14d
je 0x18003c6c6
test r13, r13
jne 0x1800283a5
test r12d, r12d
je 0x180027188
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [0x18008a130]
cmp rcx, rsi
je 0x1800271a1
test dword [rcx + 0x1c], 0x400
jne 0x180047635
mov rax, qword [0x18008a130]
test dword [rax + 0x1c], 0x800
jne 0x180047653
mov eax, ebx
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.180001000
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, r13
call fcn.180008b84
nop
jmp 0x18002717d
mov r8d, dword [rdi + 8]
xor r14d, r14d
lea rcx, [rsp + 0x60]
lea edx, [r14 + 0x64]
call fcn.180029dec
mov dword [rsp + 0x30], eax
cmp eax, 0x64
ja 0x1800475b5
mov edx, dword [rdi + 8]
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x280]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
call fcn.180029f08
mov esi, dword [rsp + 0x30]
mov ebx, eax
test esi, esi
je 0x18003c02a
mov qword [rsp + 0x48], rsi
mov esi, dword [rsp + 0x40]
mov r15, r14
mov r13d, r14d
mov rdx, qword [rbp + r15 + 0x280]
mov r14, qword [rsp + r15 + 0x60]
mov qword [rsp + 0x38], rdx
test rdx, rdx
je 0x180047605
mov rax, qword [rdx + 0x10]
mov rcx, rdi
mov qword [rdi + 0x30], rdx
mov qword [rdi + 0x38], rax
bt esi, 0xc
jb 0x18002d956
call fcn.1800276fc
mov ebx, eax
cmp eax, 0x5b4
je 0x18002d953
bt esi, 0xe
jb 0x18002d953
cmp eax, 0x232a
je 0x18002d953
mov rcx, qword [rsp + 0x38]
call sym.DNSAPI.dll_NetInfo_Free
mov rcx, r14
call fcn.180008b84
xor r14d, r14d
lea rcx, [rdi + 0x58]
lea r8d, [r14 + 0x40]
xor edx, edx
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x48], r14
mov qword [rdi + 0x38], r14
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
test ebx, ebx
jne 0x180047616
mov r13d, r12d
add r15, 8
sub qword [rsp + 0x48], r12
jne 0x180029d22
mov esi, dword [rsp + 0x30]
test r13d, r13d
mov r13, qword [rsp + 0x50]
je 0x180027163
cmp esi, r12d
cmovne ebx, r14d
jmp 0x180027163
mov rcx, rdi
jmp 0x18002d942
mov qword [rdi + 0x48], rsi
call fcn.18002d35c
mov ebx, eax
jmp 0x180027139
mov rcx, rdi
mov qword [rdi + 0x48], r14
call fcn.18002d35c
mov ebx, eax
jmp 0x180029d7d
lea rsi, [0x18008a130]
test eax, eax
jne 0x18002716a
jmp 0x1800475fa
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call fcn.1800274ac
nop
jmp 0x180027174
xor r14d, r14d
jmp 0x180027163
mov ebx, 0x57
jmp 0x18002716a
mov r9, rcx
mov rcx, qword [rax + 0x10]
lea r8, [0x180082760]
mov edx, 0x1e
call fcn.18005b42c
mov rax, qword [0x18008a130]
test dword [rax + 0x1c], ebx
je 0x180027073
lea r8, [0x18004d1c8]
mov r9, rdi
call fcn.18006f918
nop
jmp 0x180027073
lea ebx, [r14 + 0x57]
mov rcx, qword [0x18008a130]
lea rsi, [0x18008a130]
cmp rcx, rsi
je 0x18002716a
test dword [rcx + 0x1c], 0x400
je 0x18002716a
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 0x38]
lea r8, [0x180082760]
mov r9d, eax
call fcn.180058fb0
nop
jmp 0x18002716a
mov ebx, 0x267c
jmp 0x18002716a
mov rcx, r14
call fcn.180008b84
xor r14d, r14d
jmp 0x180029db8
cmp dword [rdi + 0xc], r14d
je 0x180029db8
lea eax, [rbx - 0x232e]
cmp eax, 2
jbe 0x180029db5
jmp 0x180029db8
mov rcx, qword [rcx + 0x10]
lea r8, [0x180082760]
mov edx, 0x20
mov r9d, ebx
call fcn.180058fb0
nop
jmp 0x1800271a1
lea r8, [0x18004d1e0]
mov r9, rdi
call fcn.18006f918
mov rcx, qword [0x18008a130]
cmp rcx, rsi
je 0x1800271b5
test dword [rcx + 0x1c], 0x400
je 0x1800271b5
mov rcx, qword [rcx + 0x10]
lea r8, [0x180082760]
mov edx, 0x21
call fcn.180058818
nop
jmp 0x1800271b5