Function at 0x180133260
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push r12
push r14
push r15
sub rsp, 0x968
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x950], rax
mov r14, qword [rcx]
mov r12, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov rcx, r14
mov rbx, qword [r14 + 0x8930]
mov r9, qword [rbx + 0x1ec0]
lea r8, [rbx + 0x1cb8]
sub r9, qword [rbx + 0x1eb8]
add r9, 2
call fcn.1801326e0
mov rax, qword [rbx + 0x1eb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0x1eb8], rax
cmp cl, 0x18
je 0x1801334c3
cmp cl, 0x23
je 0x180133480
cmp cl, 0x27
jne 0x18013357b
mov qword [rsp + 0x30], 0
lea r8, str._c_c_c_c
mov r15d, 0x800
mov qword [rsp + 0x9a0], rsi
mov edx, r15d
mov dword [rsp + 0x28], Ordinal_41
mov r9d, 0xff
mov qword [rsp + 0x960], rdi
lea rcx, [rsp + 0x150]
mov dword [rsp + 0x20], 0xfa
call sym.WebKeyAPICPPDLLx64.dll_curl_msnprintf
mov rdi, qword [rbx + 0x1cb0]
mov esi, 4
test rdi, rdi
je 0x1801333ef
mov qword [rsp + 0x998], rbp
mov rbx, 0xffffffffffffffff
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdi]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x180133366
lea rbp, [rsi + 1]
add rbp, rax
cmp rbp, 0x7fa
jae 0x1801333da
lea r9, [rsp + 0x50]
lea r8, [rsp + 0xd0]
lea rdx, str._127_____127s
call fcn.18000eef0
lea rax, [rsp + 0x50]
mov rdx, r15
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x150]
lea rax, [rsp + 0xd0]
mov dword [rsp + 0x28], 1
sub rdx, rsi
mov qword [rsp + 0x20], rax
add rcx, rsi
lea r8, str._c_s_c_s
xor r9d, r9d
call sym.WebKeyAPICPPDLLx64.dll_curl_msnprintf
mov rsi, rbp
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x180133360
mov rbp, qword [rsp + 0x998]
sub r15, rsi
mov dword [rsp + 0x20], 0xf0
lea rcx, [rsp + 0x150]
mov rdx, r15
add rcx, rsi
lea r8, [0x1801b5a64]
mov r9d, 0xff
call sym.WebKeyAPICPPDLLx64.dll_curl_msnprintf
mov rcx, qword [r12 + 0x190]
lea r8d, [rsi + 2]
xor r9d, r9d
lea rdx, [rsp + 0x150]
call qword [sym.imp.WS2_32.dll_send]
mov rdi, qword [rsp + 0x960]
test eax, eax
jns 0x18013345b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.180118930
mov r9, rsi
lea r8, [rsp + 0x152]
mov edx, 0x3e
mov rcx, r14
call fcn.1801326e0
mov rsi, qword [rsp + 0x9a0]
jmp 0x18013357b
lea rax, [rbx + 0x1c28]
mov rbx, 0xffffffffffffffff
nop
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x180133490
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_35
jmp 0x180133502
lea rax, [rbx + 0x1c08]
mov rbx, 0xffffffffffffffff
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1801334d1
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_30
mov r9d, 0xff
mov dword [rsp + 0x20], 0xfa
lea r8, str._c_c_c_c_s_c_c
mov edx, 0x800
lea rcx, [rsp + 0x150]
call sym.WebKeyAPICPPDLLx64.dll_curl_msnprintf
mov rcx, qword [r12 + 0x190]
lea r8d, [rbx + 6]
xor r9d, r9d
lea rdx, [rsp + 0x150]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x180133562
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.180118930
lea r9, [rbx + 4]
mov edx, 0x3e
lea r8, [rsp + 0x152]
mov rcx, r14
call fcn.1801326e0
mov rcx, qword [rsp + 0x950]
xor rcx, rsp
call fcn.1801525d0
add rsp, 0x968
pop r15
pop r14
pop r12
pop rbx
ret