Function at 0x1400c8c30
Capabilities:
Initialize winsock library

Disassembly:
push r12
sub rsp, 0x460
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x440], rax
cmp byte [reloc.WS2_32.dll_accept], 0
mov r12, rcx
je 0x1400c8fe3
lea rcx, [rsp + 0x60]
call fcn.1400012c0
lea rcx, [rsp + 0x60]
call fcn.1401784f0
cmp qword [0x14020e138], 0
jne 0x1400c8fac
lea rdx, [rsp + 0x2a0]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400c8f8b
mov ecx, 0x2a0
mov qword [rsp + 0x478], rbx
call fcn.1400cf3f0
xor edx, edx
mov r8d, 0x2a0
mov rcx, rax
mov rbx, rax
mov qword [0x14020e138], rax
call fcn.1401a9350
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 0x1400c8ce0
mov rcx, qword [0x14020df60]
cmp byte [rcx], r8b
je 0x1400c8de2
mov qword [rsp + 0x480], rbp
call fcn.1401760d0
test rax, rax
mov rbp, rax
je 0x1400c8dd3
lea rdx, str.HTTP_SERVER_STRINGS
mov rcx, rax
mov qword [rsp + 0x488], rsi
call fcn.1400c91d0
test rax, rax
mov rsi, rax
je 0x1400c8dba
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.1400c9140
test rax, rax
je 0x1400c8d98
mov rcx, rax
call fcn.14016e020
mov rcx, qword [0x14020e138]
mov qword [rbx + rcx], rax
add rbx, 8
sub rdi, 1
jne 0x1400c8d70
mov rcx, rsi
call fcn.1400c9090
mov r13, qword [rsp + 0x450]
mov rdi, qword [rsp + 0x458]
mov rcx, rbp
call fcn.1400cf470
mov rbx, qword [0x14020e138]
mov rsi, qword [rsp + 0x488]
jmp 0x1400c8dda
mov rbx, qword [0x14020e138]
mov rbp, qword [rsp + 0x480]
mov eax, dword [0x1401fcd64]
mov dword [rbx + 0x28], eax
mov rcx, qword [0x14020df58]
call fcn.14016e020
mov rcx, qword [0x14020e138]
mov qword [rcx + 0x30], rax
call fcn.1400f40a0
lea r8, [0x1400c87f0]
xor r9d, r9d
xor edx, edx
mov rcx, rax
call fcn.140016f50
mov rcx, qword [0x14020e138]
xor ebx, ebx
mov qword [rcx + 0x38], rax
lea r8, [0x1400c8a70]
lea rdx, str.EVERYTHING_HTTP_SERVER
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.1400d60a0
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.1400d6200
mov rcx, qword [0x14020e138]
mov qword [rcx + 0x10], rax
movzx eax, word [rsp + 0x2a0]
cmp al, 1
je 0x1400c8ed3
shr ax, 8
cmp al, 1
je 0x1400c8ed3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x1402006b8]
lea rcx, [rsp + 0x60]
mov rdx, qword [rdx + 0x22d8]
mov r8d, eax
call fcn.140178c40
jmp 0x1400c8f5e
mov rax, qword [0x14020df58]
cmp byte [rax], bl
je 0x1400c8f52
lea rcx, [rsp + 0x180]
call fcn.1400012c0
mov rdx, qword [0x14020df58]
lea rcx, [rsp + 0x180]
call fcn.14017a400
test rax, rax
mov rbx, rax
je 0x1400c8f43
nop
nop
nop
mov rdx, qword [rsp + 0x188]
cmp byte [rdx], 0
je 0x1400c8f2b
lea rcx, [rsp + 0x60]
call fcn.1400c22f0
test eax, eax
je 0x1400c8f43
lea rcx, [rsp + 0x180]
mov rdx, rbx
call fcn.14017a400
test rax, rax
mov rbx, rax
jne 0x1400c8f10
lea rcx, [rsp + 0x180]
call fcn.140177510
jmp 0x1400c8f5e
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.1400c22f0
mov rax, qword [0x14020e138]
mov rbx, qword [rsp + 0x478]
cmp qword [rax + 0x18], 0
je 0x1400c8f84
lea rdx, str.HTTP_server_online._r_n
xor ecx, ecx
call fcn.1400c1c70
jmp 0x1400c8fd9
call fcn.1400c86c0
jmp 0x1400c8fac
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x1402006b8]
lea rcx, [rsp + 0x60]
mov rdx, qword [rdx + 0x2300]
mov r8d, eax
call fcn.140178c40
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x1400c8fd9
mov r8, qword [0x1402006b8]
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.1400d5ce0
lea rcx, [rsp + 0x60]
call fcn.140177510
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x460
pop r12
ret