Function at 0x140450935
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
btr r9w, 0x28
cmp edx, edx
mov qword [rsp + 0x10], rsi
sal r11b, 0xe7
and r11, 0x8500ba4
push rdi
sub rsp, 0x30
sbb r9b, 0x7e
sub esi, esi
mov rdi, r8
mov r11, rdx
mov r9, rcx
cmc
test r8, r8
jmp 0x14045096f
jne 0x140450981
sub eax, eax
jmp 0x14045097c
jmp 0x140450c52
cmp byte [rdx], sil
jmp 0x140450989
jne 0x14045099c
mov word [rcx], si
jmp 0x140450997
jmp 0x140450975
mov r10, qword [rsp + 0x60]
test cx, 0x492
cmc
cmp dword [r10 + 8], esi
jne 0x140450c3b
mov ecx, dword [r10 + 4]
sub ecx, 1
jmp 0x1404509bd
je 0x140450bc4
sub ecx, 1
jmp 0x1404509cb
je 0x140450b0b
mov ebx, 2
test r14b, r14b
cmp ecx, ebx
jmp 0x1404509e0
jne 0x140450bc4
cmp byte [rdx], sil
jge 0x140450c3b
mov al, byte [rdx]
and al, 0xe0
clc
test r15b, 0x3d
cmp al, 0xc0
jne 0x140450a1a
movzx edx, byte [rdx]
mov ebx, 1
jmp 0x140450a0d
and edx, 0x1f
jmp 0x140450a15
jmp 0x140450a43
mov al, byte [rdx]
cmp sp, 0xcc4
jmp 0x140450a26
and al, 0xf0
cmp al, 0xe0
jmp 0x140450a2f
jne 0x140450c20
movzx edx, byte [rdx]
movsx rax, ax
neg r8w
and edx, 0xf
mov r8d, 1
cbw
bswap ax
inc r11
xor ax, di
adc ah, 0x15
movsxd rax, r8d
cmp dx, 0x254b
stc
cmp rax, rdi
jmp 0x140450a68
jae 0x140450b54
mov al, byte [r11]
and al, 0xc0
clc
cmc
cmp al, 0x80
jmp 0x140450a7c
jne 0x140450c20
movzx ecx, byte [r11]
btr rax, r9
mov eax, edx
cdq
shr rdx, 9
xadd dx, dx
and ecx, 0x3f
movzx edx, r13w
mov dh, 0x62
shld rdx, rsi, 0xbf
shl eax, 6
movzx edx, di
mov dx, 0x4118
mov edx, ecx
jmp 0x140450ab5
inc r8d
cmp si, 0x6055
jmp 0x140450ac6
or edx, eax
inc r11
stc
jmp 0x140450ad1
sub ebx, 1
jmp 0x140450ad9
jne 0x140450a57
lea eax, [rdx - 0xd800]
stc
test ecx, 0x767c3158
cmp eax, 0x7ff
jmp 0x140450af6
jbe 0x140450c20
mov word [r9], dx
cwde
xchg ah, al
mov eax, r8d
jmp 0x140450c52
movzx ecx, byte [rdx]
add dx, dx
or dl, r9b
mov edx, 1
cdqe
bt ax, r15w
movzx eax, byte [r11]
test bpl, dil
and ecx, 7
clc
shr rax, 3
cmp esp, esp
shl edx, cl
test r12d, 0x1a360ce6
test byte [rax + r10 + 0xc], dl
jmp 0x140450b44
je 0x140450b72
cmp rdi, 1
jne 0x140450b63
mov eax, 0xfffffffe
jmp 0x140450b5e
jmp 0x140450c52
mov ebx, 2
jmp 0x140450b6d
jmp 0x140450b77
mov ebx, 1
mov ecx, dword [r10]
mov r8, r11
cwd
mov dword [rsp + 0x28], 1
not rdx
mov edx, 9
jmp 0x140450b94
mov qword [rsp + 0x20], r9
not r9
xchg r9, r9
mov r9b, 0x47
mov r9d, ebx
jmp 0x140450baa
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140450c20
mov eax, ebx
jmp 0x140450bbf
jmp 0x140450c52
mov ecx, dword [r10]
movsx rdx, r12w
movsxd rdx, ebp
mov r8, rsi
mov r8, r11
movzx dx, sil
mov dword [rsp + 0x28], 1
movzx edx, bx
xchg dx, dx
cmovo dx, di
mov qword [rsp + 0x20], r9
movsx r9w, r12b
cmovp r9, rbx
cqo
mov r9d, 1
xchg dx, dx
lea edx, [r9 + 8]
jmp 0x140450c0d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jmp 0x140450c1a
jne 0x140450c43
call fcn.1404ac6b8
mov dword [rax], 0x2a
test r11b, r14b
or eax, 0xffffffff
jmp 0x140450c36
jmp 0x140450c52
movzx eax, byte [rdx]
clc
mov word [r9], ax
mov eax, 1
shld di, r15w, 0x48
movzx bx, al
mov rbx, qword [rsp + 0x40]
rcr sil, cl
test r13d, r14d
ror dil, 0x31
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140450c70
ret