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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
xor ebx, ebx
mov qword [rsp + 0x98], rcx
xor r15d, r15d
xor r12d, r12d
mov ebp, r8d
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140057969
lea rax, [rcx + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rax]
test rax, rax
je 0x140057431
mov r9d, r8d
mov dword [rsp + 0x28], 1
mov r8, rdx
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 3]
call rax
mov ebx, eax
test eax, eax
jle 0x14005796b
mov qword [rsp + 0x88], r13
lea r8, [0x140000000]
mov r13, qword [rsp + 0x80]
mov qword [rsp + 0x40], r14
mov r14d, 0xffffffff
test ebx, ebx
js 0x140057803
mov rax, qword [rdi + 8]
test rax, rax
je 0x140057481
mov r9, qword [rax + 0x108]
test r9, r9
je 0x140057481
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call r9
jmp 0x1400577ed
movzx edx, byte [rdi + 0x7c]
lea eax, [rdx - 2]
cmp eax, 6
ja case.default.0x14005749e
cdqe
mov ecx, dword [r8 + rax*4 + 0x57978]
add rcx, r8
jmp rcx
mov dword [rsp + 0x80], 0
test rsi, rsi
je 0x1400575e4
xor r8d, r8d
lea r9, [rsp + 0x80]
test byte [rdi + 0x78], 1
mov edx, ebp
mov rcx, rsi
je 0x1400574e9
mov dword [rsp + 0x20], 2
call fcn.14009ab80
cmp eax, 0xffffff36
je 0x1400574f3
mov r15d, r14d
mov ebx, r14d
jmp 0x1400577ef
mov dword [rsp + 0x20], 0
jmp 0x1400574d2
mov eax, dword [rsp + 0x80]
test eax, eax
jne 0x140057508
xor r15d, r15d
xor ebx, ebx
jmp 0x1400577ef
mov rcx, rax
mov rax, qword [0x1401bb498]
test rax, rax
je 0x14005751b
call rax
jmp 0x140057520
call fcn.1400d0660
mov rbx, rax
test rax, rax
je 0x1400574de
test byte [rdi + 0x78], 1
lea r9, [rsp + 0x80]
mov r8, rax
mov edx, ebp
mov rcx, rsi
je 0x14005757b
mov dword [rsp + 0x20], 2
call fcn.14009ab80
test eax, eax
jns 0x1400575a8
mov rax, qword [0x1401bb488]
mov rcx, rbx
test rax, rax
je 0x14005756b
call rax
mov r15d, r14d
mov ebx, r14d
jmp 0x1400577ef
call fcn.1400c734c
mov r15d, r14d
mov ebx, r14d
jmp 0x1400577ef
mov dword [rsp + 0x20], 0
call fcn.14009ab80
test eax, eax
jns 0x1400575a8
mov rax, qword [0x1401bb488]
mov rcx, rbx
test rax, rax
je 0x14005756b
call rax
mov r15d, r14d
mov ebx, r14d
jmp 0x1400577ef
test r12, r12
je 0x1400575c5
mov rax, qword [0x1401bb488]
mov rcx, r12
test rax, rax
je 0x1400575c0
call rax
jmp 0x1400575c5
call fcn.1400c734c
mov r12, rbx
mov ebx, ebp
mov r15d, ebp
test ebp, ebp
jle 0x1400577ef
mov ebp, dword [rsp + 0x80]
mov rsi, r12
jmp 0x1400577ef
mov ebx, 0xffffff53
mov r15d, ebx
jmp case.default.0x14005749e
test rsi, rsi
je 0x1400576a1
mov ebx, 0xfffffffe
cmp dl, 5
je 0x14005760b
xor ebx, ebx
jmp 0x1400577ef
cmp qword [rdi + 0x20], 0
je 0x140057686
movsxd rax, dword [rdi + 0x64]
test ebp, ebp
jne 0x140057628
mov r13, rax
add r13, qword [rdi + 0x30]
xor ebx, ebx
jmp 0x1400577ef
mov ecx, dword [rdi + 0x68]
cmp eax, ecx
jge 0x140057639
mov r8d, dword [rdi + 0x60]
mov edx, ecx
sub edx, eax
jmp 0x140057663
test ecx, ecx
jle 0x140057645
cmp eax, ecx
je 0x1400574e1
mov r8d, dword [rdi + 0x60]
mov edx, r8d
sub edx, eax
test edx, edx
jg 0x140057663
test ecx, ecx
je 0x1400574e1
mov edx, ecx
jg 0x140057661
mov edx, r8d
xor eax, eax
cmp ebp, edx
movsxd r13, eax
mov ebx, ebp
cmovge ebx, edx
add r13, qword [rdi + 0x30]
add eax, ebx
mov dword [rdi + 0x64], eax
cmp eax, r8d
jne 0x140057686
test ecx, ecx
jle 0x140057686
mov dword [rdi + 0x64], 0
test ebx, ebx
jle 0x1400577ef
movsxd r8, ebx
mov rdx, rsi
mov rcx, r13
call fcn.1400c1bc0
jmp 0x1400577ef
mov ebx, 0xffffff53
jmp case.default.0x14005749e
mov rcx, qword [rdi]
test rcx, rcx
je 0x14005771a
test rsi, rsi
je 0x14005771a
test ebp, ebp
jne 0x1400576c4
lea ebx, [rbp + 1]
jmp case.default.0x14005749e
mov eax, dword [rdi + 0x60]
add eax, ebp
movsxd rdx, eax
call fcn.140058e10
test eax, eax
jne 0x1400576dc
xor ebx, ebx
jmp 0x1400577ef
mov rax, qword [rdi]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1400576ee
xor ebx, ebx
jmp 0x1400577ef
movsxd rcx, dword [rdi + 0x60]
add rcx, rdx
movsxd r8, ebp
mov rdx, rsi
call fcn.1400c1bc0
mov rcx, qword [rdi]
mov ebx, ebp
mov rax, qword [rcx]
mov qword [rdi + 0x30], rax
mov eax, dword [rcx + 0x10]
add dword [rdi + 0x60], ebp
mov dword [rdi + 0x70], eax
jmp 0x1400577ef
xor ebx, ebx
jmp case.default.0x14005749e
mov r9, qword [rdi + 0x30]
test r9, r9
je 0x140057742
movsxd r8, ebp
mov edx, 1
mov rcx, rsi
call fcn.1400c6de0
mov rbx, rax
jmp 0x1400577ef
mov ebx, 0xffffff52
jmp case.default.0x14005749e
cmp qword [rdi + 0x18], 0
je case.default.0x14005749e
xor ebx, ebx
test rsi, rsi
je 0x1400576a1
mov r9, qword [rdi + 0x30]
test r9, r9
je 0x1400577c4
cmp dword [r9 + 0x240], ebx
jne 0x1400577ac
cmp qword [0x140104c68], rbx
lea rax, [0x140104c60]
lea rdx, [r9 + 0x230]
je 0x1400577a4
mov ecx, dword [rdx]
nop dword [rax]
cmp ecx, dword [rax]
je 0x1400577a0
add rax, 0x10
cmp qword [rax + 8], rbx
jne 0x140057790
jmp 0x1400577a4
lea rdx, [rax + 4]
cmp dword [rdx], 0x357
jne 0x1400577c4
mov r8d, ebp
mov rdx, rsi
mov rcx, r9
call fcn.14004f780
cmp eax, 1
je 0x1400577ef
mov ebx, r14d
jmp 0x1400577ef
movsxd r8, ebp
mov rdx, rsi
mov rcx, r9
call fcn.14004f960
cmp eax, 1
cmovne ebx, r14d
jmp 0x1400577ef
mov ecx, dword [rdi + 0x70]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
lea r8, [0x140000000]
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x140057453
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x88]
mov rax, qword [rax]
test rax, rax
je 0x140057840
mov dword [rsp + 0x28], ebx
mov r9d, ebp
mov r8, rsi
mov dword [rsp + 0x20], 0
mov edx, 0x83
call rax
mov ebx, eax
test r12, r12
je 0x14005795d
mov rax, qword [0x1401bb488]
mov rcx, r12
test rax, rax
je 0x140057958
call rax
jmp 0x14005795d
mov r8, qword [rsp + 0x98]
cmp dword [r8 + 0x74], 0
je 0x14005787a
mov ebx, r14d
mov rcx, r8
jmp 0x14005780b
mov rbx, qword [rdi + 0x30]
test rbx, rbx
jne 0x140057890
mov ebx, 0xffffff53
mov rcx, r8
jmp 0x14005780b
and dword [rdi + 0x78], 0xffffffef
test rsi, rsi
je 0x1400578fa
test ebp, ebp
js 0x1400578fa
mov rax, qword [rbx + 0x4e8]
test rax, rax
je 0x1400578c1
mov edx, 8
mov rcx, rbx
lea r8d, [rdx - 7]
call rax
mov dword [rbx + 0x4f0], 8
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call fcn.140070e50
test eax, eax
jns 0x1400578dd
mov r8, qword [rsp + 0x98]
jmp 0x140057900
mov rcx, qword [rsp + 0x98]
mov r14d, eax
test eax, eax
jne 0x140057950
mov dword [rcx + 0x74], 1
mov ebx, eax
jmp 0x14005780b
mov r14d, 0xffffff53
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x140057940
mov ecx, dword [rax + 0x2d0]
lea eax, [rcx + 0x147]
test eax, 0xfffffffb
je 0x14005792c
cmp ecx, 0xfffffea9
je 0x140057940
lea eax, [rcx - 2]
cmp eax, 1
ja 0x140057940
or dword [rdi + 0x78], 0x10
mov ebx, r14d
mov rcx, qword [rsp + 0x98]
jmp 0x14005780b
mov rcx, qword [rsp + 0x98]
mov dword [r8 + 0x74], 1
mov ebx, r14d
jmp 0x14005780b
call fcn.1400c734c
test r15d, r15d
jle 0x140057969
mov eax, r15d
test ebx, ebx
jg 0x14005796b
mov eax, ebx
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret