Function at 0x18010a280
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x60
mov rax, qword [0x1802df040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r9d, 0x610
mov rcx, rsi
lea r8d, [rdx + 8]
call rdi
mov r15, rax
test rax, rax
je 0x18010a547
mov qword [rsp + 0x90], rbx
xor ecx, ecx
lea rbx, [rax + 0xd8]
mov qword [rsp + 0x58], r12
xor r12d, r12d
mov byte [rbx + 0x54], 1
mov qword [rax + 0x20], rbx
mov qword [rax + 0x40], r12
mov qword [rax + 0x28], r12
mov qword [rax + 8], r12
mov dword [rax + 0x10], 0x108
mov qword [rax + 0x60], r12
mov qword [rsp + 0x50], r14
lea r14, [rax + 8]
mov dword [r14 + 0xb8], r12d
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [0x18018c790]
mov qword [rsp + 0x38], rax
lea rax, [fcn.18010a280]
mov qword [r14 + 0x50], r14
mov word [r14 + 0xc6], r12w
mov qword [rbx], rdi
lea edi, [r12 + 0x20]
mov qword [rsp + 0x40], rax
mov qword [r14 + 0xa8], r12
mov dword [r14 + 0xc8], r12d
mov qword [r14 + 0xbc], r12
mov byte [r14 + 0xcc], 1
mov qword [r14 + 0x40], r12
mov word [r14 + 0xc4], 1
mov byte [r14 + 0xc], r12b
mov qword [r14 + 0xb0], r12
mov qword [rbx + 8], rsi
mov qword [rbx + 0xc8], r14
mov qword [rsp + 0x28], r14
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xor eax, edi
nop word [rax + rax]
movzx edx, byte [rsp + rdi + 0x27]
mov ecx, eax
shl ecx, 5
sub rdi, 2
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
cmp rdi, 2
jae 0x18010a390
mov dword [rbx + 0x50], eax
lea rdx, [0x180109eb0]
mov word [rbx + 0x56], r12w
xor r8d, r8d
mov qword [rbx + 0x28], r12
mov rcx, r14
mov qword [rbx + 0x38], r12
mov qword [rbx + 0x30], r12
mov dword [rbx + 0x48], r12d
mov qword [rbx + 0xc0], r12
mov qword [rbx + 0xd0], r12
mov byte [rbx + 0x55], 7
mov qword [rbx + 0xa0], r12
mov qword [rbx + 0x98], r12
mov qword [rbx + 0x68], r12
mov qword [rbx + 0x58], r12
mov qword [rbx + 0x60], r12
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x70], r12
mov qword [rbx + 0x90], r12
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x80], r12
mov qword [rbx + 0xa8], r12
mov qword [rbx + 0x10], 0x610
mov qword [rbx + 0x18], r12
mov dword [rbx + 0xb0], r12d
mov dword [rbx + 0xb4], 0xc8
mov dword [rbx + 0xb8], 0xc8
mov qword [rbx + 0x1a0], r12
mov qword [rbx + 0x1a8], r12
mov qword [rbx + 0x1b0], r12
mov qword [rbx + 0x1b8], r12
mov qword [rbx + 0x1c0], r12
mov qword [rbx + 0x1c8], r12
mov qword [rbx + 0x1d0], r12
mov qword [rbx + 0x1d8], r12
mov qword [rbx + 0x1e0], r12
call fcn.1800f5c10
test eax, eax
je 0x18010a532
mov rdx, qword [r14 + 0x38]
mov rcx, r14
mov qword [rsp + 0x98], rbp
mov rbp, qword [r14 + 0x18]
call fcn.1800f7c40
mov rcx, r14
call fcn.1800f91e0
mov rsi, qword [r14 + 0x18]
xor r9d, r9d
movsxd rdi, dword [rsi + 0x3c]
mov rbx, qword [rsi + 0x30]
mov rcx, qword [rsi + 8]
mov rdx, rbx
shl rdi, 3
mov r8, rdi
call qword [rsi]
test rbx, rbx
mov rax, r12
cmovne rax, rdi
sub qword [rsi + 0x18], rax
cmp qword [r14 + 0x38], r12
je 0x18010a514
lea rax, [r14 + 0x60]
mov rcx, r14
mov qword [r14 + 0x20], rax
call fcn.180109bc0
movsxd r8, dword [r14 + 0xb8]
xor r9d, r9d
mov rdx, qword [r14 + 0x38]
mov rcx, r14
shl r8, 4
call fcn.1800ff860
mov rcx, qword [rbp + 8]
xor r9d, r9d
mov r8d, 0x610
mov rdx, r15
call qword [rbp]
mov rbp, qword [rsp + 0x98]
mov r14, r12
mov r12, qword [rsp + 0x58]
mov rax, r14
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1801200f0
add rsp, 0x60
pop r15
pop rdi
pop rsi
ret