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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, rcx
mov r9d, r8d
mov r8, rdx
lea rdx, [rbp - 0x29]
call fcn.18001e310
nop
mov qword [rbp - 0x39], 0
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], 0
xor r8d, r8d
lea rdx, [0x18008323b]
lea rcx, [rbp - 0x49]
call fcn.180001520
nop
lea rcx, [rbp + 7]
call fcn.18001a6d0
nop
movdqa xmm0, xmmword [0x180084c20]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov r8d, 6
lea rdx, str.Cookie
lea rcx, [rbp - 0x69]
call fcn.180001520
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 7]
call fcn.18001ac90
lea rcx, [rbp - 0x21]
cmp rax, rcx
je 0x18001b555
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rdx, qword [rbp - 0x21]
mov r8, qword [rbp - 0x11]
mov rcx, rax
call fcn.180001520
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x18001b590
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b58b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001b860
call fcn.18002aef0
movdqa xmm0, xmmword [0x180084c20]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov r8d, 0xa
lea rdx, str.Magic_Code
lea rcx, [rbp - 0x69]
call fcn.180001520
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 7]
call fcn.18001ac90
mov r8d, 9
lea rdx, str.wujianwen
mov rcx, rax
call fcn.180001520
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x18001b616
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b611
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001b866
call fcn.18002aef0
cmp qword [r14 + 0x2d8], 1
jbe 0x18001b6ba
movdqa xmm0, xmmword [0x180084c20]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov r8d, 4
lea rdx, str.Host
lea rcx, [rbp - 0x69]
call fcn.180001520
nop
lea rbx, [r14 + 0x2c8]
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 7]
call fcn.18001ac90
cmp rax, rbx
je 0x18001b67f
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x18001b673
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.180001520
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x18001b6ba
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b6b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001b86c
call fcn.18002aef0
mov qword [rbp - 0x59], 0
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x69], 0
mov r8d, 1
lea rdx, [0x180081df4]
lea rcx, [rbp - 0x69]
call fcn.180001520
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.18001aed0
mov esi, dword [rbp - 0x39]
lea r15, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae r15, qword [rbp - 0x49]
xor edi, edi
lea rbx, [r14 + 0x250]
mov rcx, rbx
call fcn.180028878
test eax, eax
je 0x18001b722
mov ecx, eax
call fcn.180028ce0
test esi, esi
jne 0x18001b740
mov rcx, rbx
call fcn.18002889c
test eax, eax
je 0x18001b73a
mov ecx, eax
call fcn.180028ce0
nop
xor edi, edi
jmp 0x18001b77a
mov r8d, esi
sub r8d, edi
mov edx, edi
add rdx, r15
xor r9d, r9d
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
je 0x18001b834
add edi, eax
cmp edi, esi
jb 0x18001b740
mov rcx, rbx
call fcn.18002889c
test eax, eax
je 0x18001b77a
mov ecx, eax
call fcn.180028ce0
nop
movsxd rax, edi
cmp rax, qword [rbp - 0x39]
sete bl
lea rcx, [rbp + 7]
call fcn.18001b8f0
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x18001b7c9
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b7c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001b872
call fcn.18002aef0
mov qword [rbp - 0x39], 0
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x18001b814
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001b80f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001b85a
call fcn.18002aef0
movzx eax, bl
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test edi, edi
jne 0x18001b766
mov rcx, rbx
call fcn.18002889c
test eax, eax
je 0x18001b850
mov ecx, eax
call fcn.180028ce0
nop
mov edi, 0xffffffff
jmp 0x18001b77a
call fcn.18004df84
nop
call fcn.18004df84
int3
call fcn.18004df84
int3
call fcn.18004df84
nop
call fcn.18004df84
int3