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

Disassembly:
test rcx, rcx
je 0x14000683d
push rbx
sub rsp, 0x30
test dword [rcx + 0x18c], 0x2000
mov rbx, rcx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
je 0x1400064dc
call fcn.140003790
mov eax, dword [rbx + 0x18c]
xor r14d, r14d
mov r15, qword [rbx + 0x150]
and eax, 8
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov byte [rbx + 0x170], 1
test al, al
je 0x14000676b
cmp qword [rbx + 0xc8], r14
je 0x1400066cc
mov eax, dword [rbx + 0xf0]
mov edi, r14d
test eax, eax
je 0x140006597
nop word [rax + rax]
mov eax, edi
imul rcx, rax, 0x1e8
mov rax, qword [rbx + 0xc8]
mov byte [rcx + rax + 0x170], 1
mov rax, qword [rbx + 0xc8]
cmp qword [rcx + rax + 0x160], 0xffffffffffffffff
je 0x14000658b
mov rcx, qword [rcx + rax + 0x168]
lea rdx, [0x1400b93f4]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x14000658b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140006651
mov eax, dword [rbx + 0xf0]
inc edi
cmp edi, eax
jb 0x140006530
mov esi, r14d
test eax, eax
je 0x14000663f
mov rcx, qword [rbx + 0xc8]
mov edx, 0xffffffff
mov ebp, esi
imul rdi, rbp, 0x1e8
mov rcx, qword [rdi + rcx + 0xf8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400066aa
mov rcx, qword [rbx + 0xc8]
mov rcx, qword [rdi + rcx + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 0xc8]
mov rcx, qword [rdi + rax + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x14000661a
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdx, qword [rbx + 0xc8]
test eax, eax
jne 0x140006673
mov rcx, qword [rdi + rdx + 0x168]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jne 0x140006688
mov rcx, qword [rbx + 0xc8]
add rcx, 0x128
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
inc esi
cmp esi, dword [rbx + 0xf0]
jb 0x1400065a2
mov rcx, qword [rbx + 0xc8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140006773
mov rcx, qword [0x1400c2520]
lea r9, str.Failed_to_signal_shutdown_via_inter_thread_communication_channel.
mov r8d, 0x18c6
lea rdx, [0x1400b9740]
call qword [0x1400c2538]
int3
imul rcx, rbp, 0x1e8
mov rcx, qword [rcx + rdx + 0x168]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x1400c2520]
lea r9, [0x1400b9388]
mov r8d, 0x18e0
lea rdx, [0x1400b9630]
call qword [0x1400c2538]
int3
mov rcx, qword [0x1400c2520]
lea r9, [0x1400b96f8]
mov r8d, 0x18d6
lea rdx, [0x1400b96a0]
call qword [0x1400c2538]
int3
cmp qword [rbx + 0x160], 0xffffffffffffffff
je 0x140006724
mov rcx, qword [rbx + 0x168]
lea rdx, [0x1400b9384]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x140006724
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140006724
mov rcx, qword [0x1400c2520]
lea r9, [0x1400b95a0]
mov r8d, 0x18eb
lea rdx, [0x1400b9520]
call qword [0x1400c2538]
int3
mov rcx, qword [rbx + 0xf8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140006749
mov rcx, qword [rbx + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140006773
mov rcx, qword [0x1400c2520]
lea r9, [0x1400b94a8]
mov r8d, 0x18f9
lea rdx, [0x1400b9450]
call qword [0x1400c2538]
int3
mov rcx, rbx
call fcn.1400060a0
cmp r15, 0xffffffffffffffff
je 0x1400067b3
movzx eax, byte [rbx + 0x171]
test al, al
jne 0x1400067b3
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1400067b3
mov rcx, qword [0x1400c2520]
lea r9, [0x1400b9318]
mov r8d, 0x1905
lea rdx, [0x1400b93a0]
call qword [0x1400c2538]
int3
mov rcx, qword [rbx + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x1400067e2
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbx + 0x168]
test eax, eax
jne 0x14000683e
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
sete r14b
test r14d, r14d
je 0x140006844
mov rcx, qword [rbx + 0x1a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbx + 0x100]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbx + 0x128]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x1400c2520]
lea r9, [0x1400b92a8]
mov r8d, 0x1908
lea rdx, [0x1400b9330]
call qword [0x1400c2538]
int3