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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x2040
call fcn.1400f4d10
sub rsp, rax
mov rsi, r8
mov r8, rdx
mov rdi, rcx
cmp rsi, 0x1001
jb 0x14008d9a1
nop word [rax + rax]
mov eax, dword [0x141f3bd10]
imul eax, dword [0x141f3bd14]
imul eax, eax, 0xb1464325
add eax, 0x38ad1cef
cmp eax, 0x57b3573f
ja 0x14008d850
movzx eax, byte [r8 + 0x1000]
nop word [rax + rax]
mov ecx, dword [0x141f3bd18]
or ecx, dword [0x141f3bd1c]
or ecx, 0x75b57967
xor ecx, 0x3c7d7852
imul ecx, ecx, 0x8f107d52
cmp ecx, 0xf38afdf6
ja 0x14008d880
mov esi, 0x1000
cmp al, 0xbf
jg 0x14008d9a1
nop word cs:[rax + rax]
mov eax, dword [0x141f3bd20]
sub eax, dword [0x141f3bd24]
imul eax, eax, 0x15b34674
or eax, 0x4519c2b0
xor eax, 0x94f1bf9b
cmp eax, 0xf5d4cd68
ja 0x14008d8c0
mov esi, 0xfff
cmp byte [r8 + 0xfff], 0xbf
jg 0x14008d9a1
nop word cs:[rax + rax]
mov eax, dword [0x141f3bd28]
and eax, dword [0x141f3bd2c]
imul eax, eax, 0xfc1129ff
xor eax, 0xc0c30040
and eax, 0xecdb18c0
cmp eax, 0x66fc2e9c
je 0x14008d900
movzx ecx, byte [r8 + 0xffe]
mov eax, dword [0x141f3bd30]
xor edx, edx
div dword [0x141f3bd34]
nop dword [rax]
mov eax, dword [0x141f3bd38]
xor edx, edx
div dword [0x141f3bd3c]
xor eax, 0x6c464504
add eax, 0x95117700
cmp eax, 0x1b327b50
ja 0x14008d940
nop
xor esi, esi
cmp cl, 0xc0
setge al
mov edx, dword [0x141f3bd40]
and edx, dword [0x141f3bd44]
add edx, 0x869512b9
and edx, 0x4804910
cmp edx, 0x41defb22
ja 0x14008d960
mov sil, al
cmp byte [r8 + rsi + 0xffd], 0xbf
jle 0x14008da76
add rsi, 0xffd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x1000
mov ecx, 0xfde9
mov edx, 8
mov r9d, esi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14008daaf
mov r8d, eax
mov eax, 0x8aff8585
movsxd r15, r8d
nop dword [rax]
mov ecx, dword [0x141f3bd68]
add ecx, dword [0x141f3bd6c]
imul rcx, rax
shr rcx, 0x3c
xor ecx, 0x4291a7c1
add ecx, 0x681f6766
cmp ecx, 0x61d20724
jb 0x14008d9e0
mov eax, dword [0x141f3bd70]
xor edx, edx
div dword [0x141f3bd74]
nop word cs:[rax + rax]
mov eax, dword [0x141f3bd78]
or eax, dword [0x141f3bd7c]
add eax, 0x9dcae346
and eax, 0x52411104
cmp eax, 0xa51bcbbd
ja 0x14008da20
cmp r8d, 0x1000
ja 0x14008db37
mov eax, dword [0x141f3bd80]
sub eax, dword [0x141f3bd84]
imul rax, rax, 0x4619881d
shr rax, 0x3d
add eax, 0xb5df093f
cmp eax, 0x25630362
jae 0x14008db95
jmp 0x14008dbbb
ud2
mov eax, dword [0x141f3bd50]
xor edx, edx
div dword [0x141f3bd54]
add eax, 0x1f5770eb
imul rax, rax, 0x547b427
shr rax, 0x3a
or eax, 0xa85cb4d4
cmp eax, 0x4d9534a9
jae 0x14008dadb
ud2
mov eax, 0xd5ec72cb
mov ecx, dword [0x141f3bd58]
or ecx, dword [0x141f3bd5c]
imul rcx, rax
shr rcx, 0x3f
imul ecx, ecx, 0x8a67eb07
imul rcx, rcx, 0x9a5ec55
shr rcx, 0x39
ud2
mov eax, dword [0x141f3bd90]
xor eax, dword [0x141f3bd94]
imul eax, eax, 0x1d04624d
cmp eax, 0x7fb5889d
jne 0x14008db52
ud2
xor eax, eax
nop word cs:[rax + rax]
ud2
mov eax, dword [0x141f3bd88]
sub eax, dword [0x141f3bd8c]
and eax, 0x4e8c8196
imul eax, eax, 0x25fc3a61
mov dword [rsp + 0x3c], 0
cmp eax, 0x80012878
jae 0x14008dbc5
mov dword [rsp + 0x3c], 0
jmp 0x14008db95
mov qword [rsp + 0x20], 0
lea rbx, [rsp + 0x40]
lea r9, [rsp + 0x3c]
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
je 0x14008dcb0
nop dword [rax]
mov eax, dword [0x141f3bda0]
sub eax, dword [0x141f3bda4]
imul eax, eax, 0xf162eabe
add eax, 0x1f689f77
and eax, 0xdd753802
cmp eax, 0x4ce3d2f6
je 0x14008dbf0
mov r14d, dword [rsp + 0x3c]
nop dword [rax + rax]
mov eax, dword [0x141f3bda8]
xor eax, dword [0x141f3bdac]
or eax, 0x3577a190
imul eax, eax, 0x87892b34
cmp eax, 0x68b99eda
je 0x14008dc20
mov eax, 0xdae27825
nop word cs:[rax + rax]
mov ecx, dword [0x141f3bdb0]
xor ecx, dword [0x141f3bdb4]
imul rcx, rax
shr rcx, 0x3e
cmp ecx, 0x409dda6c
je 0x14008dc50
cmp r14, r15
jne 0x14008dcdc
xor eax, eax
nop word cs:[rax + rax]
mov ecx, dword [0x141f3be10]
and ecx, dword [str.6q]
imul rcx, rcx, 0x17c2f93
shr rcx, 0x38
imul ecx, ecx, 0xf1700e55
add ecx, 0xccc3dfae
cmp ecx, 0xda11e2e2
jae 0x14008dc80
jmp 0x14008e002
mov eax, dword [str.1Tyy]
add eax, dword [0x141f3bdbc]
shr eax, 1
mov ecx, 0x99a61635
imul rcx, rax
shr rcx, 0x3d
cmp ecx, 0xdb69004
jne 0x14008df96
jmp 0x14008dfc5
jae 0x14008ddb3
mov eax, 0xd69827c1
lea rdx, [rsp + r14*2]
add rdx, 0x40
nop
mov ecx, dword [0x141f3bdd0]
and ecx, dword [0x141f3bdd4]
imul rcx, rax
shr rcx, 0x3f
or ecx, 0xdfa0c5ec
xor ecx, 0x36b0445f
cmp ecx, 0x5d3557b8
jb 0x14008dcf0
movzx eax, word [rdx]
add eax, 0x2312
mov ecx, dword [0x141f3bdd8]
imul ecx, dword [0x141f3bddc]
and ecx, 0x21280207
add ecx, 0xaa3affb1
cmp ecx, 0xdfd298b0
ja 0x14008dd20
movzx eax, ax
cmp eax, 0x312
jae 0x14008dda3
inc r14
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rdi
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x14008de83
mov eax, dword [0x141f3bdf8]
mov ecx, dword [0x141f3bdfc]
add eax, ecx
add eax, 0x71e9910c
or eax, 0xaf9bfffe
cmp eax, 0x1867c522
jae 0x14008de32
jmp 0x14008de58
test r14, r14
jne 0x14008de83
xor esi, esi
jmp 0x14008dc71
mov eax, dword [0x141f3bde0]
xor edx, edx
div dword [0x141f3bde4]
imul rax, rax, 0x4cd2d569
shr rax, 0x3e
cmp eax, 0x3e810c61
jne 0x14008dde0
ud2
mov eax, dword [0x141f3bde8]
and eax, dword [0x141f3bdec]
and eax, 0x10200
xor eax, 0x63558201
or eax, 0x98aa1cfc
ud2
mov esi, dword [0x141f3be00]
and esi, dword [0x141f3be04]
or esi, 0x5eeb02b2
and esi, 0x5fef6bbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x45f4fbee
jne 0x14008de60
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14008de32
mov eax, dword [0x141f3be08]
and eax, dword [0x141f3be0c]
and eax, 0x62388011
or eax, 0x80c6592e
imul eax, eax, 0x7b0dd76c
cmp eax, 0x5474ac65
je 0x14008de60
lea rcx, [rsp + r14*2]
add rcx, 0x40
xor esi, esi
mov r8d, 0xd17f66f3
jmp 0x14008deb0
add rsi, rax
add rbx, 2
cmp rbx, rcx
je 0x14008dc71
nop word cs:[rax + rax]
mov eax, dword [0x141f3be30]
sub eax, dword [0x141f3be34]
imul eax, eax, 0x723013ea
cmp eax, 0xde3883b7
je 0x14008deb0
movzx r9d, word [rbx]
movzx r10d, r9w
mov eax, 1
cmp r10d, 0x80
jb 0x14008de95
mov eax, dword [0x141f3be18]
xor edx, edx
div dword [0x141f3be1c]
mov eax, dword [0x141f3be20]
imul eax, dword [0x141f3be24]
cmp eax, 0x4e9c5f81
je 0x14008deed
nop word cs:[rax + rax]
mov eax, dword [0x141f3be28]
imul eax, dword [0x141f3be2c]
imul eax, eax, 0xd5d9fc81
add eax, 0x8c319e36
imul rax, r8
shr rax, 0x3e
cmp eax, 0x6fddfe99
ja 0x14008df10
mov eax, 2
cmp r10d, 0x800
jb 0x14008de95
mov eax, dword [0x141f3be38]
imul eax, dword [0x141f3be3c]
imul eax, eax, 0xf57783ad
imul rax, rax, 0x2921c609
shr rax, 0x35
imul eax, eax, 0x949b1a5
cmp eax, 0x249e768
jb 0x14008df49
add r9d, 0x2312
movzx eax, r9w
xor edx, edx
cmp eax, 0x312
setae dl
lea rax, [rdx*2 + 1]
jmp 0x14008de95
mov eax, dword [0x141f3bdc0]
mov ecx, dword [0x141f3bdc4]
lea edi, [rax + rcx]
add edi, 0x8e2c359f
or edi, 0x8ac8ef91
add edi, 0x82ff30e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x743f5403
jbe 0x14008dfcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14008df96
mov esi, eax
shl rsi, 0x20
or rsi, 2
nop word [rax + rax]
mov eax, dword [0x141f3bdc8]
or eax, dword [0x141f3bdcc]
add eax, 0x3cf905c4
xor eax, 0x2ff19382
cmp eax, 0x991d0a8
jbe 0x14008dfe0
mov eax, 1
mov rdx, rsi
add rsp, 0x2040
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret