Function at 0x140257050
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a8]
sub rsp, 0x3a8
mov qword [rbp + 0x10], 0xfffffffffffffffe
xor esi, esi
cmp dword [0x1402c71fc], esi
je 0x14025757b
cmp dword [0x1402c71f8], esi
je 0x14025757b
cmp dword [0x1402c71f4], esi
je 0x14025757b
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x2f8], rax
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea rcx, [rbp + 0x1b0]
call fcn.1400ab8b4
nop
lea rcx, [rbp + 0xc0]
call fcn.1400ab8b4
nop
lea r14d, [rsi + 0x29]
mov word [rsp + 0x30], r14w
lea eax, [rsi + 0x5d]
mov word [rsp + 0x32], ax
lea ecx, [rsi + 0x31]
mov word [rsp + 0x34], cx
mov word [rsp + 0x36], r14w
lea eax, [rsi + 0x71]
mov word [rsp + 0x38], ax
mov word [rsp + 0x3a], cx
mov word [rsp + 0x3c], r14w
lea r12d, [rsi + 0x68]
mov word [rsp + 0x3e], r12w
mov word [rsp + 0x40], si
movzx eax, word [rsp + 0x30]
mov ecx, esi
lea edi, [rsi + 1]
movzx eax, word [rsp + rcx*2 + 0x30]
sub ax, 4
mov word [rsp + rcx*2 + 0x30], ax
add rcx, rdi
cmp rcx, 8
jb 0x140257123
lea rax, [rbp + 0x98]
mov qword [rbp - 0x20], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x18], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x10], rax
cmp word [rsp + 0x30], si
je 0x140257170
lea rax, [rsp + 0x30]
add rax, 2
cmp word [rax], si
jne 0x140257163
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xc0]
call fcn.1400ad238
nop
mov ebx, 0x12
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov dword [rsp + 0x44], 0x59
lea r15d, [rbx + 0x6a]
mov word [rsp + 0x48], r15w
mov word [rsp + 0x4a], si
lea eax, [rbx + 0x62]
mov word [rsp + 0x4c], ax
mov word [rsp + 0x4e], r15w
lea r13d, [rbx + 0x22]
mov word [rsp + 0x50], r13w
mov word [rsp + 0x52], ax
mov word [rsp + 0x54], r15w
lea eax, [rbx + 0x2b]
mov word [rsp + 0x56], ax
xor eax, eax
mov word [rsp + 0x58], ax
movzx eax, word [rsp + 0x48]
mov rdx, rsi
movzx eax, word [rsp + rdx*2 + 0x48]
mov ecx, dword [rsp + 0x44]
xor cx, ax
mov word [rsp + rdx*2 + 0x48], cx
add rdx, rdi
cmp rdx, 8
jb 0x1402571e7
mov word [rsp + 0x58], si
lea rax, [0x1402c71e8]
mov qword [rbp - 8], rax
lea rax, [rsp + 0x48]
mov qword [rbp], rax
lea rax, [rsp + 0x48]
mov qword [rbp + 8], rax
cmp word [rsp + 0x48], si
je 0x14025723c
lea rax, [rsp + 0x48]
add rax, 2
cmp word [rax], si
jne 0x14025722f
mov qword [rbp + 8], rax
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x1b0]
call fcn.1400ad238
nop
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x1b8]
call fcn.1400aca50
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0xc8]
call fcn.1400aca50
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x18]
call fcn.1400afa7c
mov ebx, eax
shr ebx, 0x1f
lea rcx, [rbp + 0x18]
call fcn.1400ac668
nop
lea rcx, [rbp + 0x38]
call fcn.1400ac668
test bl, bl
jne 0x14025755d
mov ebx, 0x32
mov word [rsp + 0x5c], bx
lea eax, [rbx - 0xe]
mov word [rsp + 0x5e], ax
lea eax, [rbx + 0x23]
mov word [rsp + 0x60], ax
lea eax, [rbx + 0x47]
mov word [rsp + 0x62], ax
lea ecx, [rbx + 0x3b]
mov word [rsp + 0x64], cx
lea eax, [rbx + 0x46]
mov word [rsp + 0x66], ax
mov word [rsp + 0x68], ax
mov word [rsp + 0x6a], cx
lea eax, [rbx + 0x40]
mov word [rsp + 0x6c], ax
lea eax, [rbx + 0x39]
mov word [rsp + 0x6e], ax
mov word [rsp + 0x70], bx
mov word [rsp + 0x72], si
movzx eax, word [rsp + 0x5c]
mov rcx, rsi
movzx eax, word [rsp + rcx*2 + 0x5c]
sub ax, 4
mov word [rsp + rcx*2 + 0x5c], ax
add rcx, rdi
cmp rcx, 0xb
jb 0x140257309
lea rax, [rbp + 0x58]
mov qword [rbp + 0x300], rax
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x1b8]
call fcn.1400aca50
nop
mov word [rbp + 0x2f0], r14w
mov eax, 0x47
mov word [rbp + 0x2f2], ax
mov word [rbp + 0x2f4], r14w
mov word [rbp + 0x2f6], si
movzx eax, word [rbp + 0x2f0]
mov rcx, rsi
movzx eax, word [rbp + rcx*2 + 0x2f0]
sub ax, 9
mov word [rbp + rcx*2 + 0x2f0], ax
add rcx, rdi
cmp rcx, 3
jb 0x140257369
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0xc8]
call fcn.1400aca50
mov dword [rsp + 0x74], 0x46
mov eax, 0x1d
mov word [rsp + 0x78], ax
mov eax, 0x67
mov word [rsp + 0x7a], ax
mov eax, 0x1b
mov word [rsp + 0x7c], ax
lea r11d, [rax + 0x4b]
mov word [rsp + 0x7e], r11w
lea eax, [r11 - 0x55]
mov word [rbp - 0x80], ax
lea r10d, [r11 - 0x43]
mov word [rbp - 0x7e], r10w
lea eax, [r11 - 5]
mov word [rbp - 0x7c], ax
lea eax, [r11 - 0x36]
mov word [rbp - 0x7a], ax
mov word [rbp - 0x78], r10w
mov word [rbp - 0x76], r11w
lea edx, [rax - 0xb]
mov word [rbp - 0x74], dx
mov word [rbp - 0x72], r13w
mov word [rbp - 0x70], r14w
lea eax, [rdx + 0x10]
mov word [rbp - 0x6e], ax
mov word [rbp - 0x6c], ax
mov word [rbp - 0x6a], r10w
lea r9d, [r11 - 0x44]
mov word [rbp - 0x68], r9w
mov word [rbp - 0x66], r11w
lea ecx, [rdx + 0x11]
mov word [rbp - 0x64], cx
lea r8d, [r11 - 0x3f]
mov word [rbp - 0x62], r8w
mov word [rbp - 0x60], ax
mov word [rbp - 0x5e], bx
mov word [rbp - 0x5c], r11w
mov word [rbp - 0x5a], bx
lea eax, [rdx + 9]
mov word [rbp - 0x58], ax
mov word [rbp - 0x56], r10w
mov word [rbp - 0x54], r11w
mov word [rbp - 0x52], cx
mov word [rbp - 0x50], r13w
mov word [rbp - 0x4e], r10w
mov word [rbp - 0x4c], dx
mov word [rbp - 0x4a], r14w
lea eax, [rdx + 3]
mov word [rbp - 0x48], ax
lea eax, [rdx - 5]
mov word [rbp - 0x46], ax
lea ecx, [rdx + 0xa]
mov word [rbp - 0x44], cx
lea eax, [rdx - 4]
mov word [rbp - 0x42], ax
lea r14d, [r11 - 0x33]
mov word [rbp - 0x40], r14w
mov word [rbp - 0x3e], r13w
mov word [rbp - 0x3c], r10w
mov word [rbp - 0x3a], r9w
mov word [rbp - 0x38], r11w
lea eax, [rdx + 8]
mov word [rbp - 0x36], ax
mov word [rbp - 0x34], cx
lea eax, [rdx + 5]
mov word [rbp - 0x32], ax
mov word [rbp - 0x30], ax
mov word [rbp - 0x2e], r9w
mov word [rbp - 0x2c], r8w
mov word [rbp - 0x2a], bx
mov word [rbp - 0x28], r10w
mov word [rbp - 0x26], r15w
mov word [rbp - 0x24], r11w
xor eax, eax
mov word [rbp - 0x22], ax
movzx eax, word [rsp + 0x78]
mov rdx, rsi
movzx eax, word [rsp + rdx*2 + 0x78]
mov ecx, dword [rsp + 0x74]
xor cx, ax
mov word [rsp + rdx*2 + 0x78], cx
add rdx, rdi
cmp rdx, r14
jb 0x1402574e3
mov word [rbp - 0x22], si
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x58]
lea r8, [rbp + 0x2f0]
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.1402788b4
nop
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 8]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov dil, sil
lea rcx, [rbp + 0xc0]
call fcn.1400aa2f8
nop
lea rcx, [rbp + 0x1b0]
call fcn.1400aa2f8
mov al, dil
jmp 0x140257580
mov eax, 1
add rsp, 0x3a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret