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

Disassembly:
test rcx, rcx
je 0x14005bc55
push rbx
sub rsp, 0x30
mov byte [rcx + 0x178], 1
mov rbx, rcx
movzx eax, byte [rcx + 0x179]
mov qword [rsp + 0x40], rbp
mov rbp, 0xffffffffffffffff
test al, al
jne 0x14005b956
mov rbp, qword [rcx + 0x158]
mov rdx, qword [rcx + 0xc8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
test rdx, rdx
je 0x14005ba81
mov ecx, dword [rcx + 0xf0]
cmp ecx, 1
jbe 0x14005bc56
mov eax, dword [rbx + 0x194]
and eax, 8
test al, al
je 0x14005bca0
xor edi, edi
mov esi, edi
test ecx, ecx
je 0x14005ba66
nop dword [rax]
mov eax, esi
imul rcx, rax, 0x1e8
mov rax, qword [rbx + 0xc8]
mov byte [rcx + rax + 0x178], 1
mov rax, qword [rbx + 0xc8]
cmp qword [rcx + rax + 0x168], 0xffffffffffffffff
je 0x14005ba19
mov rcx, qword [rcx + rax + 0x170]
lea rdx, [0x14028b8bc]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x14005ba23
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14005ba23
mov rcx, qword [0x140296808]
lea r9, str.Failed_to_signal_shutdown_via_inter_thread_communication_channel.
mov r8d, 0x189a
lea rdx, [0x14028bc40]
call qword [0x140296800]
int3
cmp rbp, 0xffffffffffffffff
je 0x14005bd34
mov ecx, dword [rbx + 0xf0]
inc esi
cmp esi, ecx
jb 0x14005b9a0
mov rdx, qword [rbx + 0xc8]
test ecx, ecx
je 0x14005ba66
nop
mov eax, edi
imul rcx, rax, 0x1e8
add rcx, qword [rbx + 0xc8]
call fcn.14005b920
inc edi
cmp edi, dword [rbx + 0xf0]
jb 0x14005ba40
mov rdx, qword [rbx + 0xc8]
mov rcx, rdx
call fcn.140192488
cmp qword [rbx + 0x168], 0xffffffffffffffff
jne 0x14005bcea
jmp 0x14005bba8
mov ecx, dword [rcx + 0x194]
mov eax, ecx
and eax, 8
test al, al
je 0x14005bb63
cmp dword [rbx + 0xf0], 0
jne 0x14005bd7e
bt ecx, 0xd
jae 0x14005bab5
mov rcx, rbx
call fcn.140058480
mov ecx, dword [rbx + 0x194]
and ecx, 8
test cl, cl
je 0x14005bb6b
cmp qword [rbx + 0x168], 0xffffffffffffffff
je 0x14005bdc8
mov rcx, qword [rbx + 0x170]
lea rdx, [0x14028b7e4]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x14005bb1c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14005bb1c
mov rcx, qword [0x140296808]
lea r9, [0x14028ba90]
mov r8d, 0x18c1
lea rdx, [0x14028ba20]
call qword [0x140296800]
int3
mov rcx, qword [rbx + 0xf8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x14005bb41
mov rcx, qword [rbx + 0xf8]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14005bb6b
mov rcx, qword [0x140296808]
lea r9, [0x14028b998]
mov r8d, 0x18d3
lea rdx, [0x14028b960]
call qword [0x140296800]
int3
mov rcx, rbx
call fcn.14005b640
mov rcx, qword [rbx + 0x168]
cmp rcx, 0xffffffffffffffff
je 0x14005bb9b
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbx + 0x170]
test eax, eax
jne 0x14005bbeb
call qword [sym.imp.WS2_32.dll_closesocket]
xor edi, edi
test eax, eax
sete dil
test edi, edi
je 0x14005bbf1
lea rcx, [rbx + 0x130]
call qword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
cmp qword [rbx + 0xc0], 0
jne 0x14005bc41
cmp rbp, 0xffffffffffffffff
je 0x14005bc13
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14005bc13
mov rcx, qword [0x140296808]
lea r9, [0x14028b8f8]
mov r8d, 0x18f3
lea rdx, [0x14028b8c0]
call qword [0x140296800]
int3
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x140296808]
lea r9, [0x14028b948]
mov r8d, 0x18de
lea rdx, [0x14028b910]
call qword [0x140296800]
int3
mov rcx, qword [rbx + 0x1a8]
call fcn.140192488
lea rcx, [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
lea rcx, [rbx + 0x108]
call qword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
mov rcx, rbx
call fcn.140192488
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
lea r8, [0x14028bd98]
lea rax, str.1___daemon__worker_pool_size
mov r9d, 0x1890
lea rdx, [0x14028bd68]
mov qword [rsp + 0x20], rax
call fcn.140004fd0
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
call fcn.140191344
call fcn.14019c3b8
int3
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
lea r8, [0x14028bc78]
lea rax, str.0____daemon__options__MHD_USE_INTERNAL_POLLING_THREAD_
mov r9d, 0x1891
lea rdx, [0x14028bcf8]
mov qword [rsp + 0x20], rax
call fcn.140004fd0
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
call fcn.140191344
call fcn.14019c3b8
int3
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
lea r8, [0x14028bb58]
lea rax, str.MHD_ITC_IS_INVALID__daemon__itc_
mov r9d, 0x18ab
lea rdx, [0x14028bb28]
mov qword [rsp + 0x20], rax
call fcn.140004fd0
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
call fcn.140191344
call fcn.14019c3b8
int3
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
lea r8, [0x14028bbe8]
lea rax, str.MHD_INVALID_SOCKET___fd
mov r9d, 0x189d
lea rdx, [0x14028bbb8]
mov qword [rsp + 0x20], rax
call fcn.140004fd0
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
call fcn.140191344
call fcn.14019c3b8
int3
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
lea r8, [0x14028ba58]
lea rax, str.0__daemon__worker_pool_size
mov r9d, 0x18b7
lea rdx, [0x14028bad8]
mov qword [rsp + 0x20], rax
call fcn.140004fd0
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
call fcn.140191344
call fcn.14019c3b8
int3
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
lea r8, [0x14028b9e8]
lea rax, str.false
mov r9d, 0x18ce
lea rdx, [0x14028b9b8]
mov qword [rsp + 0x20], rax
call fcn.140004fd0
mov ecx, 2
call fcn.1401925bc
mov rcx, rax
call fcn.140191344
call fcn.14019c3b8
int3