Function at 0x1400029dc
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, 0x40
mov eax, dword [rsp + 0xa0]
lea esi, [r9 - 0x350e]
mov ebp, edx
mov dword [rsp + 0x30], r9d
xor ebp, 0x74bd
mov edi, r9d
mov rbx, r8
lea ecx, [rax - 0xaab]
lea r14d, [rax - 0x7dc]
mov dword [rsp + 0x88], ecx
mov ecx, dword [rsp + 0xa8]
mov eax, esi
xor eax, 0x3761
lea r13d, [rcx - 0x79a]
lea r15d, [rcx - 0x2bc]
cmp ebp, eax
jl 0x140002b6f
xor edx, 0x7f30
lea eax, [r9 + 0x44]
cmp edx, eax
jl 0x140002abc
cmp dword [0x140015034], 0x61c3
jb 0x140002a7a
mov eax, dword [r8 + 0x9c]
xor eax, dword [r8 + 0x88]
xor eax, 0x51afa
mov dword [r8 + 0x6c], eax
lea eax, [r15 - 0x2cf]
xor esi, 0x3127
mov dword [rsp + 0x28], eax
lea r9d, [r13 - 0x95c]
lea r8d, [r15 - 0x30]
mov dword [rsp + 0x20], esi
lea ecx, [r14 - 0xe3a]
mov rdx, rbx
call fcn.1400023b4
add edi, 0x522
mov esi, eax
add ebp, 0xaab
jmp 0x140002b68
mov eax, dword [r8 + 0x68]
mov r12d, edi
or eax, 0x3a30
mov dword [rsp + 0xa0], edi
sub eax, r13d
cmp edi, eax
je 0x140002b6f
mov eax, r14d
sub eax, ebp
imul eax, esi
cmp edi, eax
jg 0x140002b47
mov r12d, dword [rsp + 0x88]
mov edx, dword [rbx + 0x100]
mov eax, r15d
mov ecx, dword [rbx + 0xd0]
mov r9, rbx
xor edx, dword [rbx + 0x88]
xor ecx, 0x383d
mov r8d, dword [rbx + 0xc8]
sub edx, dword [0x1400150d4]
add r8d, r12d
imul eax, r14d
add eax, r13d
mov dword [rsp + 0x20], eax
call fcn.140001dd4
mov r14d, eax
add edi, 3
sub eax, ebp
imul eax, esi
cmp edi, eax
jle 0x140002aee
mov edi, dword [rsp + 0x30]
mov r12d, dword [rsp + 0xa0]
mov ecx, dword [rbx + 0x68]
add r12d, 3
or ecx, 0x3a30
mov dword [rsp + 0xa0], r12d
sub ecx, r13d
cmp r12d, ecx
jne 0x140002ae2
mov ecx, dword [rsp + 0xa8]
mov eax, dword [rsp + 0x88]
add eax, 0xb72
cmp esi, eax
je 0x140002d02
cmp r15d, ecx
je 0x140002cc9
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, 0x600
jl 0x140002b8f
lea r9d, [rbp + 0x19e]
xor r14d, 0xb17
xor ebp, 0x1d0
lea eax, [rsi - 0x10f6]
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov rdx, rbx
mov ecx, r14d
call fcn.140002204
jmp 0x140002d02
mov rax, qword [section..data]
mov ebp, dword [rax + 0x8c]
jmp 0x140002cf4
mov eax, edi
sub eax, dword [rbx + 0x58]
cmp edi, eax
jae 0x140002cf1
movsxd rcx, r15d
xor rcx, 0x2bf6
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
add ebp, 4
mov eax, dword [rbx + 0xc4]
or eax, esi
sub eax, edi
cmp ebp, eax
je 0x140002cd8
lea eax, [r13 + 0x99a]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret