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

Disassembly:
push rbp
mov rbp, rsp
push r12
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x150
mov rsi, qword [rcx]
test r8, r8
js 0x398118489
cmp qword [rcx + 0x30], 0
mov r12, rdx
mov rbx, r8
je 0x398117f21
call fcn.398122050
test rbx, rbx
je 0x39811832b
test rsi, rsi
je 0x39811832b
mov rax, qword [rsi + 0x10]
add rax, qword [rsi + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsi + 0x18]
cmp rbx, rax
jb 0x398118367
mov dword [rsp + 0x50], eax
sub rbx, rax
mov rax, qword [rsi]
test rax, rax
je 0x39811832f
test rbx, rbx
je 0x39811832f
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0x68], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x398118388
mov dword [rsp + 0x60], edx
mov rax, qword [rax]
sub rbx, rdx
test rax, rax
je 0x398118337
test rbx, rbx
je 0x398118337
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0x78], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x3981183a0
mov dword [rsp + 0x70], edx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x39811833f
test rbx, rbx
je 0x39811833f
mov rcx, qword [rax + 0x10]
add rcx, qword [rax + 0x28]
mov qword [rsp + 0x88], rcx
mov rcx, qword [rax + 0x18]
cmp rbx, rcx
jb 0x3981183b8
mov dword [rsp + 0x80], ecx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x398118357
test rbx, rbx
je 0x398118357
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0x98], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x3981183d0
mov dword [rsp + 0x90], edx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x39811835f
test rbx, rbx
je 0x39811835f
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0xa8], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x3981183e8
mov dword [rsp + 0xa0], edx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x398118347
test rbx, rbx
je 0x398118347
mov rcx, qword [rax + 0x10]
add rcx, qword [rax + 0x28]
mov qword [rsp + 0xb8], rcx
mov rcx, qword [rax + 0x18]
cmp rbx, rcx
jb 0x398118403
mov dword [rsp + 0xb0], ecx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x39811837d
test rbx, rbx
je 0x39811837d
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x39811841e
mov dword [rsp + 0xc0], edx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x398118395
test rbx, rbx
je 0x398118395
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0xd8], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x39811842e
mov dword [rsp + 0xd0], edx
mov rcx, rbx
sub rcx, qword [rax + 0x18]
mov rax, qword [rax]
mov rbx, rcx
test rax, rax
je 0x3981183ad
test rcx, rcx
je 0x3981183ad
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0xe8], rdx
mov rdx, qword [rax + 0x18]
cmp rcx, rdx
jb 0x398118449
mov dword [rsp + 0xe0], edx
sub rcx, qword [rax + 0x18]
mov rax, qword [rax]
mov rbx, rcx
test rax, rax
je 0x3981183c5
test rcx, rcx
je 0x3981183c5
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0xf8], rdx
mov rdx, qword [rax + 0x18]
cmp rcx, rdx
jb 0x398118459
mov dword [rsp + 0xf0], edx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x3981183dd
test rbx, rbx
je 0x3981183dd
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0x108], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x398118469
mov dword [rsp + 0x100], edx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x3981183f8
test rbx, rbx
je 0x3981183f8
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0x118], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x398118479
mov dword [rsp + 0x110], edx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x398118413
test rbx, rbx
je 0x398118413
mov rcx, qword [rax + 0x10]
add rcx, qword [rax + 0x28]
mov qword [rsp + 0x128], rcx
mov rcx, qword [rax + 0x18]
cmp rbx, rcx
jb 0x3981184a3
mov dword [rsp + 0x120], ecx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x39811834f
test rbx, rbx
je 0x39811834f
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0x138], rdx
mov rdx, qword [rax + 0x18]
cmp rbx, rdx
jb 0x398118493
mov dword [rsp + 0x130], edx
sub rbx, qword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
je 0x39811843e
test rbx, rbx
je 0x39811843e
mov rdx, qword [rax + 0x10]
add rdx, qword [rax + 0x28]
mov qword [rsp + 0x148], rdx
mov rax, qword [rax + 0x18]
cmp rax, rbx
ja 0x3981184b3
mov dword [rsp + 0x140], eax
mov r8d, 0x10
nop dword [rax]
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x50]
lea r9, [rsp + 0x4c]
mov rcx, r12
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
mov eax, 0xffffffff
cmove eax, dword [rsp + 0x4c]
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop r12
pop rbp
ret
xor eax, eax
jmp 0x398118321
mov r8d, 1
jmp 0x3981182e8
mov r8d, 2
jmp 0x3981182e8
mov r8d, 3
jmp 0x3981182e8
mov r8d, 6
jmp 0x3981182e8
mov r8d, 0xe
jmp 0x3981182e8
mov r8d, 4
jmp 0x3981182e8
mov r8d, 5
jmp 0x3981182e8
mov r8d, 1
xor eax, eax
nop
shl rax, 4
mov dword [rsp + rax + 0x50], ebx
jmp 0x3981182e8
mov r8d, 7
jmp 0x3981182e8
mov r8d, 2
mov eax, 1
jmp 0x398118370
mov r8d, 8
jmp 0x3981182e8
mov r8d, 3
mov eax, 2
jmp 0x398118370
mov r8d, 9
jmp 0x3981182e8
mov r8d, 4
mov eax, 3
jmp 0x398118370
mov r8d, 0xa
jmp 0x3981182e8
mov r8d, 5
mov eax, 4
jmp 0x398118370
mov r8d, 0xb
jmp 0x3981182e8
mov r8d, 6
mov eax, 5
jmp 0x398118370
mov r8d, 0xc
jmp 0x3981182e8
mov r8d, 7
mov eax, 6
jmp 0x398118370
mov r8d, 0xd
jmp 0x3981182e8
mov r8d, 8
mov eax, 7
jmp 0x398118370
mov r8d, 9
mov eax, 8
jmp 0x398118370
mov r8d, 0xf
jmp 0x3981182e8
mov r8d, 0xa
mov eax, 9
jmp 0x398118370
mov r8d, 0xb
mov eax, 0xa
jmp 0x398118370
mov r8d, 0xc
mov eax, 0xb
jmp 0x398118370
mov r8d, 0xd
mov eax, 0xc
jmp 0x398118370
mov eax, 0xffffffff
jmp 0x398118321
mov r8d, 0xf
mov eax, 0xe
jmp 0x398118370
mov r8d, 0xe
mov eax, 0xd
jmp 0x398118370
mov r8d, 0x10
mov eax, 0xf
jmp 0x398118370