Function at 0x1400bdb40
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, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 0x28], rdx
mov qword [rbp], rcx
xor eax, eax
test al, al
jne 0x1400bdb79
mov eax, 0x20
call fcn.1400f1350
sub rsp, rax
mov rcx, rsp
xor eax, eax
test al, al
je 0x1400bdb88
mov eax, 0x20
call fcn.1400f1350
sub rsp, rax
jmp 0x1400bdb63
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x48], rcx
mov eax, dword [0x141dd7e68]
xor eax, dword [0x141dd7e6c]
or eax, 0x20c0c810
and eax, 0x70c0ecf0
imul eax, eax, 0x11663efa
cmp eax, 0x12ecb0bf
jb 0x1400bdbf9
mov eax, dword [0x141dd7e70]
and eax, dword [0x141dd7e74]
imul ecx, eax, 0x1bbe7a0d
add ecx, 0xb41eb4f9
or ecx, 0x8dccc01e
mov eax, 0x20
call fcn.1400f1350
sub rsp, rax
mov rdx, rsp
mov eax, 0x400
call fcn.1400f1350
sub rsp, rax
mov rax, rsp
cmp ecx, 0x5fee7126
jae 0x1400bdc15
mov eax, 0x20
call fcn.1400f1350
sub rsp, rax
mov eax, 0x400
call fcn.1400f1350
sub rsp, rax
jmp 0x1400bdbb3
mov qword [rbp - 0x50], rax
mov edi, 0xffffffff
mov qword [rdx], 0
mov qword [rdx + 8], 2
mov qword [rbp - 0x18], rdx
mov qword [rdx + 0x10], 0
mov r15d, 0x200
mov eax, 2
mov qword [rbp - 0x20], rax
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, 0xa8c8c9df
xor eax, eax
mov qword [rbp - 8], rax
xor r8d, r8d
xor r12d, r12d
nop word cs:[rax + rax]
mov eax, dword [0x141dd7e78]
imul eax, dword [0x141dd7e7c]
add eax, 0x55d5b3bd
imul rax, rax, 0x6a3e01fb
shr rax, 0x3c
or eax, 0x57107658
cmp eax, 0xab581
je 0x1400bdc70
cmp r15, 0x201
jae 0x1400bdcc0
mov eax, 0x200
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x10], r8
mov rsi, qword [rbp - 0x50]
mov r14, r15
jmp 0x1400bdd26
mov eax, dword [0x141dd7e80]
xor edx, edx
div dword [0x141dd7e84]
nop
mov eax, dword [str.d_r_]
or eax, dword [0x141dd7e8c]
imul eax, eax, 0xe5ff6d4
cmp eax, 0x1df7ee2e
je 0x1400bdcd0
sub r15, r12
sub r8, r12
xor eax, eax
test al, al
jne 0x1400bdcef
cmp r15, r8
ja 0x1400bdefa
mov rcx, qword [rbp - 8]
cmp rcx, rdi
mov r12d, 0xffffffff
cmovb r12, rcx
mov rax, qword [rbp - 0x18]
mov qword [rax + 0x10], r12
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x40], r12
mov rsi, qword [rbp - 0x20]
mov r14, r12
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp - 0x28]
mov edx, r14d
mov qword [rbp - 0x38], rsi
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
add rsp, 0x20
mov esi, eax
test eax, eax
jne 0x1400bdda7
xor eax, eax
test al, al
je 0x1400bdd70
sub rsp, 0x20
call rbx
add rsp, 0x20
nop word cs:[rax + rax]
mov r15d, dword [0x141dd7eb0]
add r15d, dword [0x141dd7eb4]
or r15d, 0x8200
and r15d, 0x80008a14
sub rsp, 0x20
call rbx
add rsp, 0x20
cmp r15d, 0xd719649a
ja 0x1400bdd70
test eax, eax
jne 0x1400be31c
mov r15d, esi
nop word [rax + rax]
mov eax, dword [0x141dd7ee0]
sub eax, dword [0x141dd7ee4]
imul eax, eax, 0xcaa8805c
xor eax, 0xccc0cba
cmp eax, 0x40ff71c8
jb 0x1400bddb0
nop
mov eax, dword [0x141dd7ee8]
mov ecx, dword [0x141dd7eec]
add eax, ecx
add eax, 0x786d2f0a
and eax, 0x200e511a
cmp eax, 0xd6bbe7bf
ja 0x1400bddd0
cmp r14, r15
jne 0x1400bde70
sub rsp, 0x20
call rbx
add rsp, 0x20
cmp eax, 0x7a
jne 0x1400be4d7
mov r8, qword [rbp - 0x10]
nop dword [rax + rax]
mov eax, dword [0x141dd7f00]
sub eax, dword [0x141dd7f04]
add eax, 0x53977ff6
xor eax, 0x4bdc7e9c
cmp eax, 0x18fdd292
jb 0x1400bde10
lea rax, [r14 + r14]
nop word cs:[rax + rax]
mov ecx, dword [0x141dd7f08]
and ecx, dword [0x141dd7f0c]
xor ecx, 0x84a11086
or ecx, 0x3b126d78
cmp r14, 0x7fffffff
mov r15, rax
cmova r15, rdi
cmp ecx, 0xc01156d0
ja 0x1400bde40
jmp 0x1400bded0
mov eax, dword [0x141dd7ef0]
add eax, dword [0x141dd7ef4]
and eax, 0x11484220
xor eax, 0x18672891
cmp eax, 0x598ba1bf
ja 0x1400bde70
nop dword [rax]
mov eax, dword [0x141dd7ef8]
sub eax, dword [0x141dd7efc]
add eax, 0x805b72d0
imul rax, rax, 0x6ee65f53
shr rax, 0x3d
imul eax, eax, 0xac867f2
cmp eax, 0xf9a21e20
ja 0x1400bde90
cmp r14, r15
jae 0x1400be000
mov r8, qword [rbp - 0x10]
nop word cs:[rax + rax]
mov eax, dword [0x141dd7f10]
or eax, dword [0x141dd7f14]
xor eax, 0xb34c63d7
imul rax, r13
shr rax, 0x3e
add eax, 0x593a9885
cmp eax, 0xfa9ac198
jae 0x1400bded0
jmp 0x1400bdc70
mov eax, dword [0x141dd7e90]
xor edx, edx
div dword [0x141dd7e94]
and eax, 0x62759db1
add eax, 0xec509600
cmp eax, 0x82d5ce3c
mov r14, qword [rbp - 0x18]
jae 0x1400bdf42
sub rsp, 0x30
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rcx, r14
mov rdx, r12
mov r8, r15
call fcn.1400f2140
add rsp, 0x30
mov eax, dword [0x141dd7e98]
xor edx, edx
div dword [0x141dd7e9c]
mov esi, eax
add esi, 0xc54e52a
or esi, 0xddb4ce59
xor esi, 0xb9e58791
sub rsp, 0x30
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rcx, r14
mov rdx, r12
mov r8, r15
call fcn.1400f2140
add rsp, 0x30
cmp esi, 0xdcc52b6f
ja 0x1400bdf1d
mov rax, qword [r14]
mov qword [rbp - 8], rax
nop dword [rax + rax]
mov eax, dword [0x141dd7ea0]
and eax, dword [0x141dd7ea4]
imul rax, rax, 0x153dbadb
shr rax, 0x3c
imul eax, eax, 0xf1444822
cmp eax, 0x49635f98
je 0x1400bdfa0
mov rax, qword [r14 + 8]
mov qword [rbp - 0x20], rax
nop dword [rax]
mov eax, dword [0x141dd7ea8]
imul eax, dword [0x141dd7eac]
or eax, 0x3d8223c9
add eax, 0x59c59721
cmp eax, 0xd415a969
ja 0x1400bdfd0
jmp 0x1400bdcfe
mov eax, dword [0x141dd7f28]
imul eax, dword [0x141dd7f2c]
xor eax, 0x41c52c83
imul eax, eax, 0x979f3f8a
or eax, 0x7f4a0ed0
cmp eax, 0x94073e14
ja 0x1400be000
cmp qword [rbp - 0x40], r15
jb 0x1400be524
mov rax, qword [rbp - 0x30]
mov rdi, qword [rax]
mov r13, qword [rax + 8]
mov rbx, qword [rax + 0x10]
lea rax, [rbx - 1]
nop word cs:[rax + rax]
mov ecx, dword [0x141dd7f30]
imul ecx, dword [0x141dd7f34]
imul ecx, ecx, 0x53f51878
or ecx, 0x9100004
and ecx, 0x5f981db4
cmp ecx, 0x6accead8
ja 0x1400be050
cmp rax, 4
jb 0x1400be4ac
nop word cs:[rax + rax]
mov eax, dword [0x141dd7f38]
sub eax, dword [0x141dd7f3c]
and eax, 0x97d817e9
add eax, 0xa90a72d
cmp eax, 0x4a8e7a01
ja 0x1400be090
test rbx, rbx
je 0x1400be595
lea rax, [rbx - 5]
nop word [rax + rax]
mov ecx, dword [0x141dd7f48]
sub ecx, dword [0x141dd7f4c]
imul ecx, ecx, 0xac35baad
add ecx, 0x32a4dc74
and ecx, 0x3d5bd551
cmp ecx, 0x358fe018
ja 0x1400be0c0
cmp rax, r15
jne 0x1400be165
lea rdx, [r13 + 8]
nop
mov eax, dword [0x141dd7f50]
sub eax, dword [0x141dd7f54]
add eax, 0x486f4091
or eax, 0x9a3be1cd
cmp eax, 0x9de0fb6a
je 0x1400be0f0
lea r12, [r15 + r15]
sub rsp, 0x20
mov rcx, qword [rbp - 0x38]
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
add rsp, 0x20
mov ecx, eax
mov eax, dword [0x141dd7f58]
xor edx, edx
div dword [0x141dd7f5c]
nop word cs:[rax + rax]
mov eax, dword [0x141dd7f60]
and eax, dword [0x141dd7f64]
add eax, 0x64f764cb
or eax, 0xe5b429ec
cmp eax, 0xcdca654b
jb 0x1400be140
test ecx, ecx
je 0x1400be1f0
mov rsi, rdi
mov r15, rbx
mov rax, qword [rbp]
mov qword [rax], rsi
mov qword [rax + 8], r13
mov qword [rax + 0x10], r15
cmp qword [rbp - 8], 0
je 0x1400be73d
nop word cs:[rax + rax]
mov eax, dword [0x141dd7fb8]
or eax, dword [0x141dd7fbc]
and eax, 0x100c4042
imul eax, eax, 0xded79bef
cmp eax, 0xc712489a
je 0x1400be190
mov rax, qword [rbp - 0x18]
mov rsi, qword [rax + 8]
mov eax, dword [0x141dd7fc0]
imul eax, dword [0x141dd7fc4]
and eax, 0xc33d61dc
mov ecx, 0xd3dbe28b
imul rcx, rax
shr rcx, 0x3e
or ecx, 0xb973b5a8
cmp ecx, 0x9f9b482c
jae 0x1400be6d8
jmp 0x1400be721
mov eax, dword [0x141dd7f78]
sub eax, dword [0x141dd7f7c]
or eax, 0x245bc6f5
imul eax, eax, 0x403dc329
and eax, 0x3483d3bd
cmp eax, 0x3365b0b2
ja 0x1400be1f0
nop word cs:[rax + rax]
mov eax, dword [0x141dd7f80]
or eax, dword [0x141dd7f84]
xor eax, 0xd522da16
add eax, 0x4fe5ffc6
cmp eax, 0x71264da7
jb 0x1400be220
test esi, esi
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x10], rdi
je 0x1400be46e
movzx eax, byte [0x141dde6f8]
mov eax, dword [0x141dd7f88]
sub eax, dword [0x141dd7f8c]
or eax, 0x409a81c3
xor eax, 0x77b08a2b
imul rax, rax, 0x10003f53
shr rax, 0x38
cmp eax, 0x25c9264c
jbe 0x1400be290
sub rsp, 0x20
xor ecx, ecx
mov rdx, r12
call fcn.1400c29b0
add rsp, 0x20
nop
mov eax, dword [0x141dd7f90]
sub eax, dword [0x141dd7f94]
or eax, 0xedeb7b12
imul ebx, eax, 0xc14c5e70
sub rsp, 0x20
xor ecx, ecx
mov rdx, r12
call fcn.1400c29b0
add rsp, 0x20
cmp ebx, 0xd43c27aa
ja 0x1400be290
mov rsi, rax
test rax, rax
jne 0x1400be473
mov eax, dword [0x141dd7f98]
xor edx, edx
div dword [0x141dd7f9c]
add eax, 0xe322bbe3
xor eax, 0x71c79828
cmp eax, 0x3a03a784
jae 0x1400be2ee
ud2
mov eax, 0xc25eb7e7
mov ecx, dword [0x141dd7fa0]
sub ecx, dword [0x141dd7fa4]
imul rcx, rax
shr rcx, 0x3f
imul ecx, ecx, 0xb28d92f3
ud2
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rbp - 8], 0
mov r14, qword [rbp - 0x30]
je 0x1400be3e0
mov rsi, qword [0x141dde6e0]
mov eax, dword [0x141dd7eb8]
xor edx, edx
div dword [0x141dd7ebc]
imul eax, eax, 0x1405ec
add eax, 0x866d5df5
cmp eax, 0x55ab1409
mov r15, qword [rbp - 0x20]
jae 0x1400be397
sub rsp, 0x20
mov rcx, rsi
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
xor edi, edi
mov rbx, qword [sym.imp.KERNEL32.dll_HeapFree]
sub rsp, 0x20
mov rcx, rsi
xor edx, edx
mov r8, r15
call rbx
add rsp, 0x20
test dil, dil
jne 0x1400be3a0
nop word [rax + rax]
mov eax, dword [0x141dd7ec0]
xor edx, edx
div dword [0x141dd7ec4]
add eax, 0xba1eeb6d
and eax, 0x610fff43
cmp eax, 0x77d2f21e
ja 0x1400be3c0
nop
mov eax, dword [0x141dd7ec8]
and eax, dword [0x141dd7ecc]
imul eax, eax, 0x81816e5a
cmp eax, 0xc778ddca
je 0x1400be3e0
mov rax, qword [r14]
nop dword [rax]
mov ecx, dword [0x141dd7ed0]
and ecx, dword [0x141dd7ed4]
add ecx, 0xd747b3e7
and ecx, 0x8f7f7d8c
xor ecx, 0x39f79c7e
cmp ecx, 0x6cff9973
jb 0x1400be400
test rax, rax
je 0x1400be5e7
nop
mov eax, dword [0x141dd7ed8]
add eax, dword [0x141dd7edc]
imul eax, eax, 0x2a8adfd2
add eax, 0xce6ac356
cmp eax, 0x7ac3e4b7
jb 0x1400be430
mov r8, qword [r14 + 8]
mov rcx, qword [0x141dde6e0]
sub rsp, 0x20
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
jmp 0x1400be5e7
mov esi, 2
mov eax, dword [0x141dd7fa8]
xor eax, dword [0x141dd7fac]
add eax, 0x199213a7
imul rax, rax, 0x6d67495b
shr rax, 0x3e
or eax, 0xe82f2a8c
cmp eax, 0x7d764cf5
mov rdi, qword [rbp - 0x48]
mov r14, qword [rbp - 0x38]
jne 0x1400be5f8
jmp 0x1400be65b
ud2
mov eax, dword [0x141dd7f18]
and eax, dword [0x141dd7f1c]
or eax, 0xb3860219
imul eax, eax, 0x68b0fa0b
add eax, 0xad7803e5
cmp eax, 0x1698f85a
jae 0x1400be500
ud2
mov eax, dword [0x141dd7f20]
add eax, dword [0x141dd7f24]
or eax, 0x39eb7ff1
add eax, 0xdb03b1b6
ud2
mov eax, dword [0x141dd7fd8]
imul eax, dword [0x141dd7fdc]
add eax, 0xdd1d6142
and eax, 0x6175c107
cmp eax, 0x44c35dc2
jbe 0x1400be544
ud2
mov eax, 0xb3190fa5
nop dword [rax]
mov ecx, dword [0x141dd7fe0]
or ecx, dword [0x141dd7fe4]
imul rcx, rax
shr rcx, 0x3f
or ecx, 0x5866118e
ud2
mov eax, dword [0x141dd7f68]
and eax, dword [0x141dd7f6c]
add eax, 0x3a67dbe0
or eax, 0xbf446c07
and eax, 0xbf4e7d2f
cmp eax, 0x4998be8f
jae 0x1400be5c0
ud2
mov eax, dword [0x141dd7f70]
xor eax, dword [0x141dd7f74]
imul eax, eax, 0x6e42ea3c
add eax, 0x4b7f0794
or eax, 0xb1b07e58
ud2
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, dword [0x141dd7fb0]
or eax, dword [str._fm_]
imul ebx, eax, 0xf2a4bbb8
or ebx, 0xaea7fe59
xor ebx, 0xf7e8186f
sub rsp, 0x20
mov rcx, rsi
mov rdx, r14
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
add rsp, 0x20
mov qword [rdi], r15
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], r15
sub rsp, 0x20
mov rcx, rdi
call fcn.1400dcfb0
add rsp, 0x20
mov r13, qword [rdi + 8]
mov word [r13 + r15*2], 0
cmp ebx, 0xe23be916
jbe 0x1400be69c
sub rsp, 0x20
mov rcx, rsi
mov rdx, r14
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
add rsp, 0x20
mov qword [rdi], r15
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], r15
sub rsp, 0x20
mov rcx, rdi
call fcn.1400dcfb0
add rsp, 0x20
mov rax, qword [rdi + 8]
mov word [rax + r15*2], 0
jmp 0x1400be5f8
inc r15
mov rsi, qword [rdi]
cmp qword [rbp - 0x10], 0
je 0x1400be16b
mov rcx, qword [0x141dde6e0]
sub rsp, 0x20
xor edx, edx
mov r8, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov qword [rbp - 8], rax
jmp 0x1400be16b
mov eax, dword [0x141dd7fc8]
xor edx, edx
div dword [0x141dd7fcc]
mov ecx, 0x89db162b
imul rcx, rax
shr rcx, 0x3f
imul edi, ecx, 0x94cfbab0
or edi, 0xe0a03a99
mov rcx, qword [0x141dde6e0]
sub rsp, 0x20
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
cmp edi, 0xcde87d22
jne 0x1400be73d
mov rcx, qword [0x141dde6e0]
sub rsp, 0x20
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
jmp 0x1400be6d8
xor eax, eax
nop
test al, al
jne 0x1400be740
mov eax, 0xc3414361
nop dword [rax]
mov ecx, dword [0x141dd7fd0]
sub ecx, dword [0x141dd7fd4]
add ecx, 0xe25049fa
or ecx, 0xdcdc954c
imul rcx, rax
shr rcx, 0x3e
cmp ecx, 0x17d5e3d6
ja 0x1400be750
jmp 0x1400be5e7