Function at 0x140015e40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x14008f060]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x50], rdx
mov qword [rbp + 0xb8], r8
xor r14d, r14d
mov dword [rbp - 0x58], r14d
call fcn.140016f50
mov dword [rsp + 0x30], 0xd4ced791
mov dword [rsp + 0x34], 0xdad4cede
mov word [rsp + 0x38], 0x82
mov byte [rsp + 0x3a], 1
mov ecx, r14d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x49]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140015ec0
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x40], 0xd7d8d691
mov dword [rsp + 0x44], 0x10081de
mov dword [rsp + 0x68], 0xc9dccb91
mov dword [rsp + 0x6c], 0xd0d2d5c8
mov dword [rsp + 0x70], 0xfca4d6
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xd6d0de91
mov dword [rsp + 0x4c], 0x83d9d5de
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0xdfc9c1c3
mov dword [rsp + 0x5c], 0xd2d4da86
mov word [rsp + 0x60], 0xda
mov byte [rsp + 0x62], 1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x48]
call fcn.1400168c0
nop
mov rdx, rdi
mov rcx, rax
call fcn.14000fd40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x28]
call fcn.1400153f0
nop
lea rdx, [rbx + 0x268]
mov rcx, rax
call fcn.14000fd40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 8]
call fcn.140015140
nop
mov rdx, rbx
mov rcx, rax
call fcn.14000fd40
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x18]
call fcn.140004bd0
nop
lea rdx, [rbx + 0x20]
mov rcx, rax
call fcn.14000fd40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14001608d
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016088
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rbp - 8], r14
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x1400160e1
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400160dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400160dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140016138
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016133
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016133
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140016187
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016181
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016181
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1400161c5
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400161c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400161c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140016214
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001620e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001620e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140016252
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001624d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001624d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], 0
lea rax, [rbp - 0x38]
mov qword [rbp + 0x88], rax
lea rdx, [rbx + 0xa0]
lea rcx, [rbp - 0x38]
call fcn.140004210
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x98]
mov qword [rbp + 0x90], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp + 0x98]
call fcn.140004210
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea r15, [rbp + 0x110]
mov r14, qword [rbp + 0x110]
mov r13, qword [rbp + 0x128]
cmp r13, 0x10
cmovae r15, r14
movabs rcx, 0x7fffffffffffffff
mov r12, qword [rbp + 0x120]
cmp r12, 0x10
jae 0x1400162f5
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140016368
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
cmova rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140016342
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400168b2
mov rcx, rax
call fcn.1400727c8
mov rcx, rax
test rax, rax
je 0x14001633b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140016350
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14001634e
call fcn.1400727c8
jmp 0x140016350
xor eax, eax
mov qword [rbp - 0x78], rax
lea r8, [r12 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rbx
mov r9, qword [rbp - 0x50]
mov r8, rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xf0]
call fcn.140016bc0
nop
call fcn.140016f50
xor ebx, ebx
mov qword [rbp + 0x80], rbx
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xe0]
call fcn.140018e20
nop
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x68]
call fcn.140017a40
mov rdx, rax
mov rcx, qword [rbp - 0x40]
call fcn.1400144f0
lea rdx, str.success
lea rcx, [rbp + 0xe0]
call fcn.140018ce0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rbx
cmp byte [rcx], bl
je 0x14001677c
lea rdx, str.contents
lea rcx, [rbp + 0xe0]
call fcn.140018ce0
nop
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], bl
mov dword [rbp - 0x58], 0x5e
cmp byte [rax], 3
jne 0x140016433
mov rdx, qword [rax + 8]
lea rax, [rbp - 0x78]
cmp rax, rdx
je 0x14001644e
jmp 0x140016436
mov rdx, rbx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140016444
mov rdx, qword [rdx]
lea rcx, [rbp - 0x78]
call fcn.140004680
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xc0]
call fcn.140016a30
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14001649d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016498
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016498
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov r15, qword [rbp + 0xd0]
lea r12, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae r12, qword [rbp + 0xc0]
cmp r15, 0x10
jae 0x1400164e0
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x68], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140016556
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140016534
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400168b8
mov rcx, rax
call fcn.1400727c8
mov rcx, rax
test rax, rax
je 0x140016613
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140016542
test rcx, rcx
je 0x140016540
call fcn.1400727c8
jmp 0x140016542
xor eax, eax
mov qword [rsp + 0x68], rax
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
cmp rbx, 0x10
jb 0x140016582
lea rax, [rcx + r15]
mov r12, rcx
jmp 0x14001658a
add rax, r15
lea r12, [rsp + 0x68]
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsi], rdx
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdx
mov r15, rax
sub r15, r12
je 0x1400165e8
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x1400168ac
mov rdx, r15
mov rcx, rsi
call fcn.140005400
mov rbx, qword [rsi]
mov r8, r15
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
sub rbx, r12
add rbx, qword [rsp + 0x40]
mov qword [rsi + 8], rbx
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
cmp rbx, 0x10
jb 0x14001661f
lea rdx, [rbx + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001661a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001661a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], bl
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140016676
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016671
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016671
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
movzx edx, byte [rbp + 0xe0]
lea rcx, [rbp + 0xe8]
call fcn.140018290
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x1400166e7
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400166e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400166e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rbp + 0x100], rbx
mov qword [rbp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf0], 0
cmp r13, 0x10
jb 0x14001673b
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140016732
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016732
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140072a54
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140016869
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140016864
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140016861
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
movzx edx, byte [rbp + 0xe0]
lea rcx, [rbp + 0xe8]
call fcn.140018290
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x1400167df
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400167da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400167da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072a54
mov qword [rbp + 0x100], rbx
mov qword [rbp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf0], 0
cmp r13, 0x10
jb 0x140016833
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001682a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001682a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140072a54
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140016869
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140016864
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400168a5
mov rcx, r8
call fcn.140072a54
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov rax, rsi
mov byte [rdi], 0
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140072540
mov rbx, qword [rsp + 0x298]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400053e0
nop
call fcn.140001700
nop
call fcn.140001700
int3