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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1108
call fcn.1401e9500
sub rsp, rax
mov qword [rsp + 0x10e0], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x10f8], rax
cmp dword [rsp + 0x1130], 0x204
jg 0x1401ce0e8
cmp dword [rsp + 0x1130], 2
jg 0x1401ce100
lea rdx, [0x140230670]
mov ecx, 1
call fcn.1400de020
xor eax, eax
jmp 0x1401ce507
mov eax, 1
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x1128]
movsx eax, byte [rax + 1]
cmp eax, 1
jne 0x1401ce1ea
lea rdi, [rsp + 0x10b0]
mov rsi, qword [rsp + 0x1138]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x1140]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x10b0]
mov r8d, dword [rsp + 0x1130]
mov rdx, qword [rsp + 0x1128]
mov rcx, qword [rsp + 0x1120]
call fcn.1401cd8a0
mov dword [rsp + 0x10e8], eax
mov eax, dword [rsp + 0x10e8]
mov dword [rsp + 0x1070], eax
cmp dword [rsp + 0x1070], 0
jne 0x1401ce1d1
lea rax, [0x140230698]
mov qword [rsp + 0x1078], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword [rsp + 0x1138]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetLBound
mov rdx, qword [rsp + 0x1078]
mov rcx, qword [rsp + 0x1140]
call qword [sym.imp.WS2_32.dll_sendto]
xor eax, eax
jmp 0x1401ce507
cmp dword [rsp + 0x1070], 2
jne 0x1401ce1e5
mov eax, 1
jmp 0x1401ce507
jmp 0x1401ce37a
mov rax, qword [rsp + 0x1128]
movsx eax, byte [rax + 1]
cmp eax, 4
jne 0x1401ce330
cmp dword [rsp + 0x1130], 3
jge 0x1401ce221
lea rdx, [0x1402306b0]
mov ecx, 1
call fcn.1400de020
xor eax, eax
jmp 0x1401ce507
mov rax, qword [rsp + 0x1128]
movzx eax, byte [rax + 2]
mov word [rsp + 0x60], ax
movzx eax, word [rsp + 0x60]
shl eax, 8
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x1128]
movzx ecx, byte [rax + 3]
movzx eax, word [rsp + 0x60]
add eax, ecx
mov word [rsp + 0x60], ax
movzx eax, word [rsp + 0x60]
add ax, 1
mov word [rsp + 0x60], ax
movzx eax, word [rsp + 0x60]
test eax, eax
jne 0x1401ce32e
mov rcx, qword [rsp + 0x1120]
add rcx, 0x2a0
call fcn.14000f140
mov rcx, qword [rsp + 0x1120]
add rcx, 0x2d8
lea r8, [rsp + 0x1080]
mov rax, qword [rsp + 0x1138]
mov edx, dword [rax + 4]
call fcn.140025e20
mov dword [rsp + 0x10ec], eax
cmp dword [rsp + 0x10ec], 0
je 0x1401ce30d
mov eax, dword [rsp + 0x1090]
add eax, 1
mov dword [rsp + 0x1090], eax
lea rdi, [rsp + 0x10c0]
lea rsi, [rsp + 0x1080]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x1120]
add rcx, 0x2d8
lea r8, [rsp + 0x10c0]
mov rax, qword [rsp + 0x1138]
mov edx, dword [rax + 4]
call fcn.140025ea0
mov rcx, qword [rsp + 0x1120]
add rcx, 0x2a0
mov rax, qword [rsp + 0x1120]
mov rax, qword [rax + 0x2a0]
call qword [rax + 0x28]
jmp 0x1401ce37a
lea rax, [0x1402306e8]
mov qword [rsp + 0x1098], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword [rsp + 0x1138]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1b
mov rdx, qword [rsp + 0x1098]
mov rcx, qword [rsp + 0x1140]
call qword [sym.imp.WS2_32.dll_sendto]
xor eax, eax
jmp 0x1401ce507
mov rcx, qword [rsp + 0x1120]
add rcx, 0x2a0
call fcn.14000f140
mov rcx, qword [rsp + 0x1120]
add rcx, 0x2d8
lea r8, [rsp + 0x40]
mov rax, qword [rsp + 0x1138]
mov edx, dword [rax + 4]
call fcn.140025e20
mov dword [rsp + 0x10f0], eax
mov eax, dword [rsp + 0x10f0]
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x1120]
add rcx, 0x2a0
mov rax, qword [rsp + 0x1120]
mov rax, qword [rax + 0x2a0]
call qword [rax + 0x28]
cmp dword [rsp + 0x58], 0
jne 0x1401ce436
lea rax, [0x140230708]
mov qword [rsp + 0x10a0], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword [rsp + 0x1138]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1b
mov rdx, qword [rsp + 0x10a0]
mov rcx, qword [rsp + 0x1140]
call qword [sym.imp.WS2_32.dll_sendto]
xor eax, eax
jmp 0x1401ce507
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0xfa0
jbe 0x1401ce44f
xor eax, eax
jmp 0x1401ce507
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 3
movzx eax, word [rsp + 0x60]
sar eax, 8
mov byte [rsp + 0x72], al
movzx eax, word [rsp + 0x60]
and eax, 0xff
mov byte [rsp + 0x73], al
lea r9, [rsp + 0x74]
movzx ecx, word [rsp + 0x60]
mov eax, dword [rsp + 0x50]
imul eax, eax, 0x10
imul eax, eax, 0x10
imul eax, eax, 0x10
imul eax, eax, 0x10
lea r8d, [rax + rcx - 1]
imul r8d, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x1138]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x1120]
call fcn.1401cc540
mov dword [rsp + 0x10f4], eax
mov eax, dword [rsp + 0x10f4]
mov dword [rsp + 0x38], eax
mov r8d, dword [rsp + 0x38]
add r8d, 4
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword [rsp + 0x1138]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x1140]
call qword [sym.imp.WS2_32.dll_sendto]
mov eax, 1
jmp 0x1401ce507
mov rcx, qword [rsp + 0x10f8]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x1108
pop rdi
pop rsi
ret