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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x970
mov rax, qword [0x18049d0e0]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x80
call fcn.18020d280
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x80
call fcn.18020d280
mov rbx, qword [r14 + 0x1b0]
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov r15, qword [r14 + 0x18]
mov rcx, r14
mov r9, qword [rbx + 0x1ec0]
lea r8, [rbx + 0x1cb8]
sub r9, qword [rbx + 0x1eb8]
add r9, 2
call fcn.1801e8790
mov rax, qword [rbx + 0x1eb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0x1eb8], rax
cmp ecx, 0x18
je 0x1801e94a3
cmp ecx, 0x23
je 0x1801e945e
cmp ecx, 0x27
jne 0x1801e9559
mov qword [rsp + 0x30], 0
lea r8, str._c_c_c_c
mov dword [rsp + 0x28], ecx
mov ebp, 0x800
mov edx, ebp
mov qword [rsp + 0x998], rsi
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x9a0], rdi
mov r9d, 0xff
mov dword [rsp + 0x20], 0xfa
call sym.gcm64.dll_curl_msnprintf
mov rsi, qword [rbx + 0x1cb0]
mov edi, 4
test rsi, rsi
je 0x1801e93ce
or rbx, 0xffffffffffffffff
nop dword [rax]
mov rcx, qword [rsi]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1801e92f6
inc rax
add rax, rdi
cmp rax, 0x7fa
jae 0x1801e93c1
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea rdx, str._127____1____127s
mov word [rsp + 0x50], 0
call fcn.1801c1890
cmp eax, 1
jne 0x1801e9377
lea rax, [rsp + 0xe0]
mov rdx, rbp
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x20], rax
sub rdx, rdi
lea r8, str._c_s
add rcx, rdi
xor r9d, r9d
call sym.gcm64.dll_curl_msnprintf
jmp 0x1801e93bb
cmp eax, 2
jl 0x1801e93c1
lea rax, [rsp + 0x60]
mov rdx, rbp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x160]
lea rax, [rsp + 0xe0]
mov dword [rsp + 0x28], 1
sub rdx, rdi
mov qword [rsp + 0x20], rax
add rcx, rdi
lea r8, str._c_s_c_s
xor r9d, r9d
call sym.gcm64.dll_curl_msnprintf
movsxd rcx, eax
add rdi, rcx
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x1801e92f0
sub rbp, rdi
mov dword [rsp + 0x20], 0xf0
lea rcx, [rsp + 0x160]
mov rdx, rbp
add rcx, rdi
lea r8, str._c_c
mov r9d, 0xff
call sym.gcm64.dll_curl_msnprintf
mov rcx, qword [r15 + 0x1b8]
lea r8d, [rdi + 2]
xor r9d, r9d
lea rdx, [rsp + 0x160]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x998]
test eax, eax
jns 0x1801e9439
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.1801cd9c0
mov r9, rdi
lea r8, [rsp + 0x162]
mov edx, 0x3e
mov rcx, r14
call fcn.1801e8790
mov rdi, qword [rsp + 0x9a0]
jmp 0x1801e9559
lea rax, [rbx + 0x1c28]
or rbx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1801e9470
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 0x1801e94e1
lea rax, [rbx + 0x1c08]
or rbx, 0xffffffffffffffff
nop
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1801e94b0
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_27
mov r9d, 0xff
mov dword [rsp + 0x20], 0xfa
lea r8, str._c_c_c_c_s_c_c
mov edx, 0x800
lea rcx, [rsp + 0x160]
call sym.gcm64.dll_curl_msnprintf
mov rcx, qword [r15 + 0x1b8]
lea r8d, [rbx + 6]
xor r9d, r9d
lea rdx, [rsp + 0x160]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1801e9540
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.1801cd9c0
lea r9, [rbx + 4]
mov edx, 0x3e
lea r8, [rsp + 0x162]
mov rcx, r14
call fcn.1801e8790
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.1800b7d20
mov rbx, qword [rsp + 0x9a8]
add rsp, 0x970
pop r15
pop r14
pop rbp
ret