Function at 0x140014450
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
xor r12d, r12d
movsxd r14, r9d
mov r15, r8
mov rsi, rdx
mov rbx, rcx
cmp qword [rcx + 0xc8], r12
je 0x1400144cc
mov r11d, dword [rbx + 0xf0]
lea rdi, [rbx + 0xc8]
mov r10d, r12d
cmp r10d, r11d
jae 0x140014544
xor edx, edx
mov eax, r10d
add rax, rsi
div r11
imul rbx, rdx, 0x1e0
add rbx, qword [rdi]
mov eax, dword [rbx + 0x17c]
cmp dword [rbx + 0x178], eax
jb 0x1400144c3
inc r10d
jmp 0x140014492
cmp qword [rbx + 0xc8], r12
jne 0x140014481
mov eax, dword [rbx + 0x17c]
cmp dword [rbx + 0x178], eax
je 0x140014a5d
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.140013680
test eax, eax
je 0x140014a5d
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x14001459a
mov rcx, qword [rbx + 0x68]
mov r8d, r14d
mov rdx, r15
call rax
test eax, eax
jne 0x14001459a
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140014585
mov rcx, qword [0x1400b93f8]
lea r9, [0x1400b02c8]
mov r8d, 0x99a
lea rdx, [0x1400b0400]
call qword [0x1400b9400]
int3
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140014573
mov rcx, qword [0x1400b93f8]
lea r9, [0x1400b0028]
mov r8d, 0x94b
lea rdx, [0x1400b0270]
call qword [0x1400b9400]
int3
call fcn.14005c18c
mov dword [rax], reloc.WS2_32.dll_socket
xor eax, eax
jmp 0x140014925
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.1400137d0
xor eax, eax
jmp 0x140014925
mov edx, 0x180
mov ecx, 1
call fcn.14005a638
mov rdi, rax
test rax, rax
jne 0x140014621
call fcn.14005c18c
mov edi, dword [rax]
call fcn.14005c18c
mov ecx, dword [rax]
call fcn.14005eb2c
mov r8, rax
lea rdx, [0x1400b0338]
mov rcx, rbx
call fcn.14001d140
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140014605
mov rcx, qword [0x1400b93f8]
lea r9, [0x1400b0358]
mov r8d, 0x9ac
lea rdx, [0x1400b0490]
call qword [0x1400b9400]
int3
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.1400137d0
call fcn.14005c18c
mov dword [rax], edi
xor eax, eax
jmp 0x140014925
mov rcx, qword [rbx + 0xd8]
call fcn.14001cf50
mov qword [rdi + 0x40], rax
test rax, rax
jne 0x1400146ab
call fcn.14005c18c
mov ecx, dword [rax]
call fcn.14005eb2c
mov r8, rax
lea rdx, [0x1400b03c8]
mov rcx, rbx
call fcn.14001d140
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140014683
mov rcx, qword [0x1400b93f8]
lea r9, [0x1400b03e8]
mov r8d, 0x9bb
lea rdx, [0x1400b0500]
call qword [0x1400b9400]
int3
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.1400137d0
mov rcx, rdi
call fcn.140056c3c
call fcn.14005c18c
mov dword [rax], recv
xor eax, eax
jmp 0x140014925
mov rax, qword [rbx + 0x180]
mov rcx, r14
mov qword [rdi + 0x100], rax
mov qword [rsp + 0x50], rbp
call fcn.140056c44
mov qword [rdi + 0x98], rax
test rax, rax
jne 0x140014742
call fcn.14005c18c
mov ebp, dword [rax]
call fcn.14005c18c
mov ecx, dword [rax]
call fcn.14005eb2c
mov r8, rax
lea rdx, [0x1400b0458]
mov rcx, rbx
call fcn.14001d140
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140014726
mov rcx, qword [0x1400b93f8]
lea r9, [0x1400b0478]
mov r8d, 0x9cf
lea rdx, [0x1400b0580]
call qword [0x1400b9400]
int3
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.1400137d0
mov rcx, qword [rdi + 0x40]
call fcn.14001d000
jmp 0x140014a47
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.140053cd0
movzx eax, byte [rsp + 0x78]
mov byte [rdi + 0x118], al
mov dword [rdi + 0xf0], r14d
mov qword [rdi + 0x110], rsi
mov qword [rdi + 0x20], rbx
call fcn.14001cf10
mov qword [rdi + 0xf8], rax
mov eax, dword [rbx + 0x18c]
and eax, 2
test al, al
jne 0x14001493f
lea rax, [0x14001abd0]
mov qword [rdi + 0x140], rax
lea rcx, [rbx + 0x128]
lea rax, [0x14001ac90]
mov qword [rdi + 0x148], rax
lea rax, [fcn.14001b180]
mov qword [rdi + 0x150], rax
lea rax, [0x140014360]
mov qword [rdi + 0x158], rax
lea rax, [0x1400143b0]
mov qword [rdi + 0x160], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rbx + 0x18c]
and eax, 4
test al, al
jne 0x14001480e
mov rax, qword [rbx + 0x40]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r12
cmp qword [rbx + 0x48], r12
jne 0x140014802
mov qword [rbx + 0x48], rdi
jmp 0x14001480a
mov rax, qword [rbx + 0x40]
mov qword [rax + 0x18], rdi
mov qword [rbx + 0x40], rdi
mov rax, qword [rbx + 0x10]
mov qword [rdi], rax
mov qword [rdi + 8], r12
cmp qword [rbx + 0x18], r12
jne 0x140014825
mov qword [rbx + 0x18], rdi
jmp 0x14001482d
mov rax, qword [rbx + 0x10]
mov qword [rax + 8], rdi
lea rcx, [rbx + 0x128]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x14001485d
mov rcx, qword [rbx + 0x88]
lea r8, [rdi + 0x50]
xor r9d, r9d
mov rdx, rdi
call rax
mov eax, dword [rbx + 0x18c]
and eax, 4
test al, al
je 0x1400148c9
lea rdx, str.MHD_connection
test rdx, rdx
jne 0x140014884
call fcn.14005c18c
mov ebp, reloc.WS2_32.dll_shutdown
mov dword [rax], ebp
jmp 0x1400148a7
mov r8, qword [rbx + 0xe8]
lea rcx, [rdi + 0xa0]
lea r9, [0x140013c20]
mov qword [rsp + 0x20], rdi
call fcn.14001d590
test eax, eax
jne 0x140014915
call fcn.14005c18c
mov ebp, dword [rax]
mov ecx, ebp
call fcn.14005eb2c
mov r8, rax
lea rdx, str.Failed_to_create_a_thread:__s_n
mov rcx, rbx
call fcn.14001d140
jmp 0x140014944
cmp dword [rsp + 0x70], 1
jne 0x140014915
cmp qword [rbx + 0x160], 0xffffffffffffffff
je 0x140014915
mov rcx, qword [rbx + 0x168]
lea rdx, [0x1400afe3c]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x140014915
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140014915
lea rdx, str.Failed_to_signal_new_connection_via_inter_thread_communication_channel.
mov rcx, rbx
call fcn.14001d140
inc dword [rbx + 0x178]
mov eax, 1
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov ebp, reloc.WS2_32.dll_shutdown
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x140014966
mov rcx, qword [rbx + 0x88]
lea r8, [rdi + 0x50]
mov r9d, 1
mov rdx, rdi
call rax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140014995
mov rcx, qword [0x1400b93f8]
lea r9, [0x1400b0568]
mov r8d, 0xa76
lea rdx, [0x1400b07b0]
call qword [0x1400b9400]
int3
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.1400137d0
lea rcx, [rbx + 0x128]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rbx + 0x18c]
and eax, 4
test al, al
jne 0x1400149f3
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x10]
test rcx, rcx
jne 0x1400149d0
mov qword [rbx + 0x40], rax
jmp 0x1400149d4
mov qword [rcx + 0x10], rax
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
test rcx, rcx
jne 0x1400149e7
mov qword [rbx + 0x48], rax
jmp 0x1400149eb
mov qword [rcx + 0x18], rax
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
test rcx, rcx
jne 0x140014a05
mov qword [rbx + 0x10], rax
jmp 0x140014a08
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
test rcx, rcx
jne 0x140014a1a
mov qword [rbx + 0x18], rax
jmp 0x140014a1e
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x128]
mov qword [rdi], r12
mov qword [rdi + 8], r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x40]
call fcn.14001d000
mov rcx, qword [rdi + 0x98]
call fcn.140056c3c
mov rcx, rdi
call fcn.140056c3c
call fcn.14005c18c
mov dword [rax], ebp
xor eax, eax
jmp 0x140014920
lea rdx, str.Server_reached_connection_limit._Closing_inbound_connection._n
mov rcx, rbx
call fcn.14001d140
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140014573
mov rcx, qword [0x1400b93f8]
lea r9, [0x1400b0258]
mov r8d, 0x987
lea rdx, [0x1400b0370]
call qword [0x1400b9400]
int3