Function at 0x1400c0140
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, rdx
mov rsi, rcx
mov dword [rsp + 0x78], 0
mov eax, dword [0x141dd5eb8]
sub eax, dword [0x141dd5ebc]
xor eax, 0xbc6b8ea4
mov ecx, 0x9b547b49
imul rcx, rax
shr rcx, 0x3c
imul eax, ecx, 0xde16f93b
cmp eax, 0x23c3ac76
jae 0x1400c019e
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x78]
mov rdx, rdi
call fcn.1400a2ec0
lea rbx, [rsp + 0x38]
lea r14, [rsp + 0x78]
xor ebp, ebp
nop word [rax + rax]
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.1400a2ec0
test bpl, bpl
jne 0x1400c01b0
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
cmp ecx, 2
jne 0x1400c0280
mov eax, 0xabe3cac1
nop dword [rax + rax]
mov ecx, dword [0x141dd5f70]
or ecx, dword [0x141dd5f74]
add ecx, 0xf49a189c
imul rcx, rax
shr rcx, 0x3f
xor ecx, 0x6fcbd6f3
cmp ecx, 0x69893b
jb 0x1400c01e0
mov eax, dword [0x141dd5f78]
xor edx, edx
div dword [str.h__bE0]
imul eax, eax, 0x921e3272
and eax, 0x3f4d72be
cmp eax, 0xf6511c08
jne 0x1400c0240
mov qword [rsi + 8], rdi
mov dword [rsi], 1
nop word cs:[rax + rax]
mov eax, dword [0x141dd5f80]
imul eax, dword [0x141dd5f84]
and eax, 0x64628818
imul eax, eax, 0x82c767f
add eax, 0x200285eb
mov qword [rsi + 8], rdi
mov dword [rsi], 1
cmp eax, 0xe934c768
ja 0x1400c0240
jmp 0x1400c0750
mov eax, dword [0x141dd5ec0]
sub eax, dword [0x141dd5ec4]
xor eax, 0xd6f2e285
imul eax, eax, 0x910ed2ad
imul rax, rax, 0x32e237a7
shr rax, 0x3d
cmp eax, 0x9b9150d7
ja 0x1400c0280
nop dword [rax]
mov eax, dword [0x141dd5ec8]
xor edx, edx
div dword [0x141dd5ecc]
imul rax, rax, 0x14eee60d
shr rax, 0x3c
or eax, 0x88b4ef3c
cmp eax, 0x43a5bfd4
jb 0x1400c02b0
mov r15, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400c0359
mov r12, qword [rsp + 0x50]
mov eax, dword [0x141dd5ed0]
sub eax, dword [0x141dd5ed4]
or eax, 0xa0042000
and eax, 0xf055e004
add eax, 0xb80a7945
cmp eax, 0x36ee4312
jb 0x1400c034e
mov r13d, dword [0x141dd5ed8]
imul r13d, dword [0x141dd5edc]
xor r13d, 0x8800004
or r13d, 0xf24b9d7b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r13d, 0x17e8406b
jne 0x1400c0359
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400c031f
xor eax, eax
nop dword [rax + rax]
test al, al
jne 0x1400c0360
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, eax
mov eax, dword [0x141dd5ee0]
xor edx, edx
div dword [0x141dd5ee4]
mov eax, 0xb9977b9b
nop word [rax + rax]
mov edx, dword [0x141dd5ee8]
add edx, dword [0x141dd5eec]
imul rdx, rax
shr rdx, 0x3f
add edx, 0x12a915f9
cmp edx, 0x4badfc80
ja 0x1400c0390
test ecx, ecx
mov qword [rsp + 0x30], rbp
je 0x1400c0482
mov eax, dword [0x141dd5f00]
xor edx, edx
div dword [0x141dd5f04]
mov ecx, 0x8124d6c3
imul rcx, rax
shr rcx, 0x3f
imul eax, ecx, 0x6c428d57
add eax, 0x464229ef
cmp eax, 0x3de47e67
jae 0x1400c03f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov eax, dword [0x141dd5f08]
sub eax, dword [0x141dd5f0c]
add eax, 0xe5aaff9c
imul rcx, rax, 0x57ea0527
shr rcx, 0x20
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 0x1d
imul r13d, eax, 0x6f4565ab
call r12
cmp r13d, 0xcefeb9cd
je 0x1400c0400
nop dword [rax + rax]
mov ecx, dword [0x141dd5f10]
or ecx, dword [0x141dd5f14]
or ecx, 0xe559f76f
imul rcx, rcx, 0x249fb017
shr rcx, 0x3d
or ecx, 0xcd2e58b2
cmp ecx, 0xa7387fba
jbe 0x1400c0440
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov r13d, 1
jmp 0x1400c058d
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, eax
nop word [rax + rax]
mov eax, dword [0x141dd5ef0]
xor edx, edx
div dword [0x141dd5ef4]
add eax, 0x58031d84
imul rax, rax, 0x49e21bd7
shr rax, 0x3d
cmp eax, 0x445b95a4
ja 0x1400c04a0
mov eax, 0x91cbe313
nop word [rax + rax]
mov edx, dword [0x141dd5ef8]
sub edx, dword [0x141dd5efc]
imul rdx, rax
shr rdx, 0x3f
or edx, 0x87505ffc
cmp edx, 0x59be89e
je 0x1400c04d0
test ecx, ecx
je 0x1400c0647
mov eax, dword [rsp + 0x38]
mov ecx, dword [0x141dd5f28]
xor ecx, dword [0x141dd5f2c]
add ecx, 0xe5c4c9a
xor ecx, 0xf2ec7f80
imul ecx, ecx, 0xf33ffe60
cmp ecx, 0x507ea10f
jne 0x1400c0530
mov dword [rsi + 4], eax
nop word [rax + rax]
mov ecx, dword [0x141dd5f30]
sub ecx, dword [0x141dd5f34]
add ecx, 0xf8173638
xor ecx, 0x193362e3
mov dword [rsi + 4], eax
cmp ecx, 0xbef4fc2b
jb 0x1400c0530
mov eax, 0x93d58c33
nop dword [rax + rax]
mov ecx, dword [0x141dd5f38]
sub ecx, dword [0x141dd5f3c]
shr ecx, 1
imul rcx, rax
shr rcx, 0x3e
or ecx, 0xf4b42152
imul ecx, ecx, 0xf5c500d4
cmp ecx, 0x2f822291
je 0x1400c0560
xor r13d, r13d
mov eax, dword [0x141dd5f40]
imul eax, dword [0x141dd5f44]
and eax, 0xa6bd9457
mov ecx, 0x97f672ff
imul rcx, rax
shr rcx, 0x3d
cmp ecx, 0xd3c3e756
jne 0x1400c05ca
mov dword [rsi], r13d
mov r12, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call r12
mov rcx, r15
call r12
mov r12, qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word cs:[rax + rax]
mov eax, dword [0x141dd5f48]
mov ecx, dword [0x141dd5f4c]
lea ebp, [rax + rcx]
add ebp, 0x6124fe6c
or ebp, 0xfc7bfdef
mov dword [rsi], r13d
mov rcx, rdi
call r12
mov rcx, r15
call r12
cmp ebp, 0xd7cae3f1
je 0x1400c05e0
cmp qword [rsp + 0x28], 0
je 0x1400c06f4
mov eax, dword [0x141dd5f50]
or eax, dword [0x141dd5f54]
imul rax, rax, 0x4977cb2b
shr rax, 0x3e
imul eax, eax, 0xf7722f1c
cmp eax, 0x54739118
jbe 0x1400c06b4
jmp 0x1400c06e9
mov eax, dword [0x141dd5f18]
and eax, dword [0x141dd5f1c]
imul eax, eax, 0x2626a29e
or eax, 0x7813b804
imul eax, eax, 0xb129a685
cmp eax, 0x8be2e1f5
jae 0x1400c0671
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, 0x86c3dda5
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov eax, dword [0x141dd5f20]
xor edx, edx
div dword [0x141dd5f24]
imul ebp, eax, 0xe997d4de
or ebp, 0x4c2804ec
shr ebp, 1
imul rbp, r12
shr rbp, 0x3e
call r13
cmp ebp, 0xb50e2877
ja 0x1400c0680
jmp 0x1400c046b
mov eax, dword [0x141dd5f58]
xor edx, edx
div dword [0x141dd5f5c]
imul eax, eax, 0xbfa77fe8
add eax, 0x71988aa
imul rsi, rax, 0x3b8c5b5f
shr rsi, 0x3c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xa2d8aeb5
jne 0x1400c06f4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400c06b4
cmp qword [rsp + 0x30], 0
je 0x1400c0750
mov eax, dword [0x141dd5f60]
xor eax, dword [0x141dd5f64]
or eax, 0x434933d2
cmp eax, 0x251c6333
jne 0x1400c0720
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax]
mov eax, dword [0x141dd5f68]
xor eax, dword [str.L1vz]
or eax, 0xbe3dbd9f
imul esi, eax, 0x4f3041f3
mov rcx, rbx
call r12
cmp esi, 0x6e0cc0b2
jae 0x1400c0720
nop word cs:[rax + rax]
mov eax, dword [0x141dd5f88]
or eax, dword [0x141dd5f8c]
add eax, 0xfe278ff2
cmp eax, 0xa19b0425
jb 0x1400c0750
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret