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

Disassembly:
push rsi
sub rsp, 0x50
mov eax, dword [0x141dde6fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x48]
nop
mov ecx, dword [0x141dd2060]
add ecx, dword [0x141dd2064]
and ecx, 0x2c400041
cmp ecx, 0xb896e508
je 0x14008d920
nop word [rax + rax]
mov ecx, dword [0x141dd2068]
imul ecx, dword [0x141dd206c]
imul rcx, rcx, 0x4e3cd639
shr rcx, 0x3e
imul ecx, ecx, 0x241b94b7
cmp ecx, 0xf6226ac7
je 0x14008d940
cmp rax, 0xffffffffffffffff
je 0x14008dbe4
lea rcx, [rax + 1]
lea rdx, [rax + rax]
mov r8d, 4
nop
mov r9d, dword [0x141dd2070]
and r9d, dword [0x141dd2074]
or r9d, 0x7db5e7fa
and r9d, 0x7df5f7fa
cmp rdx, rcx
mov rsi, rcx
cmova rsi, rdx
cmp rsi, 5
cmovb rsi, r8
cmp r9d, 0x8f5fa2e4
ja 0x14008d980
mov r8, rsi
shl r8, 4
mov rcx, rsi
shr rcx, 0x3c
setne dl
movabs rcx, 0x7ffffffffffffff8
cmp r8, rcx
seta cl
or cl, dl
mov edx, 0x9c6ad849
nop
mov r9d, dword [0x141dd2078]
or r9d, dword [str.PEO]
add r9d, 0x573900ae
and r9d, 0x98dc66d2
imul r9, rdx
shr r9, 0x3d
cmp r9d, 0x82ef512b
ja 0x14008d9e0
test cl, cl
jne 0x14008dbe4
mov ecx, 0xac5a0353
nop word [rax + rax]
mov edx, dword [0x141dd2080]
sub edx, dword [0x141dd2084]
imul rdx, rcx
shr rdx, 0x3f
or edx, 0x58debb54
cmp edx, 0x2abd151f
je 0x14008da20
test rax, rax
je 0x14008dab8
shl rax, 4
nop dword [rax + rax]
mov ecx, dword [0x141dd2088]
xor ecx, dword [0x141dd208c]
or ecx, 0x89f0b0e2
add ecx, 0x80370b6
and ecx, 0xd7d11121
cmp ecx, 0xaac71590
je 0x14008da50
mov ecx, dword [0x141dde6fc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + 0x50]
mov edx, dword [0x141dd2090]
xor edx, dword [0x141dd2094]
add edx, 0x8bc5ed40
xor edx, 0xb7b90a57
add edx, 0xa71ab779
cmp edx, 0xec212b0c
jbe 0x14008dabc
jmp 0x14008daec
xor eax, eax
jmp 0x14008db2d
mov edx, dword [0x141dd2098]
or edx, dword [0x141dd209c]
xor edx, 0x40d49a0
imul edx, edx, 0x775e4e5c
and edx, 0x149ccda4
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], rax
cmp edx, 0x57c46f94
jbe 0x14008daf8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], rax
jmp 0x14008dabc
mov eax, 0x91c1d887
nop dword [rax]
mov ecx, dword [0x141dd20a0]
and ecx, dword [0x141dd20a4]
or ecx, 0xc3aa3331
add ecx, 0x22c9ab5c
imul rcx, rax
shr rcx, 0x3b
cmp ecx, 0x7cbcd9a2
je 0x14008db00
mov eax, 8
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x38]
lea r9, [rsp + 0x20]
mov edx, 8
call fcn.1400c39d0
cmp qword [rsp + 0x38], 0
jne 0x14008dbe4
mov eax, dword [0x141dd20b8]
or eax, dword [0x141dd20bc]
or eax, 0xdf08225
mov ecx, 0x9dee986f
imul rcx, rax
shr rcx, 0x3f
or ecx, 0x858e1c92
cmp ecx, 0xb0f0e793
nop dword [rax]
mov eax, dword [0x141dd20c0]
and eax, dword [0x141dd20c4]
or eax, 0xd76ff16a
and eax, 0xf7fff76e
cmp eax, 0x78d1138b
jb 0x14008db80
mov rax, qword [rsp + 0x40]
mov ecx, dword [0x141dde6fc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x50], rax
mov eax, dword [0x141dd20c8]
and eax, dword [0x141dd20cc]
xor eax, 0x975974cd
imul eax, eax, 0x7e9b8bd
or eax, 0x6ac3f9a9
cmp eax, 0xc41a650c
jae 0x14008dc2e
jmp 0x14008dc6e
mov eax, dword [0x141dd20a8]
sub eax, dword [0x141dd20ac]
imul rax, rax, 0x9a0aa03
shr rax, 0x3b
imul eax, eax, 0xc6f85da
cmp eax, 0xb165259d
jne 0x14008dc10
ud2
mov eax, dword [0x141dd20b0]
xor edx, edx
div dword [0x141dd20b4]
add eax, 0xba59ad79
ud2
mov eax, dword [0x141dde6fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov ecx, dword [0x141dd20d0]
add ecx, dword [0x141dd20d4]
imul ecx, ecx, 0x34d1414a
xor ecx, 0x1d16d2a8
add ecx, 0x288ec23b
mov qword [rax + 0x48], rsi
cmp ecx, 0xe6dac7ad
jbe 0x14008dc8a
mov eax, dword [0x141dde6fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x48], rsi
jmp 0x14008dc2e
add rsp, 0x50
pop rsi
ret