Function at 0x140005610
Capabilities:
Encode data using base64

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdx, qword [rcx + 0x18]
movzx eax, byte [rdx]
mov rbx, rcx
cmp al, 0x4c
je 0x140005980
cmp al, 0x54
je 0x140005990
cmp al, 0x73
je 0x140005690
cmp al, 0x66
je 0x1400056f8
lea ecx, [rax - 0x30]
cmp cl, 9
jbe 0x14000565c
cmp al, 0x6f
jne 0x140005850
cmp byte [rdx + 1], 0x6e
jne 0x1400056a4
add rdx, 2
mov qword [rbx + 0x18], rdx
mov rcx, rbx
call fcn.1400039c0
mov rsi, rax
test rax, rax
je 0x1400058b5
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
je 0x1400059a0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
movzx eax, byte [rdx + 1]
cmp al, 0x72
je 0x140005ab8
cmp al, 0x70
je 0x140005b70
mov rcx, rbx
call fcn.140003820
mov rsi, rax
test rax, rax
je 0x1400058b5
mov eax, dword [rax]
cmp eax, 0x32
je 0x140005760
cmp eax, 0x33
je 0x1400058a0
cmp eax, 0x34
jne 0x1400058b5
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x5f
je 0x140005a97
mov rcx, rbx
call fcn.140005610
mov r9, rax
jmp 0x140005936
cmp byte [rdx + 1], 0x70
jne 0x1400056a4
lea rax, [rdx + 2]
mov qword [rcx + 0x18], rax
cmp byte [rdx + 2], 0x54
je 0x140005b60
call fcn.1400021a0
mov edx, eax
add eax, 1
and edx, 0x7fffffff
cmp edx, 0x7fffffff
je 0x1400058b5
mov edx, dword [rbx + 0x28]
cmp edx, dword [rbx + 0x2c]
jge 0x1400058b5
movsxd rsi, edx
add edx, 1
shl rsi, 5
add rsi, qword [rbx + 0x20]
mov qword [rsi + 4], 0
mov dword [rbx + 0x28], edx
mov dword [rsi], 6
mov dword [rsi + 0x10], eax
jmp 0x14000567d
mov rdx, qword [rsi + 0x10]
mov rdi, qword [rdx]
mov eax, dword [rdx + 0x10]
sub eax, 2
add dword [rbx + 0x48], eax
movzx eax, byte [rdi]
cmp eax, 0x73
jne 0x1400057a0
cmp byte [rdi + 1], 0x74
jne 0x1400057a0
cmp byte [rdi + 2], 0
jne 0x1400057a0
mov rcx, rbx
call fcn.140002a80
mov r8, rsi
mov edx, 0x37
mov r9, rax
jmp 0x14000596e
mov ebp, dword [rdx + 0x14]
cmp ebp, 1
je 0x1400058e0
jle 0x1400058c8
cmp ebp, 2
je 0x1400059c0
cmp ebp, 3
jne 0x1400058b5
cmp eax, 0x71
je 0x140005a7e
cmp eax, 0x64
jne 0x140005c3f
cmp byte [rdi + 1], 0x58
jne 0x140005c3f
cmp byte [rdi + 2], 0
jne 0x140005c3f
mov rcx, rbx
call fcn.140005610
mov rcx, rbx
mov rdi, rax
call fcn.140005610
mov rcx, rbx
mov rbp, rax
call fcn.140005610
mov r9, rax
test rax, rax
je 0x1400058b5
mov r8, rbp
mov edx, 0x3c
mov rcx, rbx
call fcn.140001c10
mov r8, rdi
mov edx, 0x3b
mov rcx, rbx
mov r9, rax
call fcn.140001c10
mov r8, rsi
mov edx, 0x3a
mov r9, rax
jmp 0x14000596e
cmp al, 0x69
je 0x14000585c
cmp al, 0x74
jne 0x140005940
cmp byte [rdx + 1], 0x6c
jne 0x1400056a4
add rdx, 2
xor esi, esi
mov qword [rbx + 0x18], rdx
cmp al, 0x74
je 0x140005ba8
cmp byte [rdx], 0
je 0x1400058b5
cmp byte [rdx + 1], 0
je 0x1400058b5
mov edx, 0x45
mov rcx, rbx
call fcn.140005db0
mov r8, rsi
mov edx, 0x31
mov r9, rax
jmp 0x14000596e
mov eax, dword [rsi + 0x10]
cmp eax, 1
je 0x1400056e2
cmp eax, 3
je 0x1400058b5
test eax, eax
je 0x1400058cc
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
test ebp, ebp
jne 0x1400058b5
xor r9d, r9d
mov r8, rsi
mov edx, 0x36
jmp 0x14000596e
movzx edx, byte [rdi]
cmp dl, 0x70
je 0x140005a58
cmp dl, 0x6d
je 0x140005a58
xor ebp, ebp
cmp eax, 0x73
jne 0x140005b50
cmp byte [rdi + 1], 0x50
jne 0x140005b50
cmp byte [rdi + 2], 0
jne 0x140005b50
mov rcx, rbx
call fcn.140005270
mov r9, rax
test ebp, ebp
je 0x140005936
mov r8, r9
mov edx, 0x39
mov rcx, rbx
call fcn.140001c10
mov r9, rax
mov r8, rsi
mov edx, 0x37
jmp 0x14000596e
cmp al, 0x75
jne 0x1400056a4
add rdx, 1
mov rcx, rbx
mov qword [rbx + 0x18], rdx
call fcn.140002360
mov rcx, rbx
mov rsi, rax
call fcn.140005270
mov r8, rsi
mov edx, 0x3f
mov r9, rax
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140001c10
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140005050
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400027f0
add rax, 1
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.140005270
mov r8, rsi
mov edx, 4
mov r9, rax
jmp 0x14000596e
cmp byte [rdi + 1], 0x63
movzx edx, byte [rdi]
je 0x140005ceb
cmp dl, 0x66
je 0x140005d50
cmp eax, 0x64
jne 0x140005d34
cmp byte [rdi + 1], 0x69
jne 0x140005d34
cmp byte [rdi + 2], 0
jne 0x140005d34
mov rcx, rbx
call fcn.1400039c0
mov rbp, rax
movzx eax, byte [rdi]
cmp eax, 0x63
jne 0x140005bc0
cmp byte [rdi + 1], 0x6c
jne 0x140005bc0
cmp byte [rdi + 2], 0
jne 0x140005bc0
mov edx, 0x45
mov rcx, rbx
call fcn.140005db0
mov rdi, rax
mov r9, rdi
mov r8, rbp
mov edx, 0x39
mov rcx, rbx
call fcn.140001c10
mov r8, rsi
mov edx, 0x38
mov r9, rax
jmp 0x14000596e
cmp dl, byte [rdi + 1]
jne 0x1400058f5
mov rdx, qword [rbx + 0x18]
cmp byte [rdx], 0x5f
jne 0x1400058f7
add rdx, 1
mov qword [rbx + 0x18], rdx
movzx eax, byte [rdi]
jmp 0x1400058f5
cmp byte [rdi + 1], 0x75
jne 0x1400057cd
cmp byte [rdi + 2], 0
je 0x1400057ea
jmp 0x1400057cd
add rax, 1
mov edx, 0x45
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.140005db0
mov r9, rax
jmp 0x140005936
lea rax, [rdx + 2]
mov qword [rcx + 0x18], rax
movzx eax, byte [rdx + 2]
mov edx, dword [rcx + 0x54]
test edx, edx
je 0x140005b95
cmp al, 0x39
jle 0x140005b8d
sub eax, 0x43
cmp al, 0x37
ja 0x140005b95
movabs rdx, 0xffffffc0040201
bt rdx, rax
jae 0x140005b95
mov dword [rbx + 0x54], 0xffffffff
xor edx, edx
mov rcx, rbx
call fcn.1400053d0
mov rdi, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x45
jne 0x140005b20
add rax, 1
mov qword [rbx + 0x18], rax
nop dword [rax + rax]
mov rcx, rbx
call fcn.1400039c0
mov rsi, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
je 0x140005cc0
mov r9, rsi
mov r8, rdi
mov edx, 1
jmp 0x14000596e
mov rcx, rbx
call fcn.140005610
mov r9, rax
jmp 0x14000591f
add rdx, 3
xor eax, eax
mov qword [rcx + 0x18], rdx
jmp 0x14000572c
add rdx, 2
mov qword [rcx + 0x18], rdx
call fcn.140005610
xor r9d, r9d
mov edx, 0x4c
mov r8, rax
jmp 0x14000596e
cmp al, 0x2f
jg 0x140005af6
mov rcx, rbx
call fcn.140002a80
mov rdi, rax
jmp 0x140005b20
mov rcx, rbx
call fcn.140002a80
mov rdx, qword [rbx + 0x18]
mov rsi, rax
jmp 0x140005878
cmp eax, 0x64
jne 0x140005d0f
cmp byte [rdi + 1], 0x74
jne 0x140005d0f
cmp byte [rdi + 2], 0
jne 0x140005d0f
mov rax, qword [rbx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x67
je 0x140005d44
cmp dl, 0x73
jne 0x140005bfc
cmp byte [rax + 1], 0x72
je 0x140005d24
mov rcx, rbx
call fcn.1400039c0
mov rdi, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
jne 0x140005a2e
add rax, 1
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.140005270
mov r8, rdi
mov edx, 4
mov rcx, rbx
mov r9, rax
call fcn.140001c10
mov rdi, rax
jmp 0x140005a2e
movzx eax, byte [rdi]
cmp al, 0x66
je 0x140005d60
cmp al, 0x6e
jne 0x1400058b5
movzx eax, byte [rdi + 1]
cmp al, 0x77
je 0x140005c62
cmp al, 0x61
jne 0x1400058b5
mov edx, 0x5f
mov rcx, rbx
call fcn.140005db0
mov rcx, rbx
mov rdi, rax
call fcn.140002a80
mov rbp, rax
mov rax, qword [rbx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x45
je 0x140005d94
cmp dl, 0x70
je 0x140005d6d
cmp dl, 0x69
jne 0x1400058b5
cmp byte [rax + 1], 0x6c
jne 0x1400058b5
mov rcx, rbx
call fcn.140005610
mov r9, rax
jmp 0x140005814
add rax, 1
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.140005270
mov r8, rsi
mov edx, 4
mov rcx, rbx
mov r9, rax
call fcn.140001c10
mov rsi, rax
jmp 0x140005b38
lea ecx, [rdx - 0x72]
cmp cl, 1
jbe 0x140005cff
lea ecx, [rdx - 0x63]
cmp cl, 1
ja 0x1400059cd
mov rcx, rbx
call fcn.140002a80
mov rbp, rax
jmp 0x1400059fe
cmp eax, 0x70
jne 0x140005d24
cmp byte [rdi + 1], 0x74
jne 0x140005d24
cmp byte [rdi + 2], 0
je 0x140005bdd
mov rcx, rbx
call fcn.140005610
mov rdi, rax
jmp 0x140005a2e
mov rcx, rbx
call fcn.140005610
mov rbp, rax
jmp 0x1400059fe
cmp byte [rax + 1], 0x73
jne 0x140005bfc
jmp 0x140005d24
mov rcx, rbx
call fcn.140003820
mov rbp, rax
jmp 0x1400059fe
mov rcx, rbx
call fcn.140003820
jmp 0x1400057f2
cmp byte [rax + 1], 0x69
jne 0x1400058b5
add rax, 2
mov edx, 0x45
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.140005db0
mov r9, rax
jmp 0x140005814
add rax, 1
xor r9d, r9d
mov qword [rbx + 0x18], rax
jmp 0x140005814