Function at 0x1400be690
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rdi, rcx
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x78]
call fcn.1400a09f0
mov rax, qword [rsp + 0x48]
nop word cs:[rax + rax]
mov ecx, dword [0x141dd1df8]
imul ecx, dword [0x141dd1dfc]
imul ecx, ecx, 0xa2708761
add ecx, 0x7281057
and ecx, 0x2717b4f
cmp ecx, 0x6023291c
je 0x1400be6d0
mov rbx, qword [rsp + 0x38]
cmp eax, 2
jne 0x1400be76e
mov eax, dword [0x141dd1eb8]
and eax, dword [0x141dd1ebc]
mov qword [rdi + 8], rbx
shr eax, 1
mov ecx, 0x91d8aeef
imul rcx, rax
shr rcx, 0x3d
xor ecx, 0xb3b359b6
imul eax, ecx, 0xc02a9aa6
cmp eax, 0xa9e502c7
jbe 0x1400be740
mov dword [rdi], 1
nop dword [rax]
mov eax, dword [0x141dd1ec0]
add eax, dword [0x141dd1ec4]
imul eax, eax, 0xdeeef827
xor eax, 0xcd008dbf
add eax, 0x6b48cdf
mov dword [rdi], 1
cmp eax, 0xbcc180a3
ja 0x1400be740
jmp 0x1400bec7a
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rcx
mov rsi, qword [rsp + 0x70]
nop word cs:[rax + rax]
mov ecx, dword [0x141dd1e00]
imul ecx, dword [0x141dd1e04]
add ecx, 0x285a8805
imul rcx, rcx, 0x52e0e189
shr rcx, 0x3d
cmp ecx, 0x59b30465
je 0x1400be7a0
test rax, rax
je 0x1400be864
mov eax, dword [0x141dd1e08]
and eax, dword [0x141dd1e0c]
cmp eax, 0xfed3ee5c
jne 0x1400be7eb
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word cs:[rax + rax]
mov eax, dword [0x141dd1e10]
add eax, dword [0x141dd1e14]
and eax, 0x4dcc0af7
imul rax, rax, 0xf48482d
shr rax, 0x3a
imul r13d, eax, 0xc2edda5b
mov rcx, r12
call r14
cmp r13d, 0xabda0549
ja 0x1400be800
mov eax, 0xf94993c5
nop word [rax + rax]
mov ecx, dword [0x141dd1e18]
mov edx, dword [0x141dd1e1c]
add ecx, edx
add ecx, 0x841eaf1c
imul rcx, rax
shr rcx, 0x3e
cmp ecx, 0x6cbe607f
ja 0x1400be840
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x1400be870
xor eax, eax
test al, al
je 0x1400be888
mov rcx, rbx
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r14, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov eax, dword [0x141dd1e20]
xor eax, dword [0x141dd1e24]
and eax, 0x57e0bc75
imul r12d, eax, 0x5692d1c0
mov rcx, rbx
mov edx, 0xffffffff
call r14
cmp r12d, 0xa0c7c017
je 0x1400be890
test eax, eax
je 0x1400be948
mov eax, dword [0x141dd1e38]
xor edx, edx
div dword [0x141dd1e3c]
cmp eax, 0x7e40d807
jne 0x1400be8df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
mov eax, dword [0x141dd1e40]
and eax, dword [0x141dd1e44]
imul rax, rax, 0x1d866b05
shr rax, 0x3c
add eax, 0x75620a0d
imul r12, rax, 0x19c7f4dd
shr r12, 0x3a
call r14
cmp r12d, 0x79d7f9ec
je 0x1400be8f0
mov ecx, eax
mov eax, dword [0x141dd1e78]
xor edx, edx
div dword [0x141dd1e7c]
and eax, 0xe8c763a1
cmp eax, 0x204a9542
jne 0x1400beae7
jmp 0x1400beb14
mov dword [rsp + 0x38], 0
mov eax, dword [0x141dd1e28]
xor edx, edx
div dword [0x141dd1e2c]
xor eax, 0x7a3470ac
mov ecx, 0x8b4384cd
imul rcx, rax
shr rcx, 0x20
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 0x1d
cmp eax, 0x2b003244
jne 0x1400be98e
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea r12, [rsp + 0x38]
mov r14, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop word [rax + rax]
mov eax, dword [0x141dd1e30]
xor edx, edx
div dword [0x141dd1e34]
or eax, 0xeff979ff
imul r13, rax, 0x64d8476b
shr r13, 0x3e
mov rcx, rbx
mov rdx, r12
call r14
cmp r13d, 0x818b8560
ja 0x1400be9a0
test eax, eax
je 0x1400bea4e
mov ecx, dword [rsp + 0x38]
nop dword [rax + rax]
mov eax, dword [0x141dd1e60]
xor edx, edx
div dword [0x141dd1e64]
or eax, 0xb3598d9a
and eax, 0xb3f9edda
cmp eax, 0x64bbd16
je 0x1400be9e0
mov eax, dword [0x141dd1e68]
xor eax, dword [0x141dd1e6c]
imul eax, eax, 0x14e5c5c5
add eax, 0xd3d55ff
cmp eax, 0x59b2203d
jae 0x1400bea20
mov dword [rdi + 4], ecx
mov eax, dword [0x141dd1e70]
xor eax, dword [0x141dd1e74]
and eax, 0xeb548749
imul eax, eax, 0x6e1c9f17
or eax, 0x72645fb3
mov dword [rdi + 4], ecx
cmp eax, 0x62e49fe4
je 0x1400bea20
xor r14d, r14d
jmp 0x1400beb2b
mov eax, dword [0x141dd1e48]
imul eax, dword [0x141dd1e4c]
imul eax, eax, 0xfc41666a
add eax, 0xd3f4880f
xor eax, 0x77e16394
cmp eax, 0xa0f36255
jae 0x1400bea78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov eax, dword [0x141dd1e50]
or eax, dword [0x141dd1e54]
or eax, 0x83075103
imul r12d, eax, 0x2c163a81
add r12d, 0xcbca0754
call r14
cmp r12d, 0xd678730d
ja 0x1400bea80
mov ecx, eax
nop dword [rax]
mov eax, dword [0x141dd1e58]
sub eax, dword [0x141dd1e5c]
imul eax, eax, 0xe86a1e2c
imul rdx, rax, 0x298d3ab
shr rdx, 0x20
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1f
add eax, 0xb2f30d93
cmp eax, 0xa01b603d
jbe 0x1400beab0
jmp 0x1400be925
mov eax, dword [0x141dd1e80]
imul eax, dword [0x141dd1e84]
add eax, 0x8817bfa4
and eax, 0x30306001
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
mov qword [rdi + 8], rdx
cmp eax, 0x829911e8
jne 0x1400beb25
mov rax, rcx
shl rax, 0x20
or rax, 2
mov qword [rdi + 8], rax
jmp 0x1400beae7
mov r14d, 1
mov eax, dword [0x141dd1e88]
or eax, dword [0x141dd1e8c]
or eax, 0x2fb356ce
imul eax, eax, 0xe334c8c9
cmp eax, 0xa10c01f7
jne 0x1400beb5f
mov dword [rdi], r14d
mov r12, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call r12
mov rcx, r15
call r12
mov r12, qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word cs:[rax + rax]
mov r13d, dword [0x141dd1e90]
add r13d, dword [0x141dd1e94]
and r13d, 0x4710f338
add r13d, 0x97ecddee
mov dword [rdi], r14d
mov rcx, rbx
call r12
mov rcx, r15
call r12
cmp r13d, 0xe0733188
ja 0x1400beb70
test rbp, rbp
je 0x1400bebc0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word cs:[rax + rax]
mov eax, dword [0x141dd1e98]
and eax, dword [0x141dd1e9c]
add eax, 0xca7fbe7a
or eax, 0xe6cd4868
xor eax, 0x1636e991
cmp eax, 0x86172b5f
jb 0x1400bebc0
nop word cs:[rax + rax]
mov eax, dword [0x141dd1ea0]
and eax, dword [0x141dd1ea4]
add eax, 0x23efac89
and eax, 0x97c2ced5
add eax, 0x37d87536
cmp eax, 0x6495934c
ja 0x1400bebf0
cmp qword [rsp + 0x30], 0
je 0x1400bec7a
mov eax, dword [0x141dd1ea8]
add eax, dword [0x141dd1eac]
or eax, 0x189b5bb5
xor eax, 0xc7f61e44
add eax, 0x84a0792d
cmp eax, 0xd61c5c6a
jae 0x1400bec50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word cs:[rax + rax]
mov eax, dword [0x141dd1eb0]
xor edx, edx
div dword [0x141dd1eb4]
mov edi, eax
or edi, 0xcc194918
add edi, 0xe7a882ac
mov rcx, rsi
call r12
cmp edi, 0x42ed7142
jb 0x1400bec50
mov eax, 0xde064899
nop
mov ecx, dword [str.__]
sub ecx, dword [0x141dd1ecc]
imul ecx, ecx, 0xdd4af802
imul rcx, rax
shr rcx, 0x3f
or ecx, 0x8a8d1a22
cmp ecx, 0x3dcdaad8
jb 0x1400bec80
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret