Function at 0x1802e3cdb
Capabilities:
Encode data using base64

Disassembly:
movzx r9d, dx
or bp, dx
mov qword [rsp + r9 - 0x319c], rsi
xor dword [rsp + r9*4 - 0xc670], edi
pop rsi
push rcx
rol bl, 0xc2
jb 0x1802cd2ec
lea r8, [r9 + r8 - 2]
mov word [r8 + r9], dx
sbb cx, 0x260f
mov ebx, dword [rbx + r11 - 0x516bfca9]
lea r11, [r9 + r11 + 4]
xor ebx, esi
cqo
add ecx, ebp
movsx edi, bpl
rol ebx, 1
neg ebx
shr rdx, cl
inc ebx
sar ax, 0x28
rol ebx, 3
idiv ecx
rol edx, cl
sbb ebx, eax
add di, cx
sal r9d, cl
neg al
neg ebx
push r9
shr dword [rsp + rax + 3], 0x71
jbe 0x1802bc1a5
mov r11d, 0x2691ab9b
lea rcx, [r11 + r11 + 0x2fbd3f21]
movsx edi, r11w
mov ebx, dword [rsi + r11 - 0x2691ab9b]
call fcn.1802e010f
movzx ax, byte [rsi]
mov edi, 0xff956daf
dec rdi
mov cl, byte [rsi + 2]
mov r9d, edi
not dil
not rdi
add rsi, 2
lea r11, [r9 - 0x3ed70efc]
shr al, cl
mov ebx, 0xaf99723c
mov word [rsi], ax
mov ebx, dword [rbp + riz]
xadd dil, r11b
push r11
adc rbp, 3
xor ebx, r8d
push r9
movzx ecx, r11w
xor ebx, 0x47b02826
jmp 0x1802faf63
ror ebx, 1
add qword [rsp + rax*8], rsi
movzx esi, al
shl eax, 0xc9
xor dword [rsp + rax*8], ebx
sal bp, 0x44
setae cl
pop rsi
cdq
mul al
movsxd rbx, ebx
adc r10, rbx
jmp fcn.18030a981
movsxd rdi, edi
mov eax, dword [rsp + r9 - 0x3198]
inc ecx
add r10, rdi
shl rbp, cl
mov qword [rsp + rdx - 0x712f319c], r10
ret
mov r8w, word [rcx + r8]
rol edi, 0x71
jp fcn.18030a981
xchg rdi, rax
not ebp
cdqe
sar dl, 0xa1
push rsi
imul edx, edi
xor dword [rsp + rax - 0x7bc6b0a7], ebp
pop rsi
add r10, rax
ror r9w, 0x89
sbb r9b, bpl
ja 0x1802d381e
mov edi, 0xa83ee404
mov ecx, dword [r11]
movsx ebx, dil
lea r9, [rbx + rbx*2 - 0x744c646e]
add r11, rbx
mov eax, ebx
sub dil, dil
xor ecx, esi
lea ecx, [rcx + rbx*2 + 0x1ea08b8b]
mov edx, 0x14ba0580
xchg al, r9b
xor ecx, 0xdeb23920
xor r9, rax
imul di, dx
shr r9d, 0xe8
lea ecx, [rcx + rbx - 0x4130922d]
imul dx, di
bts di, dx
rol ecx, 2
lea r9, [rax + rbx*4 + 0x65bb8daa]
push rsi
sal dl, 0x26
imul rdi, rax
sar dil, 0xc4
xor dword [rsp + rbx*2 - 8], ecx
idiv bl
pop rsi
rol edi, 0xc4
movsxd rcx, ecx
jb 0x180311493
mov edi, 0x79ae930a
xor rdi, 0xffffffffc9bfd335
mov eax, dword [r11 + rdi + 0x4feebfc1]
sbb rdi, rdi
call fcn.1802c3858
jmp 0x180318fb3
xchg bpl, cl
bswap edi
jmp 0x1802b6596
shr word [rsp + rcx - 0x5eaa], cl
bswap ebx
neg ebx
rol cl, 0x26
not ebx
inc rcx
xor ebx, 0x4b9e1d31
xchg dword [rsp + rcx - 0x5ea3], ecx
bswap ebx
bts r11d, 0x1d
jb 0x1802dd9af
jae 0x1803120d9
jmp 0x1802f34f5
mov ebp, edi
cbw
add r10, rcx
mov ecx, 0x6031f3b4
cwd
mov rbp, r8
lea r8, [rdi + r8 - 0x64400f9f]
mov word [r8 + rdi - 0x64400f9d], bp
mul edx
mov ebp, r9d
push rdx
pop r9
jb fcn.18030a981
mov eax, 0x380de602
mov edx, dword [r11 + rax*2 - 0x701bcc04]
shr eax, 0xb7
imul rax, rax
lea r11, [r11 + rax*2 - 0x61fc]
xor edx, esi
not edx
inc al
or ax, 0xcf27
cbw
inc edx
not rax
push rax
push rax
xor edx, 0x7d168920
rol edx, 1
mov r9d, eax
add byte [rsp + rax*8 + 0x144], r9b
mov qword [rsp + rax + 0x30], rsi
push r9
xor dword [rsp + rax + 0x38], edx
cdqe
call fcn.1802c6c93
bt rcx, rbx
or bx, bx
not r9w
xadd ecx, edi
push rdi
and dx, r9w
sal cx, 0xe2
push rcx
not bx
mov word [r8 + rbx*4 - 0x39aa9790], dx
neg dil
movsx ebp, cx
mov edi, dword [r11 + rbx - 0xe6aa5e4]
xadd word [rsp + rbx - 0xe6aa5e1], cx
lea r11, [r11 + rbx*2 - 0x1cd54bc4]
neg dword [rsp + rbx*2 - 0x1cd54bc5]
xor edi, esi
imul ebx, ebx
pop rbx
shl qword [rsp], 0xdb
neg edi
push rbp
btr cx, bx
mov dword [rsp], 0x712f319c
inc edi
pop rdx
sar cl, cl
rol edi, 1
inc edi
neg edi
jmp 0x1802e8585
push 0xffffffffc68e47ae
cmp ebx, 2
lea rsp, [rsp + 0x10]
jne 0x18030846c
mov edx, 0x869e5997
call fcn.1802aca46
lea eax, [r9 + rax - 0xd79466c]
movsx edx, word [rsp + r9*2 - 0x61f51bf2]
xor eax, 0xf619a30c
xor r9b, 0x17
rol eax, 3
xchg dword [rsp + rdx*2 - 0x9767], ebp
xor r9w, r9w
pop rdx
not eax
movsx ecx, r9b
push rsi
xor dword [rsp + r9 - 0x30fa0000], eax
btr ecx, ebp
movzx esi, cl
pop rsi
movsxd rax, eax
dec r9d
adc bpl, 0xa0
jle 0x1802e3929