Function at 0x1400c8da0
Capabilities:
Initialize winsock library

Disassembly:
push r12
sub rsp, 0x460
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x440], rax
cmp byte [reloc.WS2_32.dll_accept], 0
mov r12, rcx
je 0x1400c9153
lea rcx, [rsp + 0x60]
call fcn.14017d460
lea rcx, [rsp + 0x60]
call fcn.140178170
cmp qword [0x14020e170], 0
jne 0x1400c911c
lea rdx, [rsp + 0x2a0]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400c90fb
mov ecx, 0x2a0
mov qword [rsp + 0x478], rbx
call fcn.1400cf700
xor edx, edx
mov r8d, 0x2a0
mov rcx, rax
mov rbx, rax
mov qword [0x14020e170], rax
call fcn.1401a9240
lea r11, str.__title__r_n_link_rel_stylesheet__href__main.css__type_text_css___r_n_link_rel_shortcut_icon__href__favicon.ico__type_image_x_icon___r_n__head__r_n_body_
lea rdx, [rbx + 0x88]
mov r8d, 0x22
nop
nop
nop
mov rcx, qword [r11 - 8]
add rdx, 0x10
add r11, 0x10
sub r8, 1
mov qword [rdx - 0x18], rcx
mov rcx, qword [r11 - 0x10]
mov qword [rdx - 0x10], rcx
jne 0x1400c8e50
mov rcx, qword [0x14020dfa8]
cmp byte [rcx], r8b
je 0x1400c8f52
mov qword [rsp + 0x480], rbp
call fcn.140175db0
test rax, rax
mov rbp, rax
je 0x1400c8f43
lea rdx, str.HTTP_SERVER_STRINGS
mov rcx, rax
mov qword [rsp + 0x488], rsi
call fcn.1400c9340
test rax, rax
mov rsi, rax
je 0x1400c8f2a
mov qword [rsp + 0x458], rdi
mov ebx, 0x80
mov qword [rsp + 0x450], r13
lea edi, [rbx - 0x3c]
lea r13, str.HEAD_BEGIN
nop
nop
nop
mov rdx, qword [r13 + rbx - 0x80]
xor r8d, r8d
mov rcx, rsi
call fcn.1400c92b0
test rax, rax
je 0x1400c8f08
mov rcx, rax
call fcn.14016dcc0
mov rcx, qword [0x14020e170]
mov qword [rbx + rcx], rax
add rbx, 8
sub rdi, 1
jne 0x1400c8ee0
mov rcx, rsi
call fcn.1400c9200
mov r13, qword [rsp + 0x450]
mov rdi, qword [rsp + 0x458]
mov rcx, rbp
call fcn.1400cf780
mov rbx, qword [0x14020e170]
mov rsi, qword [rsp + 0x488]
jmp 0x1400c8f4a
mov rbx, qword [0x14020e170]
mov rbp, qword [rsp + 0x480]
mov eax, dword [0x1401fcd84]
mov dword [rbx + 0x28], eax
mov rcx, qword [0x14020dfa0]
call fcn.14016dcc0
mov rcx, qword [0x14020e170]
mov qword [rcx + 0x30], rax
call fcn.1400f3d30
lea r8, [0x1400c8960]
xor r9d, r9d
xor edx, edx
mov rcx, rax
call fcn.140017040
mov rcx, qword [0x14020e170]
xor ebx, ebx
mov qword [rcx + 0x38], rax
lea r8, [0x1400c8be0]
lea rdx, str.EVERYTHING_HTTP_SERVER
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.1400d5f10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], rbx
lea r8, str.EVERYTHING_HTTP_SERVER
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea rdx, str.EVERYTHING_HTTP_SERVER
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call fcn.1400d6070
mov rcx, qword [0x14020e170]
mov qword [rcx + 0x10], rax
movzx eax, word [rsp + 0x2a0]
cmp al, 1
je 0x1400c9043
shr ax, 8
cmp al, 1
je 0x1400c9043
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x140200708]
lea rcx, [rsp + 0x60]
mov rdx, qword [rdx + 0x22d8]
mov r8d, eax
call fcn.1401788c0
jmp 0x1400c90ce
mov rax, qword [0x14020dfa0]
cmp byte [rax], bl
je 0x1400c90c2
lea rcx, [rsp + 0x180]
call fcn.14017d460
mov rdx, qword [0x14020dfa0]
lea rcx, [rsp + 0x180]
call fcn.14017a080
test rax, rax
mov rbx, rax
je 0x1400c90b3
nop
nop
nop
mov rdx, qword [rsp + 0x188]
cmp byte [rdx], 0
je 0x1400c909b
lea rcx, [rsp + 0x60]
call fcn.1400c2460
test eax, eax
je 0x1400c90b3
lea rcx, [rsp + 0x180]
mov rdx, rbx
call fcn.14017a080
test rax, rax
mov rbx, rax
jne 0x1400c9080
lea rcx, [rsp + 0x180]
call fcn.1400012c0
jmp 0x1400c90ce
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.1400c2460
mov rax, qword [0x14020e170]
mov rbx, qword [rsp + 0x478]
cmp qword [rax + 0x18], 0
je 0x1400c90f4
lea rdx, str.HTTP_server_online._r_n
xor ecx, ecx
call fcn.1400c1de0
jmp 0x1400c9149
call fcn.1400c8830
jmp 0x1400c911c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x140200708]
lea rcx, [rsp + 0x60]
mov rdx, qword [rdx + 0x2300]
mov r8d, eax
call fcn.1401788c0
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x1400c9149
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov rcx, r12
mov r9, qword [r8 + 0x2268]
mov r8, qword [r8]
mov qword [rsp + 0x20], rax
call fcn.1400d5b50
lea rcx, [rsp + 0x60]
call fcn.1400012c0
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x460
pop r12
ret