Function at 0x5bbb30
Capabilities:
Encode data using base64

Disassembly:
mov word [rsi + rdi - 0xff122b], r9w
dec dword [rsp + rdi*2 - 0x1fe2453]
pop r9
pop r9
jno fcn.005b825c
mov r10d, 0xcdb28c2e
movsx r8d, r10b
movzx r14d, r10b
mov rsp, rsi
lea r15, [r14*4 - 0x55ba9f8]
movzx edi, r8b
and r10, rdi
pop rsi
and r15w, r8w
pop r11
movzx ecx, dil
push r15
adc cx, cx
mov rbx, qword [rsp + r10*2 - 0x54]
jg 0x5c80a8
movsx r9d, di
mov word [rsi + rdi - 0x5b10e4bd], dx
sub r9, 0x6b8c268c
lea rbx, [rdi + rbx - 0x5b10e4c1]
call fcn.005dc243
and ax, 0xc83
not ecx
jns 0x5d27f5
adc r11, r10
push r9
mov edi, dword [rbx + rbp*4 + 0x439a634]
lea rbx, [rbx + rbp*2 + 0x21cd314]
jmp fcn.005b2134
xor r8b, dl
lea rdx, [rsp + rdx + 0x28]
sal rbp, 0xdc
mov rax, qword [rdx + rcx*2 - 0x98efe00]
mov qword [rsp + r10*2 - 0x7b5b407e], rbp
shr r10w, 6
lea rdx, [rbp*4 + 0x6da5d28e]
mov rdi, rax
lea rax, [rbp + rdx*2 + 0x1a201489]
mov r9, qword [rcx + rsi - 0x4c77f00]
sets bpl
not rdi
not r9
neg byte [rsp + r10 - 0x3dad026d]
jle 0x5c1e41
not r9b
not r10
rol r10, 2
mov word [rsp + r9*2 - 0x1725], 0x608b
dec edi
lea r10, [r10 + r9 - 0x59b1ee46]
rol dword [rsp + r9 - 0xb91], 0xfd
setp byte [rsp + r9 - 0xb9b]
not r10
not byte [rsp + r9 - 0xb91]
lea r10, [r9 + r10 + 0x11a7ece9]
not r10
push rdi
inc r10
shr di, 0xa2
mov qword [rsp + r9*4 - 0x2e7c], 0x7ebdabaa
setne byte [rsp + r9 - 0xb98]
neg r10
sal bpl, 5
xor r8, r10
mov qword [rsi + r9 - 0xbad], r10
movzx r10d, byte [rsp + rdi - 0x5fc102c6]
pop rdi
lea rsi, [rsi + r9*2 - 0x1752]
ror edi, 0xe
pop rdi
pop r9
pop rax
pop r10
pop rdx
jae fcn.005b825c
ror dword [rsp + rdi - 0xff1229], 0xd2
xor r8w, ax
lea rax, [rsp + rax + 0x10]
add r9w, word [rax + rdi*2 - 0x1fe2456]
dec cl
lea rsi, [rdi + rsi - 0xff122d]
or dl, dil
sar cx, 0x63
jns 0x591785
and rdi, r9
shr rcx, 0x9c
mov qword [rsi + rcx*2], rdi
mov r10, qword [rbx + rcx*4 - 0xd]
movsx r9d, word [rsp + rcx*4 + 6]
xchg qword [rsp + rcx + 6], rcx
lea rbx, [rbx + r9*2 - 0x16c1]
shl word [rsp + r9 - 0xb38], 0xaf
sbb word [rsp + r9*2 - 0x1690], r9w
xor r10, r8
and dword [rsp + r9 - 0xb3f], ecx
adc dl, 0x3f
not al
rol r10, 6
mov edi, ecx
bswap r10
ror byte [rsp + r9*2 - 0x16aa], 0xe6
jae 0x5bea5f
mov edi, 0x5b10e4bd
movsx ecx, dil
mov rax, qword [rsi + rdi - 0x5b10e4bd]
mov dx, word [rdi + rax - 0x5b10e4bd]
lea rsi, [rdi + rsi - 0x5b10e4b7]
jmp 0x5a6214
xchg dl, al
or bp, di
dec ecx
dec dil
jg 0x5a6e68
mov rcx, qword [rsp + r10*4 - 0xa8]
lea r12, [r10 + 0x2e3c0631]
mov rbp, qword [rsp + r10*2 - 0x44]
mov qword [rsp + r10*2 - 0x44], 0xffffffffd18d9b3c
call fcn.005c7cd6
mov r10d, 0x9d852925
lea rdi, [r10*2 - 0x3a7bb2db]
inc rdi
sub rbx, 1
mov eax, 0xf432f8bd
movzx edi, byte [rbx]
mov r9d, 0xc6398935
xor dil, r8b
mov edx, r10d
neg edx
lea rcx, [r10*8 + 0x5c1bba8a]
neg dil
sar cl, 4
xadd cx, dx
mov ebp, 0xd0a27b10
sbb dil, 5
xchg ah, al
add r10w, r10w
neg dil
rol ax, 0x44
and ecx, eax
xor dil, 0xa
dec cl
neg ebp
xor r8b, dil
not bpl
add rdi, rsp
rol bp, 0x28
sal eax, cl
mov r10, qword [rdi + rbp*2 - 0x5eba1f08]
lea rbp, [rcx*8 - 0x45d9aacf]
neg eax
lea rsi, [rsi + rax*2 - 0x2f3481dc]
add ecx, edx
mov qword [rax + rsi - 0x179a40ea], r10
lea r10, [rax*8 + 0x8b78f99]
lea rbx, [rbx + rax - 0x179a40ee]
jle 0x5dc586
mov ecx, dword [rbx + rax - 0x179a40ea]
sub eax, 0xaa1ed4b8
inc edx
dec dl
xor ecx, r8d
rol al, 4
movzx edi, bpl
xor ecx, 0x65b81ab2
jmp 0x5c3536
inc ecx
xor r9w, 0x178d
cmovbe r9, rdi
not ebp
neg ecx
push r8
xor dword [rsp + rax - 0x6d7b0c83], ecx
xor dl, 0xa6
pop r8
or dil, r10b
movsxd rcx, ecx
xadd rbp, rdx
neg dl
add r11, rcx
jmp fcn.005b825c
mov dword [rsi + rdi*8 - 0x4e8], eax
neg word [rsp + rdi*4 - 0x270]
movsx ecx, bpl
dec qword [rsp + rdi - 0x95]
mov qword [rsp + rdi*8 - 0x4e8], r11
ret 8