Function at 0x140018200
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1400b30a0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rdi, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r12d, r12d
mov eax, dword [rdx + rcx]
cmp dword [0x1400b4568], eax
jle 0x140018d99
lea rcx, [0x1400b4568]
call fcn.140089408
cmp dword [0x1400b4568], 0xffffffff
jne 0x140018d99
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400b4550], xmm0
mov qword [0x1400b4560], rax
mov dword [rsp + 0x20], 0xa6afa4b8
mov word [rsp + 0x24], 0x100
mov ecx, r12d
nop word [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 4
jb 0x1400182a0
mov byte [rsp + 0x25], 0
mov qword [rsp + 0x30], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400182e0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xaeb8aaa2
mov dword [rsp + 0x24], 0xa4aaa6
mov byte [rsp + 0x28], 1
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 7
jb 0x140018320
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x50], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140018355
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xf4f6ece4
mov dword [rsp + 0x24], 0xf7edb2fe
mov dword [rsp + 0x28], 0xdac0cbfc
mov word [rsp + 0x2c], Ordinal_200
mov byte [rsp + 0x2e], 1
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x69]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xd
jb 0x1400183a0
mov byte [rsp + 0x2e], 0
mov qword [rsp + 0x70], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400183d4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xf6f8e2e6
mov dword [rsp + 0x24], 0xe8faf2fc
mov dword [rsp + 0x28], 0xd4faf6fe
mov word [rsp + 0x2c], 0x100
mov rcx, r12
lea eax, [rcx - 0x6b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xc
jb 0x140018410
mov byte [rsp + 0x2d], 0
mov qword [rbp - 0x70], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140018442
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xa6afa2ba
mov dword [rsp + 0x24], 0xb5b7af
mov byte [rsp + 0x28], 1
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 7
jb 0x140018480
mov byte [rsp + 0x28], 0
mov qword [rbp - 0x50], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400184b2
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xf0f1faf2
mov dword [rsp + 0x24], 0xd28eedfb
mov dword [rsp + 0x28], 0xc4d2cfc3
mov dword [rsp + 0x2c], 0x100c2c1
mov rcx, r12
nop
lea eax, [rcx - 0x66]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xe
jb 0x1400184f0
mov byte [rsp + 0x2f], 0
mov qword [rbp - 0x30], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140018522
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xedf9f8f3
mov dword [rsp + 0x24], 0x8fcbfcf7
mov dword [rsp + 0x28], 0xd3c8c2d1
mov dword [rsp + 0x2c], 0x100c0c7
mov rcx, r12
nop
lea eax, [rcx - 0x66]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xe
jb 0x140018560
mov byte [rsp + 0x2f], 0
mov qword [rbp - 0x10], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140018592
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xb6f2eef4
mov dword [rsp + 0x24], 0xeaf7fbea
mov dword [rsp + 0x28], 0xc4faf9fc
mov word [rsp + 0x2c], 0x100
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x6b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xc
jb 0x1400185d0
mov byte [rsp + 0x2d], 0
mov qword [rbp + 0x10], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140018602
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x10]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xfbe3ffe5
mov dword [rsp + 0x24], 0xeef4fcf1
mov word [rsp + 0x28], 0xf6
mov byte [rsp + 0x2a], 1
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x6b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x140018640
mov byte [rsp + 0x2a], 0
mov qword [rbp + 0x30], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140018672
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x30]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xa8afaaa7
mov word [rsp + 0x24], 0x100
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 4
jb 0x1400186a0
mov byte [rsp + 0x25], 0
mov qword [rbp + 0x50], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400186d2
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x50]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xaca9bbb9
mov dword [rsp + 0x24], 0xa5a3e1bc
mov dword [rsp + 0x28], 0xb1bdbd
mov byte [rsp + 0x2c], 1
mov rcx, r12
nop dword [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xb
jb 0x140018710
mov byte [rsp + 0x2c], 0
mov qword [rbp + 0x70], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140018745
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x70]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xf9f2e6e6
mov dword [rsp + 0x24], 0xf3ecb4eb
mov dword [rsp + 0x28], 0xcefafaf2
mov word [rsp + 0x2c], 0x100
mov rcx, r12
lea eax, [rcx - 0x6b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xc
jb 0x140018780
mov byte [rsp + 0x2d], 0
mov qword [rbp + 0x90], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400187c0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x90]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xa5afaaa7
mov dword [rsp + 0x24], 0xb5bbab
mov byte [rsp + 0x28], 1
mov rcx, r12
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 7
jb 0x140018800
mov byte [rsp + 0x28], 0
mov qword [rbp + 0xb0], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018840
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xb0]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xfdf9f9f7
mov dword [rsp + 0x24], 0xe9f7f9b7
mov word [rsp + 0x28], 0xff
mov byte [rsp + 0x2a], 1
mov rcx, r12
nop dword [rax + rax]
lea eax, [rcx - 0x6b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x140018880
mov byte [rsp + 0x2a], 0
mov qword [rbp + 0xd0], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400188c0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xd0]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xa9a8aaba
mov dword [rsp + 0x24], 0x100aaa2
mov rcx, r12
nop
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x1400188f0
mov byte [rsp + 0x27], 0
mov qword [rbp + 0xf0], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018930
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf0]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xebf0fae9
mov dword [rsp + 0x24], 0xc5c5f8ff
mov dword [rsp + 0x28], 0xcad3d08c
mov dword [rsp + 0x2c], 0x100c3d4
mov rcx, r12
nop
lea eax, [rcx - 0x66]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xe
jb 0x140018970
mov byte [rsp + 0x2f], 0
mov qword [rbp + 0x110], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400189b0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x110]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xebf0fae9
mov dword [rsp + 0x24], 0xc5c5f8ff
mov dword [rsp + 0x28], 0xc0c8c08c
mov dword [rsp + 0x2c], 0x100d1c7
mov rcx, r12
nop
lea eax, [rcx - 0x66]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xe
jb 0x1400189f0
mov byte [rsp + 0x2f], 0
mov qword [rbp + 0x130], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018a30
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x130]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xfefef8fe
mov dword [rsp + 0x24], 0xf3f8b4fc
mov dword [rsp + 0x28], 0xd4fefcf0
mov word [rsp + 0x2c], 0x100
mov rcx, r12
nop
lea eax, [rcx - 0x6b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xc
jb 0x140018a70
mov byte [rsp + 0x2d], 0
mov qword [rbp + 0x150], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018ab0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x150]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xfcf0f6fc
mov dword [rsp + 0x24], 0xebffb2fe
mov dword [rsp + 0x28], 0xc7c9c3eb
mov word [rsp + 0x2c], Ordinal_211
mov byte [rsp + 0x2e], 1
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x69]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xd
jb 0x140018b00
mov byte [rsp + 0x2e], 0
mov qword [rbp + 0x170], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x180], xmm0
mov byte [rbp + 0x170], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018b40
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xaba5a5a1
mov dword [rsp + 0x24], 0xbeb2e1ab
mov dword [rsp + 0x28], 0x100b6bc
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xa
jb 0x140018b80
mov byte [rsp + 0x2b], 0
mov qword [rbp + 0x190], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x1a0], xmm0
mov byte [rbp + 0x190], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018bc0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x190]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xa0a1aaa2
mov dword [rsp + 0x24], 0x100bdab
mov rcx, r12
nop
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x140018bf0
mov byte [rsp + 0x27], 0
mov qword [rbp + 0x1b0], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x1c0], xmm0
mov byte [rbp + 0x1b0], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018c30
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1b0]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xaebea4be
mov word [rsp + 0x24], 0xa6
mov byte [rsp + 0x26], 1
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x140018c70
mov byte [rsp + 0x26], 0
mov qword [rbp + 0x1d0], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x1e0], xmm0
mov byte [rbp + 0x1d0], 0
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018cb0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1d0]
call fcn.1400145d0
nop
mov dword [rsp + 0x20], 0xa6afa2b9
mov dword [rsp + 0x24], 0x100aaa2
mov rcx, r12
nop
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x140018ce0
mov byte [rsp + 0x27], 0
mov qword [rbp + 0x1f0], r12
movdqa xmm0, xmmword [0x1400a5510]
movdqa xmmword [rbp + 0x200], xmm0
mov byte [rbp + 0x1f0], 0
lea rax, [rsp + 0x20]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140018d20
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f0]
call fcn.1400145d0
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x210]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rcx, [0x1400b4550]
call fcn.1400203e0
nop
lea r9, [fcn.1400140d0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 9]
lea rcx, [rsp + 0x30]
call fcn.140089a74
lea rcx, [0x14008c270]
call fcn.14008978c
nop
lea rcx, [0x1400b4568]
call fcn.1400893a8
mov r8, rdi
lea rdx, [rbp + 0x230]
call fcn.140017a90
nop
lea rcx, [rbp + 0x230]
mov r15, qword [rbp + 0x230]
mov rax, qword [rbp + 0x240]
cmp qword [rbp + 0x248], 8
jb 0x140018dd1
mov rdi, r15
lea rbx, [r15 + rax*2]
jmp 0x140018ddc
lea rbx, [rcx + rax*2]
lea rdi, [rbp + 0x230]
mov r14, r12
mov qword [rbp + 0x210], r12
mov rcx, r12
mov qword [rbp + 0x220], rcx
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x228], rsi
mov rdx, rbx
sub rdx, rdi
sar rdx, 1
cmp rdx, rsi
jbe 0x140018e35
lea rcx, [rbp + 0x210]
call fcn.1400213d0
mov rcx, r12
mov qword [rbp + 0x220], rcx
mov r15, qword [rbp + 0x230]
mov rsi, qword [rbp + 0x228]
mov r14, qword [rbp + 0x210]
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
cmp rdi, rbx
je 0x140018ea7
movzx r9d, byte [rdi]
cmp rcx, rsi
jae 0x140018e74
lea rax, [rcx + 1]
mov qword [rbp + 0x220], rax
lea rax, [rbp + 0x210]
cmp rsi, 0x10
cmovae rax, r14
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018e80
lea rcx, [rbp + 0x210]
call fcn.1400149a0
add rdi, 2
mov rsi, qword [rbp + 0x228]
mov r14, qword [rbp + 0x210]
cmp rdi, rbx
je 0x140018ea0
mov rcx, qword [rbp + 0x220]
jmp 0x140018e46
mov r15, qword [rbp + 0x230]
mov rbx, qword [0x1400b4550]
mov rdi, qword [0x1400b4558]
cmp rbx, rdi
je 0x140018ee1
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x210]
call fcn.140020680
cmp rax, 0xffffffffffffffff
jne 0x140018f15
add rbx, 0x20
cmp rbx, rdi
jne 0x140018ec0
xor bl, bl
cmp rsi, 0x10
jb 0x140018f28
lea rdx, [rsi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140018f19
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018f19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov bl, 1
jmp 0x140018ee3
mov rcx, r14
call fcn.140089278
mov r15, qword [rbp + 0x230]
mov qword [rbp + 0x220], r12
mov qword [rbp + 0x228], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x210], 0
mov rdx, qword [rbp + 0x248]
cmp rdx, 8
jb 0x140018f86
lea rdx, [rdx*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140018f7e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018f7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140089278
movzx eax, bl
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140089250
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret