Function at 0x1403480f0
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rax - 0x50], 0xfffffffffffffffe
mov r12, r8
mov r8, rdx
mov rdi, rcx
xor r10d, r10d
mov dword [rax - 0x54], r10d
mov qword [rcx + 0x10], r10
mov qword [rcx + 0x18], 7
mov word [rcx], r10w
mov dword [rax - 0x54], 1
cmp r12, 3
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jb 0x14034864a
movabs r9, 0x7ffffffffffffffe
movzx ecx, byte [r8]
mov dl, byte [r8 + 1]
mov r14b, cl
and r14b, 3
shl r14b, 4
mov al, dl
shr al, 4
or r14b, al
mov byte [rsp + 0x90], r14b
mov r8b, byte [r8 + 2]
and dl, 0xf
shl dl, 2
mov al, r8b
shr al, 6
or dl, al
mov byte [rsp + 0x98], dl
and r8b, 0x3f
mov byte [rsp + 0x20], r8b
shr rcx, 2
movsx r13d, byte [rcx + r15]
mov r14, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
cmp r14, r15
jae 0x1403481d4
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r15, 8
jb 0x1403481c4
mov rax, qword [rdi]
mov word [rax + r14*2], r13w
mov word [rax + r14*2 + 2], r10w
jmp 0x1403482ad
mov rax, r9
sub rax, r14
cmp rax, 1
jb 0x14034885b
lea rsi, [r14 + 1]
mov rbx, rsi
or rbx, 7
cmp rbx, r9
jbe 0x1403481f9
mov rbx, r9
jmp 0x140348215
mov rcx, r15
shr rcx, 1
mov rax, r9
sub rax, rcx
cmp r15, rax
ja 0x1403481f4
lea rax, [rcx + r15]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.1400553fc
mov rbp, rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbx
lea rbx, [r14 + r14]
mov rcx, rax
mov r8, rbx
cmp r15, 8
jb 0x14034828a
mov rsi, qword [rdi]
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov word [rbx + rbp], r13w
xor eax, eax
mov word [rbx + rbp + 2], ax
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
jb 0x14034827d
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140348616
mov rsi, rcx
mov rcx, rsi
call fcn.140356b5c
xor r10d, r10d
jmp 0x1403482a0
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov word [rbx + rbp], r13w
xor r10d, r10d
mov word [rbx + rbp + 2], r10w
movabs r9, 0x7ffffffffffffffe
mov qword [rdi], rbp
movzx eax, byte [rsp + 0x90]
lea rcx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movsx r13d, byte [rax + rcx]
mov rsi, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
cmp rsi, r15
jae 0x1403482f2
lea rax, [rsi + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r15, 8
jb 0x1403482e2
mov rax, qword [rdi]
mov word [rax + rsi*2], r13w
mov word [rax + rsi*2 + 2], r10w
jmp 0x1403483c2
mov rax, r9
sub rax, rsi
cmp rax, 1
jb 0x14034886d
lea rbp, [rsi + 1]
mov rbx, rbp
or rbx, 7
cmp rbx, r9
jbe 0x140348317
mov rbx, r9
jmp 0x140348333
mov rcx, r15
shr rcx, 1
mov rax, r9
sub rax, rcx
cmp r15, rax
ja 0x140348312
lea rax, [rcx + r15]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.1400553fc
mov r14, rax
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbx
lea rbx, [rsi + rsi]
mov rcx, rax
mov r8, rbx
cmp r15, 8
jb 0x1403483a9
mov rbp, qword [rdi]
mov rdx, rbp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov word [rbx + r14], r13w
xor eax, eax
mov word [rbx + r14 + 2], ax
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
jb 0x14034839c
add rdx, 0x27
mov rcx, qword [rbp - 8]
sub rbp, rcx
lea rax, [rbp - 8]
cmp rax, 0x1f
ja 0x140348623
mov rbp, rcx
mov rcx, rbp
call fcn.140356b5c
xor r10d, r10d
jmp 0x1403483bf
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov word [rbx + r14], r13w
xor r10d, r10d
mov word [rbx + r14 + 2], r10w
mov qword [rdi], r14
movzx eax, byte [rsp + 0x98]
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movsx r13d, byte [rax + r9]
mov rsi, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
cmp rsi, r15
jae 0x140348407
lea rax, [rsi + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r15, 8
jb 0x1403483f7
mov rax, qword [rdi]
mov word [rax + rsi*2], r13w
mov word [rax + rsi*2 + 2], r10w
jmp 0x1403484e1
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rsi
cmp rax, 1
jb 0x140348867
lea rbp, [rsi + 1]
mov rbx, rbp
or rbx, 7
cmp rbx, rdx
jbe 0x140348436
mov rbx, rdx
jmp 0x140348452
mov rcx, r15
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r15, rax
ja 0x140348431
lea rax, [rcx + r15]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.1400553fc
mov r14, rax
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbx
lea rbx, [rsi + rsi]
mov rcx, rax
mov r8, rbx
cmp r15, 8
jb 0x1403484c8
mov rbp, qword [rdi]
mov rdx, rbp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov word [rbx + r14], r13w
xor eax, eax
mov word [rbx + r14 + 2], ax
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
jb 0x1403484bb
add rdx, 0x27
mov rcx, qword [rbp - 8]
sub rbp, rcx
lea rax, [rbp - 8]
cmp rax, 0x1f
ja 0x140348630
mov rbp, rcx
mov rcx, rbp
call fcn.140356b5c
xor r10d, r10d
jmp 0x1403484de
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov word [rbx + r14], r13w
xor r10d, r10d
mov word [rbx + r14 + 2], r10w
mov qword [rdi], r14
movzx eax, byte [rsp + 0x20]
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movsx r13d, byte [rax + rsi]
mov rsi, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
cmp rsi, r15
jae 0x140348523
lea rax, [rsi + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r15, 8
jb 0x140348513
mov rax, qword [rdi]
mov word [rax + rsi*2], r13w
mov word [rax + rsi*2 + 2], r10w
jmp 0x1403485f9
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rsi
cmp rax, 1
jb 0x140348861
lea rbp, [rsi + 1]
mov rbx, rbp
or rbx, 7
cmp rbx, rdx
jbe 0x140348552
mov rbx, rdx
jmp 0x14034856e
mov rcx, r15
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r15, rax
ja 0x14034854d
lea rax, [rcx + r15]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.1400553fc
mov r14, rax
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbx
lea rbx, [rsi + rsi]
mov rcx, rax
mov r8, rbx
cmp r15, 8
jb 0x1403485e0
mov rbp, qword [rdi]
mov rdx, rbp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov word [rbx + r14], r13w
xor eax, eax
mov word [rbx + r14 + 2], ax
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
jb 0x1403485d3
add rdx, 0x27
mov rcx, qword [rbp - 8]
sub rbp, rcx
lea rax, [rbp - 8]
cmp rax, 0x1f
ja 0x14034863d
mov rbp, rcx
mov rcx, rbp
call fcn.140356b5c
xor r10d, r10d
jmp 0x1403485f6
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov word [rbx + r14], r13w
xor r10d, r10d
mov word [rbx + r14 + 2], r10w
mov qword [rdi], r14
sub r12, 3
mov r8, qword [rsp + 0x88]
add r8, 3
mov qword [rsp + 0x88], r8
jmp 0x14034813a
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
sub r12, 1
je 0x140348753
cmp r12, 1
jne 0x140348847
movzx ecx, byte [r8]
mov sil, byte [r8 + 1]
mov bl, cl
and bl, 3
shl bl, 4
mov al, sil
shr al, 4
or bl, al
and sil, 0xf
shl sil, 2
shr rcx, 2
movsx r9d, byte [rcx + r15]
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jae 0x1403486b3
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1403486a6
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r10w
jmp 0x1403486be
mov rcx, rdi
call fcn.14008b534
xor r10d, r10d
movzx eax, bl
movsx r9d, byte [rax + r15]
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jae 0x1403486f2
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1403486e5
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r10w
jmp 0x1403486fd
mov rcx, rdi
call fcn.14008b534
xor r10d, r10d
movzx eax, sil
movsx r9d, byte [rax + r15]
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jae 0x140348732
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140348725
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r10w
jmp 0x14034873a
mov rcx, rdi
call fcn.14008b534
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jb 0x14034881e
mov r9d, 0x3d
jmp 0x14034883f
movzx eax, byte [r8]
mov bl, al
and bl, 3
shl bl, 4
shr rax, 2
movsx r9d, byte [rax + r15]
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jae 0x140348794
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140348787
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r10w
jmp 0x14034879f
mov rcx, rdi
call fcn.14008b534
xor r10d, r10d
movzx eax, bl
movsx r9d, byte [rax + r15]
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jae 0x1403487d3
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1403487c6
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r10w
jmp 0x1403487db
mov rcx, rdi
call fcn.14008b534
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jae 0x140348804
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1403487fa
mov rax, qword [rdi]
mov ebx, 0x3d
mov dword [rax + rcx*2], ebx
jmp 0x140348814
mov ebx, 0x3d
mov r9d, ebx
mov rcx, rdi
call fcn.14008b534
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jae 0x14034883c
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140348833
mov rax, qword [rdi]
mov dword [rax + rcx*2], 0x3d
jmp 0x140348847
mov r9d, ebx
mov rcx, rdi
call fcn.14008b534
mov rax, rdi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400553dc
int3
call fcn.1400553dc
int3
call fcn.1400553dc
int3
call fcn.1400553dc
int3