Function at 0x18004dd60
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea r11d, [r8 - 0xc]
mov r12, r9
mov dword [rsp + 0x38], r11d
mov rsi, rdx
mov r10, rcx
cmp r8d, r11d
jbe case.0x18004dddf.31
mov r14, qword [rsp + 0xb8]
lea rdx, [0x180000000]
mov r15, qword [rsp + 0x48]
movzx ebp, byte [rsp + 0xa0]
mov r13d, dword [rsp + 0xa0]
nop dword [rax]
lea eax, [r8 - 0x1b]
cmp eax, 0x33
ja case.0x18004dddf.38
movzx eax, byte [rdx + rax + 0x4e538]
mov ecx, dword [rdx + rax*4 + 0x4e508]
add rcx, rdx
jmp rcx
cmp r14, r10
je 0x18004dfea
mov edi, 0xb8
nop
cmp edi, 0xb8
je 0x18004df42
cmp edi, 0x159
je 0x18004df2f
cmp edi, 0x1fa
jne 0x18004dfc4
add r14, 2
cmp r14, r10
je 0x18004dfc4
mov ebx, 0x10d
mov eax, ebx
sub eax, 0x10c
je 0x18004de89
cmp eax, 1
jne 0x18004de9c
movzx ecx, byte [r14 + 1]
test cl, cl
jne 0x18004de53
movzx eax, byte [r14]
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rax + rcx + 0x90]
jmp 0x18004de76
movzx eax, byte [r14]
lea r8, [rsp + 0x20]
mov byte [rsp + 0x28], cl
xor r9d, r9d
lea rcx, [rsp + 0x28]
mov byte [rsp + 0x20], al
mov edx, 0xd4
call fcn.1800b4ef0
sub eax, 0x12
je 0x18004dec0
sub eax, 6
je 0x18004de89
cmp eax, 1
jne 0x18004df0a
mov r8d, 0x2a
mov ebx, 0x10c
mov dword [rsp + 0xa0], r8d
dec ebx
cmp ebx, 0x10b
ja 0x18004de26
mov r10, qword [rsp + 0x90]
add r14, 2
cmp r14, r10
jne 0x18004de21
jmp 0x18004dfc4
mov ecx, 0xb0
mov eax, ecx
sub eax, 0xb0
je 0x18004def8
cmp eax, 0x60
jne 0x18004deff
mov dword [rsp + 0x40], 0xa
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [r14 + 2]
mov qword [rsi], rax
add ecx, 0x60
cmp ecx, 0x170
jb 0x18004dec5
mov ecx, 0x3f
nop
mov eax, ecx
sub eax, 0x3e
je 0x18004e3ce
cmp eax, 1
jne 0x18004df23
mov qword [rsi], r14
dec ecx
cmp ecx, 0x3d
ja 0x18004df10
jmp 0x18004de9c
mov r8d, 0x2a
mov dword [rsp + 0xa0], r8d
jmp 0x18004dfcc
movzx ecx, byte [r14 + 1]
test cl, cl
jne 0x18004df61
movzx eax, byte [r14]
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rax + rcx + 0x90]
jmp 0x18004df8c
movzx eax, byte [r14]
lea r8, [rsp + 0x28]
mov byte [rsp + 0x20], cl
xor r9d, r9d
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x28], al
mov edx, 0xd4
call fcn.1800b4ef0
mov r10, qword [rsp + 0x90]
sub eax, 0x18
je 0x18004dfbf
cmp eax, 1
je 0x18004dfbf
mov ecx, 0x91
nop dword [rax + rax]
mov eax, ecx
sub eax, 0x90
je 0x18004e3ce
cmp eax, 1
jne 0x18004dfb5
mov qword [rsi], r14
dec ecx
cmp ecx, 0x8f
ja 0x18004dfa0
mov edi, 0xb8
mov r8d, dword [rsp + 0xa0]
add edi, 0xa1
cmp edi, 0x29b
jb 0x18004ddf0
mov r11d, dword [rsp + 0x38]
lea rdx, [0x180000000]
mov dword [rsp + 0x40], 0xffffffff
jmp case.0x18004dddf.38
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18004e010
mov qword [rax + 0x20], r14
mov rax, qword [rcx + 0x18]
mov qword [r14 + 0x18], rax
jmp case.0x18004dddf.38
mov r15, qword [r14]
cmp r15, r10
je case.0x18004dddf.38
nop word [rax + rax]
mov ecx, 0x70
mov eax, ecx
sub eax, 0x70
je 0x18004e31d
sub eax, 0x7d
je 0x18004e313
sub eax, 0x7d
je 0x18004e06a
cmp eax, 0x7d
jne 0x18004e322
mov r8d, 0x42
mov dword [rsp + 0xa0], r8d
jmp 0x18004e32a
movzx r9d, byte [rsp + 0x31]
cmp r9d, 0xdb
ja case.0x18004e090.3
movzx eax, byte [rdx + r9 + 0x4e57c]
mov ecx, dword [rdx + rax*4 + 0x4e56c]
add rcx, rdx
jmp rcx
cmp bpl, 0x80
jae case.0x18004e090.1
mov ecx, 0x64
nop dword [rax]
cmp ecx, 0x64
je 0x18004e0c6
cmp ecx, 0x1e78
je 0x18004e0bb
cmp ecx, 0x3c8c
je 0x18004e30c
jmp 0x18004e0cf
mov rax, qword [rsi]
mov byte [rax], bpl
inc qword [rsi]
jmp 0x18004e0cf
cmp qword [rsi], r12
je 0x18004e3e0
add ecx, 0x1e14
cmp ecx, 0x5a3c
jbe 0x18004e0a0
mov edx, 0x115
mov eax, edx
sub eax, 0x115
je 0x18004e113
cmp eax, 1
jne 0x18004e15f
mov rax, qword [rsi]
lea rdx, [0x180000000]
movzx ecx, bpl
and cl, 0x3f
or cl, 0x80
mov byte [rax], cl
mov ecx, 0x16a
inc qword [rsi]
jmp 0x18004e322
mov rax, r12
sub rax, qword [rsi]
cmp rax, 2
jge 0x18004e144
mov ecx, 0x3f
mov eax, ecx
sub eax, 0x3f
je 0x18004e136
cmp eax, 0x66
je case.0x18004dddf.31
jmp 0x18004e139
mov qword [r14], r15
add ecx, 0x66
cmp ecx, 0x10b
jb 0x18004e124
movzx eax, bpl
movzx ecx, r9b
or cl, 0xf0
shr al, 6
shl cl, 2
or cl, al
mov rax, qword [rsi]
mov byte [rax], cl
inc qword [rsi]
inc edx
cmp edx, 0x117
jb 0x18004e0e2
mov edx, 0x65
mov eax, edx
sub eax, 0x62
je 0x18004e305
sub eax, 1
je 0x18004e1c4
sub eax, 1
je 0x18004e1ac
cmp eax, 1
jne 0x18004e1d6
mov rcx, qword [rsi]
mov rax, r12
sub rax, rcx
cmp rax, 3
jl 0x18004e3e0
movzx eax, r9b
shr al, 4
or al, 0xe0
mov byte [rcx], al
jmp 0x18004e1d3
movzx ecx, r9b
movzx eax, bpl
and cl, 0xf
shr al, 6
or cl, 0xe0
shl cl, 2
or cl, al
jmp 0x18004e1ce
movzx ecx, bpl
and cl, 0x3f
or cl, 0x80
mov rax, qword [rsi]
mov byte [rax], cl
inc qword [rsi]
dec edx
cmp edx, 0x61
ja 0x18004e172
mov edx, 0xfe
cmp edx, 0xdd42
ja 0x18004e2a6
je 0x18004e29b
cmp edx, 0xfe
je 0x18004e263
cmp edx, 0x4a6a
je 0x18004e239
cmp edx, 0x93d6
jne 0x18004e2f3
movzx eax, bpl
movzx ecx, r13b
and cl, 3
shr al, 2
or cl, 0xf8
and al, 0xf
shl cl, 4
or cl, al
mov rax, qword [rsi]
mov byte [rax], cl
inc qword [rsi]
add r15, 2
jmp 0x18004e2f3
mov eax, r9d
movzx r13d, bpl
and eax, 3
shr r13d, 6
shl eax, 2
or r13d, eax
mov rax, qword [rsi]
inc r13d
mov ecx, r13d
shr ecx, 2
or cl, 0xf0
mov byte [rax], cl
jmp 0x18004e2f0
mov rax, r12
sub rax, qword [rsi]
cmp rax, 4
jge 0x18004e2f3
mov eax, 0x1d
cmp eax, 0x1d
je 0x18004e28a
cmp eax, 0x9db
je case.0x18004dddf.31
jmp 0x18004e28d
mov qword [r14], r15
add eax, 0x9be
cmp eax, 0x137c
jbe 0x18004e278
jmp 0x18004e2f3
movzx eax, byte [r15 + 1]
mov byte [rsp + 0x30], al
jmp 0x18004e2f3
cmp edx, 0x126ae
je 0x18004e2b8
cmp edx, 0x1701a
je 0x18004e305
jmp 0x18004e2f3
movzx eax, byte [r15]
movzx ecx, bpl
and cl, 3
and al, 3
or cl, 0xf8
shl cl, 2
or cl, al
movzx eax, byte [rsp + 0x30]
shr al, 6
shl cl, 2
or cl, al
mov rax, qword [rsi]
mov byte [rax], cl
inc qword [rsi]
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsi]
and al, 0x3f
or al, 0x80
mov byte [rcx], al
inc qword [rsi]
add edx, 0x496c
cmp edx, 0x1b888
jbe 0x18004e1e2
lea rdx, [0x180000000]
mov ecx, 0x16a
jmp 0x18004e322
movzx eax, byte [r15]
mov byte [rsp + 0x31], al
jmp 0x18004e322
movzx ebp, byte [r15 + 1]
mov r8d, dword [rsp + 0xa0]
add ecx, 0x7d
cmp ecx, 0x264
jb 0x18004e035
add r15, 2
cmp r15, r10
jne 0x18004e030
jmp case.0x18004dddf.38
mov rcx, qword [rsp + 0xb0]
mov qword [r14 + 0x20], rcx
mov qword [rcx + 0x18], r14
jmp case.0x18004dddf.38
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je case.0x18004dddf.38
mov rax, qword [r14 + 0x20]
mov qword [rcx + 0x20], rax
jmp case.0x18004dddf.38
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x2b0]
mov qword [rsp + 0x40], rcx
jmp case.0x18004dddf.38
mov qword [r14], r15
jmp case.0x18004dddf.38
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x18], r14
je case.0x18004dddf.31
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je case.0x18004dddf.38
mov rax, qword [r14 + 0x18]
mov qword [rcx + 0x18], rax
jmp case.0x18004dddf.38
mov qword [rsp + 0x48], r14
dec r8d
mov dword [rsp + 0xa0], r8d
cmp r8d, r11d
ja 0x18004ddc0
jmp case.0x18004dddf.31
mov dword [rsp + 0x40], 0
jmp case.0x18004dddf.31
mov qword [r14], r15
jmp case.0x18004dddf.31
mov rdi, qword [rsp + 0x48]
nop dword [rax]
mov ebx, 0x93
mov eax, ebx
sub eax, 0x93
je 0x18004e40c
cmp eax, 1
je 0x18004e4c4
jmp 0x18004e4f5
movzx ecx, byte [r14 + 1]
test cl, cl
jne 0x18004e42b
movzx eax, byte [r14]
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rax + rcx + 0x90]
jmp 0x18004e45b
movzx eax, byte [r14]
lea r8, [rsp + 0xa0]
mov byte [rsp + 0x38], cl
xor r9d, r9d
lea rcx, [rsp + 0x38]
mov byte [rsp + 0xa0], al
mov edx, 0xd4
call fcn.1800b4ef0
lea rdx, [0x180000000]
sub eax, 5
cmp eax, 0x18
ja case.0x18004e477.8
cdqe
movzx eax, byte [rdx + rax + 0x4e668]
mov ecx, dword [rdx + rax*4 + 0x4e658]
add rcx, rdx
jmp rcx
mov ecx, 0x59
nop
mov eax, ecx
sub eax, 0x59
je 0x18004e48e
cmp eax, 1
je 0x18004e4c4
jmp 0x18004e492
add r14, 3
inc ecx
cmp ecx, 0x5b
jb 0x18004e480
mov ecx, 0xe4
nop
mov eax, ecx
sub eax, 0xe4
je 0x18004e4b0
cmp eax, 1
je 0x18004e4c4
jmp 0x18004e4b4
add r14, 4
inc ecx
cmp ecx, 0xe6
jb 0x18004e4a0
nop
add r14, 2
mov ebx, 0x94
jmp 0x18004e4f5
mov ecx, 0x106
mov eax, ecx
sub eax, 0x105
je case.0x18004dddf.31
cmp eax, 1
jne 0x18004e4eb
mov eax, r14d
sub eax, edi
mov dword [rsp + 0x40], eax
dec ecx
cmp ecx, 0x104
ja 0x18004e4d0
inc ebx
cmp ebx, 0x96
jb 0x18004e3f5
jmp 0x18004e3f0