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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov eax, dword [str.a6u]
add eax, dword [0x141dcf724]
xor eax, 0x284b255f
add eax, 0x775500e8
or eax, 0xc89b7751
cmp eax, 0x6e25e759
jne 0x140091133
mov eax, 0x20
call fcn.1400ef330
sub rsp, rax
mov rdx, rsp
mov eax, 0x400
call fcn.1400ef330
sub rsp, rax
mov qword [rdx], 0
mov qword [rdx + 8], 2
mov qword [rbp - 0x20], rcx
xor ecx, ecx
nop dword [rax]
mov eax, 0x20
call fcn.1400ef330
sub rsp, rax
mov rdx, rsp
mov eax, 0x400
call fcn.1400ef330
sub rsp, rax
mov rax, rsp
mov qword [rdx], 0
mov qword [rdx + 8], 2
test cl, cl
jne 0x140091140
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x28], rdx
mov qword [rdx + 0x10], 0
mov r13d, 0x200
mov eax, 2
mov qword [rbp - 8], rax
mov rdi, qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov qword [rbp], rax
xor ecx, ecx
xor eax, eax
mov qword [rbp - 0x10], rax
nop word cs:[rax + rax]
mov eax, dword [0x141dcf728]
and eax, dword [0x141dcf72c]
imul rax, rax, 0x2875429
shr rax, 0x39
add eax, 0x8a71272d
or eax, 0x8ca9fb1e
cmp eax, 0x30ec9cae
jb 0x1400911c0
cmp r13, 0x201
jae 0x140091210
mov eax, 0x200
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x18], rcx
mov r12, qword [rbp - 0x38]
mov r15, r13
jmp 0x1400912a7
mov eax, dword [0x141dcf730]
add eax, dword [0x141dcf734]
xor eax, 0x11e71e95
imul eax, eax, 0x7a761f66
and eax, 0x3ac7dd00
cmp eax, 0x6873f4dc
ja 0x140091210
mov rax, qword [rbp - 0x10]
sub r13, rax
sub rcx, rax
mov r12, qword [rbp - 8]
nop word cs:[rax + rax]
mov eax, dword [0x141dcf738]
and eax, dword [0x141dcf73c]
and eax, 0x31135a26
xor eax, 0x1954494f
cmp eax, 0xffa86771
ja 0x140091250
cmp r13, rcx
ja 0x140091364
mov rax, qword [rbp]
mov ecx, 0xffffffff
cmp rax, rcx
mov r15d, 0xffffffff
cmovb r15, rax
mov rcx, qword [rbp - 0x28]
mov qword [rcx + 0x10], r15
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x30], r15
mov qword [rbp - 8], r12
mov rax, r15
mov qword [rbp - 0x10], r15
mov eax, dword [0x141dcf740]
xor edx, edx
div dword [0x141dcf744]
shr eax, 1
imul rax, rax, 0x21251fdb
shr rax, 0x3c
add eax, 0x67f44eab
xor eax, 0x7557a2c2
cmp eax, 0x7643800
jae 0x1400912f0
sub rsp, 0x20
xor ecx, ecx
call rdi
xor ecx, ecx
mov rdx, r12
mov r8d, r15d
call r14
add rsp, 0x20
nop word [rax + rax]
mov esi, dword [0x141dcf748]
add esi, dword [0x141dcf74c]
xor esi, 0x239fc991
add esi, 0x5da8c1c0
xor esi, 0xd8844fb6
sub rsp, 0x20
xor ecx, ecx
call rdi
xor ecx, ecx
mov rdx, r12
mov r8d, r15d
call r14
add rsp, 0x20
cmp esi, 0x43c9c9e7
jb 0x1400912f0
mov r13d, eax
test eax, eax
jne 0x1400913fe
mov eax, dword [0x141dcf750]
imul eax, dword [0x141dcf754]
imul rax, rax, 0x1a010895
shr rax, 0x3b
imul eax, eax, 0xf25196
and eax, 0x2fdab3e
cmp eax, 0x83882dd4
jbe 0x1400913a0
jmp 0x1400913b0
sub rsp, 0x30
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rsi, qword [rbp - 0x28]
mov rcx, rsi
mov rdx, qword [rbp - 0x10]
mov r8, r13
call fcn.1400fe010
add rsp, 0x30
mov rax, qword [rsi]
mov qword [rbp], rax
mov r12, qword [rsi + 8]
jmp 0x140091276
sub rsp, 0x20
call rbx
add rsp, 0x20
xor ecx, ecx
test cl, cl
je 0x1400913c0
sub rsp, 0x20
call rbx
add rsp, 0x20
jmp 0x1400913a0
xor ecx, ecx
test cl, cl
jne 0x1400913c0
mov edx, 0xb32f2aff
nop dword [rax + rax]
mov ecx, dword [str.npR_n_r]
imul ecx, dword [0x141dcf75c]
imul ecx, ecx, 0x9ff54917
imul rcx, rdx
shr rcx, 0x3d
and ecx, 0xfffffffe
cmp ecx, 0xe9ad2b5e
ja 0x1400913d0
test eax, eax
jne 0x140091674
mov r13d, r13d
nop word cs:[rax + rax]
mov eax, dword [0x141dcf770]
and eax, dword [0x141dcf774]
or eax, 0x39f5dff9
cmp eax, 0x5a2d6bc
je 0x140091410
cmp r15, r13
jne 0x140091530
mov eax, dword [0x141dcf778]
xor eax, dword [0x141dcf77c]
imul eax, eax, 0x3a945b1b
imul rax, rax, 0x61b23e4d
shr rax, 0x3d
and eax, 0xfffffffe
cmp eax, 0xa5c3bc36
jbe 0x140091462
sub rsp, 0x20
call rbx
add rsp, 0x20
mov r12d, 0xffffffff
nop dword [rax + rax]
mov esi, dword [0x141dcf780]
xor esi, dword [0x141dcf784]
add esi, 0xad8db775
xor esi, 0x947faebf
imul rax, rsi, 0x1e265ffd
shr rax, 0x20
sub esi, eax
shr esi, 1
add esi, eax
shr esi, 0x1b
sub rsp, 0x20
call rbx
add rsp, 0x20
cmp esi, 0x40853e55
ja 0x140091470
cmp eax, 0x7a
jne 0x140091729
mov r8d, 0xb8724a2b
mov eax, dword [0x141dcf790]
add eax, dword [0x141dcf794]
and eax, 0xca01392
or eax, 0x125f642c
xor eax, 0x2c342941
cmp eax, 0x92afa46c
ja 0x1400914bd
lea rcx, [r15 + r15]
nop word cs:[rax + rax]
mov eax, dword [0x141dcf798]
xor edx, edx
div dword [0x141dcf79c]
add eax, 0xcee8e063
imul rax, r8
shr rax, 0x3f
xor eax, 0x1d537e2f
cmp r15, 0x7fffffff
mov r13, rcx
cmova r13, r12
cmp eax, 0x4aede2e1
ja 0x1400914f0
mov rcx, qword [rbp - 0x18]
jmp 0x1400911c0
mov rcx, qword [rbp - 0x18]
nop word cs:[rax + rax]
mov eax, dword [0x141dcf788]
or eax, dword [0x141dcf78c]
xor eax, 0xf0381c9e
imul eax, eax, 0x4c175ba1
shr eax, 2
imul rax, rax, 0x49dd3eb7
shr rax, 0x3c
cmp eax, 0x81cbb902
ja 0x140091540
cmp r15, r13
jb 0x1400911c0
nop word cs:[rax + rax]
mov eax, dword [0x141dcf7b8]
xor eax, dword [0x141dcf7bc]
imul rax, rax, 0x5238dea7
shr rax, 0x3e
or eax, 0x1ac6ca10
cmp eax, 0x3da32b97
ja 0x140091580
cmp qword [rbp - 0x30], r13
mov rdi, qword [rbp - 0x20]
jb 0x1400917b2
mov eax, dword [0x141dcf7c0]
imul eax, dword [0x141dcf7c4]
or eax, 0x57a8bb33
add eax, 0xff7843f5
cmp eax, 0xa38ce370
jae 0x1400915e5
sub rsp, 0x20
mov rcx, rdi
mov rdx, r12
mov r8, r13
call fcn.14008bbc0
add rsp, 0x20
xor esi, esi
nop word [rax + rax]
sub rsp, 0x20
mov rcx, rdi
mov rdx, r12
mov r8, r13
call fcn.14008bbc0
add rsp, 0x20
test sil, sil
jne 0x1400915f0
mov eax, 0x8b019ec5
mov ecx, dword [0x141dcf7c8]
xor ecx, dword [0x141dcf7cc]
imul rcx, rax
shr rcx, 0x3f
or ecx, 0xb429ee0c
cmp ecx, 0xd32d8fd4
ja 0x140091610
cmp qword [rbp], 0
mov rbx, qword [rbp - 8]
je 0x140091810
mov rsi, qword [0x141ddb260]
mov eax, dword [0x141dcf7d0]
and eax, dword [0x141dcf7d4]
imul eax, eax, 0x634ef249
add eax, 0xb3b3a0ee
and eax, 0x1dcb3bd3
cmp eax, 0x7e65f14f
jbe 0x1400917b4
jmp 0x1400917d1
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x20]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rbp], 0
je 0x140091700
mov rcx, qword [0x141ddb260]
sub rsp, 0x20
xor edx, edx
mov r8, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
mov ecx, 0xa703ce8b
nop word cs:[rax + rax]
mov eax, dword [0x141dcf760]
xor edx, edx
div dword [0x141dcf764]
or eax, 0xbffbceef
imul rax, rcx
shr rax, 0x3f
cmp eax, 0xcab67ddb
ja 0x1400916d0
nop word cs:[rax + rax]
mov eax, dword [0x141dcf768]
sub eax, dword [0x141dcf76c]
imul eax, eax, 0xbdc61a0a
imul rax, rax, 0x5bf98001
shr rax, 0x3d
cmp eax, 0x511201d5
je 0x140091700
jmp 0x140091830
mov eax, dword [0x141dcf7a0]
and eax, dword [0x141dcf7a4]
imul rax, rax, 0x66bca321
shr rax, 0x3b
add eax, 0x43f97121
or eax, 0x1de58f1d
cmp eax, 0x17780c5a
jae 0x140091760
ud2
mov eax, dword [0x141dcf7a8]
xor edx, edx
div dword [0x141dcf7ac]
add eax, 0x92d83117
or eax, 0x40212021
and eax, 0x4421f2b9
ud2
ud2
sub rsp, 0x20
xor edi, edi
mov rcx, rsi
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
test dil, dil
je 0x1400917f0
sub rsp, 0x20
mov rcx, rsi
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
jmp 0x1400917b4
mov eax, dword [0x141dcf7d8]
or eax, dword [0x141dcf7dc]
xor eax, 0xa433d24d
imul eax, eax, 0xac7507cf
cmp eax, 0x8249eb34
ja 0x1400917f0
nop
mov eax, dword [0x141dcf7e0]
or eax, dword [0x141dcf7e4]
imul eax, eax, 0x27ff5c5d
add eax, 0xd2b83e56
cmp eax, 0x8aa7230f
jb 0x140091810
nop
mov eax, dword [0x141dcf7e8]
xor eax, dword [0x141dcf7ec]
imul rax, rax, 0x44723d9b
shr rax, 0x3e
imul eax, eax, 0x2f2d39f0
or eax, 0xc99214d5
cmp eax, 0xd6dc97c7
jb 0x140091830
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret