Function at 0x1801e93c0
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.18020d410
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x80
call fcn.18020d410
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.1801e8970
mov rax, qword [rbx + 0x1eb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0x1eb8], rax
cmp ecx, 0x18
je 0x1801e9683
cmp ecx, 0x23
je 0x1801e963e
cmp ecx, 0x27
jne 0x1801e9739
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 0x1801e95ae
or rbx, 0xffffffffffffffff
nop dword [rax]
mov rcx, qword [rsi]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1801e94d6
inc rax
add rax, rdi
cmp rax, 0x7fa
jae 0x1801e95a1
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.1801c1a20
cmp eax, 1
jne 0x1801e9557
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 0x1801e959b
cmp eax, 2
jl 0x1801e95a1
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 0x1801e94d0
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 0x1801e9619
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.1801cdb70
mov r9, rdi
lea r8, [rsp + 0x162]
mov edx, 0x3e
mov rcx, r14
call fcn.1801e8970
mov rdi, qword [rsp + 0x9a0]
jmp 0x1801e9739
lea rax, [rbx + 0x1c28]
or rbx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1801e9650
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 0x1801e96c1
lea rax, [rbx + 0x1c08]
or rbx, 0xffffffffffffffff
nop
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1801e9690
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_26
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 0x1801e9720
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.1801cdb70
lea r9, [rbx + 4]
mov edx, 0x3e
lea r8, [rsp + 0x162]
mov rcx, r14
call fcn.1801e8970
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.1800b80c0
mov rbx, qword [rsp + 0x9a8]
add rsp, 0x970
pop r15
pop r14
pop rbp
ret