Function at 0x140002434
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov esi, dword [rsp + 0x90]
lea r12d, [rdx + 0x305]
mov edi, edx
lea eax, [r8 - 0xd29]
xor edi, 0x5fd
mov dword [rsp + 0x90], eax
lea r13d, [rdx + 0x105]
mov dword [rsp + 0x78], edi
mov edx, 0xe88
lea eax, [r12 - 0x200]
mov r15d, r9d
add esi, 0xfffffcd1
xor r15d, edx
mov rbp, rcx
mov r14d, r12d
cmp r15d, eax
jge 0x14000267c
mov eax, esi
xor eax, 0x3c3
cmp r15d, eax
jg 0x1400024e2
mov eax, dword [0x1400350d0]
add r14d, 0xfffff620
mov rcx, qword [section..data]
add eax, 0xffe654ae
xor r14d, edx
xor dword [rcx + 0x4c], eax
mov eax, dword [rbp + 0x58]
add eax, 0x80cd2
xor dword [rbp + 0x4c], eax
jmp 0x14000267c
mov r8, qword [section..data]
mov eax, dword [r8 + 0x38]
sub eax, r14d
and eax, dword [0x1400350f0]
cmp r13d, eax
jb 0x140002683
mov eax, dword [r8 + 0xfc]
mov r11d, dword [rcx + 0xc]
add eax, esi
sub r11d, dword [rcx + 0x108]
mov ebx, dword [rcx + 0xa8]
add r11d, r14d
mov edx, dword [rcx + 0xbc]
xor ebx, 0xd84
add edx, dword [rcx + 0x30]
and ebx, dword [rcx + 0x84]
xor edx, esi
mov r9d, dword [0x140035078]
add r9d, dword [0x1400350ac]
mov r8d, dword [0x140035060]
add r9d, esi
imul r10d, eax, 0xd29
mov eax, dword [rsp + 0x90]
sub r8d, eax
mov qword [rsp + 0x30], r11
add r8d, r12d
inc eax
mov dword [rsp + 0x28], ebx
imul eax, r13d
mov dword [rsp + 0x20], r10d
movsxd rcx, eax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, r13d
or ecx, edi
imul ecx, dword [0x1400350cc]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [section..data]
mov r8d, edi
mov r10d, dword [rbp + 0xd4]
or r8d, esi
mov r9d, dword [0x140035118]
xor r10d, 0x4f2
add r10d, dword [rbp + 0x3c]
or r8d, r12d
mov ecx, dword [rax + 0x90]
mov edx, dword [rax + 0x3c]
and ecx, r13d
and edx, dword [rbp + 0xb8]
mov eax, edi
sub r9d, dword [rsp + 0x90]
xor edx, 0x3a1
imul eax, r13d
mov dword [rsp + 0x30], eax
lea rax, [0x140035010]
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], rax
call fcn.140017804
mov ecx, eax
mov ebx, r13d
mov eax, dword [0x140035060]
or eax, dword [rbp + 0x44]
add eax, 0xcd2
cmp r13d, eax
jbe 0x14000267c
mov edi, dword [rsp + 0x90]
lea r14d, [rcx - 0x4f2]
mov eax, dword [0x140035018]
mov ecx, esi
sub ecx, dword [rbp + 0x118]
and eax, edi
sub ecx, dword [rbp + 0x9c]
xor eax, r15d
mov r9d, dword [rbp + 0x70]
imul r8d, dword [rbp + 0x48], 0x48ddb8
xor r9d, r15d
mov rdx, qword [section..data]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov ecx, r14d
call fcn.14001af40
mov ecx, dword [0x140035060]
add ebx, 4
or ecx, dword [rbp + 0x44]
mov r13d, eax
add ecx, 0xcd2
cmp ebx, ecx
ja 0x14000261d
mov edi, dword [rsp + 0x78]
mov r14d, r12d
mov r8, qword [section..data]
mov eax, edi
xor eax, 0x319
cmp r14d, eax
je 0x1400026f5
cmp dword [r8 + 0xa0], 0xe10f
je 0x1400026a7
lea rax, [0x140036b60]
mov qword [r8 + 0x78], rax
lea eax, [r15 + 0x2af]
lea rbx, [0x140035010]
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea r9d, [r13 + 0x200]
lea r8d, [r15 + 0x30a]
lea edx, [r12 - 0x9e0]
call fcn.1400187f0
mov r9d, esi
mov dword [rsp + 0x20], esi
xor r9d, 0xcfc
mov r8d, esi
mov rdx, rbx
lea ecx, [rax - 0x6c]
call fcn.140002e94
jmp 0x140002734
mov ecx, dword [r8 + 0x3c]
mov r9d, dword [r8 + 0xa4]
xor ecx, r12d
add ecx, dword [r8 + 0xfc]
or r9d, 0xe2e
mov edx, dword [rbp + 0xd8]
and edx, dword [0x140035028]
imul eax, esi, 0x94a2e0
sub esi, edi
mov dword [rsp + 0x28], ecx
mov ecx, esi
mov dword [rsp + 0x20], eax
call fcn.1400151b4
lea r11, [rsp + 0x40]
xor edi, 0x723
mov rbx, qword [r11 + 0x30]
mov eax, edi
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret