Function at 0x1400029d8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ecx, dword [rsp + 0x90]
lea edi, [r9 - 0x2f4]
mov esi, edx
lea ebp, [r9 + 0x83b]
xor esi, 0x2bf6
mov dword [rsp + 0x88], ebp
mov rbx, r8
lea eax, [rcx + 0xfc1]
mov dword [rsp + 0x78], eax
lea r14d, [rcx - 0x341b]
mov eax, dword [rsp + 0x98]
lea r15d, [rax + 0xf3]
lea r13d, [rax - 0x341b]
mov eax, edi
xor eax, 0xdcb
cmp esi, eax
je 0x140002b66
xor edx, 0x11c6
lea eax, [rbp - 0x419]
cmp edx, eax
jl 0x140002aba
cmp dword [0x140015034], 0x61c3
jb 0x140002a7b
mov eax, dword [r8 + 0x9c]
xor eax, dword [r8 + 0x88]
xor eax, 0x51afa
mov dword [r8 + 0x6c], eax
lea eax, [r13 + 0x383d]
xor edi, 0xb27
mov dword [rsp + 0x28], eax
lea r9d, [r15 + 0x748]
lea r8d, [r13 + 0x350e]
mov dword [rsp + 0x20], edi
lea ecx, [r14 + 0x383d]
mov rdx, rbx
call fcn.1400023b0
mov edi, eax
add esi, 0x3a30
jmp 0x140002b66
mov eax, dword [r8 + 0x68]
mov r12d, ebp
or eax, 0x43aa
mov dword [rsp + 0x90], ebp
sub eax, r15d
cmp ebp, eax
je 0x140002b66
mov eax, r14d
sub eax, esi
imul eax, edi
cmp ebp, eax
jg 0x140002b45
mov r12d, dword [rsp + 0x78]
mov edx, dword [rbx + 0x100]
mov eax, r13d
mov ecx, dword [rbx + 0xd0]
mov r9, rbx
xor edx, dword [rbx + 0x88]
xor ecx, 0x420c
mov r8d, dword [rbx + 0xc8]
sub edx, dword [0x1400150d4]
add r8d, r12d
imul eax, r14d
add eax, r15d
mov dword [rsp + 0x20], eax
call fcn.140001ddc
mov r14d, eax
add ebp, 2
sub eax, esi
imul eax, edi
cmp ebp, eax
jle 0x140002ae9
mov ebp, dword [rsp + 0x88]
mov r12d, dword [rsp + 0x90]
mov ecx, dword [rbx + 0x68]
add r12d, 3
or ecx, 0x43aa
mov dword [rsp + 0x90], r12d
sub ecx, r15d
cmp r12d, ecx
jne 0x140002ae0
mov eax, dword [rsp + 0x78]
add eax, 0xfffff654
cmp edi, eax
jle 0x140002cfc
lea eax, [r15 + 0xece]
cmp r13d, eax
je 0x140002cc4
xor r9d, r9d
mov eax, 0x2cdd8
sub eax, dword [rbx + 0x9c]
add dword [rbx + 0x88], eax
mov rax, qword [rbx + 0xa0]
movsxd rcx, dword [0x140015080]
mov r8d, dword [r9 + rax]
add r9, 4
mov eax, dword [rbx + 0xe8]
sub eax, 0x1cf5ce
xor dword [0x140015120], eax
mov rax, qword [section..data]
imul r8d, dword [rax + 0x6c]
mov rax, qword [rax + 0xa8]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
inc dword [0x140015080]
mov rax, qword [section..data]
mov ecx, dword [rax + 0xc4]
xor ecx, dword [0x140015018]
mov eax, dword [rbx + 0xe8]
sub ecx, 0xbffa5
imul eax, ecx
mov ecx, dword [rbx + 0x3c]
mov dword [rbx + 0xe8], eax
mov eax, dword [0x14001504c]
add eax, 0xfffda5b5
add ecx, eax
mov dword [0x14001504c], ecx
mov eax, dword [rbx + 0xc8]
mov rcx, qword [section..data]
add eax, 0x1471cc
xor dword [rcx + 0xe8], eax
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0xa8]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x70]
mov eax, dword [0x140015028]
sub eax, dword [rbx + 0x48]
add eax, 0x17c861
or dword [0x140015068], eax
mov ecx, dword [rbx + 0x24]
mov eax, dword [0x1400150ac]
add eax, 0xfffd3229
imul ecx, eax
mov eax, dword [rbx + 0x7c]
xor eax, 0x1693cf
mov dword [rbx + 0x24], ecx
mov rcx, qword [section..data]
sub dword [rcx + 0x100], eax
cmp r9, 0x588
jl 0x140002b8a
lea r9d, [rsi + 0x4bc]
xor r14d, 0x3c56
xor esi, 0x4dc
lea eax, [rdi + 0x3e7]
mov r8d, esi
mov dword [rsp + 0x20], eax
mov rdx, rbx
mov ecx, r14d
call fcn.140002200
jmp 0x140002cfc
mov rax, qword [section..data]
mov esi, dword [rax + 0x8c]
jmp 0x140002cee
mov eax, ebp
sub eax, dword [rbx + 0x58]
cmp ebp, eax
jae 0x140002cec
movsxd rcx, r13d
xor rcx, 0x420c
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
inc esi
mov eax, dword [rbx + 0xc4]
or eax, edi
sub eax, ebp
cmp esi, eax
je 0x140002cd3
lea eax, [r15 + 0x32f]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret