Function at 0x1400035f0
Capabilities:
Encode data using base64

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
mov esi, r8d
mov rbx, rdx
call fcn.140002950
movsxd rdi, eax
test eax, eax
jne 0x140003653
test esi, esi
jne 0x140003653
lea rdx, [rbp + 0x30]
lea rcx, [0x14001e598]
call fcn.140004b30
lea ecx, [rsi + 1]
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.1400031f0
add rsp, 0x4b8
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [rbp + 0x30]
lea rcx, [0x14001e5c0]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.1400031f0
lea rdx, [rbp + 0x3e0]
mov ecx, edi
call fcn.1400029f0
mov esi, eax
test eax, eax
je 0x1400036c2
lea rdx, [rbp + 0x30]
lea rcx, [0x14001e5e0]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
mov r8d, esi
call fcn.1400031f0
add rsp, 0x4b8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 1
mov qword [rsp + 0x4b0], r13
call fcn.140008fac
mov rcx, rax
lea rdx, str.___GetLsaHandle_n
call fcn.1400031f0
lea rdx, [rbp + 0x30]
mov dword [rbp - 0x58], 0x90008
lea rcx, [0x14001e618]
call fcn.140004b30
mov r13, qword [rbp + 0x3e0]
lea rax, [rbp + 0x30]
mov rcx, r13
mov qword [rbp - 0x50], rax
lea r8, [rbp + 0x3f8]
lea rdx, [rbp - 0x58]
call qword [0x140023158]
lea rdx, [rbp + 0x30]
mov esi, eax
test eax, eax
je 0x140003764
lea rcx, [0x14001e628]
call fcn.140004b30
mov ecx, esi
call qword [0x140023100]
mov ecx, 1
mov ebx, eax
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
mov r8d, ebx
call fcn.1400031f0
mov rcx, r13
call qword [0x140023160]
jmp 0x140003d71
lea rcx, [0x14001e658]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.1400031f0
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.140004be0
lea rdx, [rbp + 0x30]
mov ebx, eax
test eax, eax
je 0x1400037cf
lea rcx, [0x14001e688]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
mov r8d, ebx
call fcn.1400031f0
mov rcx, r13
call qword [0x140023160]
jmp 0x140003d71
mov qword [rsp + 0x4a8], r14
lea rcx, [0x14001e6b0]
mov qword [rsp + 0x4a0], r15
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.1400031f0
mov r14d, dword [rbp - 0x68]
xor r15d, r15d
mov rbx, qword [rbp - 0x70]
mov esi, r15d
mov dword [rsp + 0x70], 0xe
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x68], r14d
test r14d, r14d
je 0x140003d50
mov rcx, rdi
mov qword [rsp + 0x4e8], r12
mov qword [rsp + 0x58], rcx
mov edi, r15d
mov qword [rbp - 0x78], r15
nop word [rax + rax]
mov rax, qword [rdi + rbx]
test rax, rax
je 0x140003d31
test rcx, rcx
je 0x140003868
mov rax, qword [rax + 4]
jmp 0x140003874
mov qword [rbp - 0x80], 0
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x74], rax
lea rdx, [rbp + 0x290]
mov rax, qword [rdi + rbx]
mov r8d, 2
mov qword [rsp + 0x40], r15
nop
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub r8, 1
jne 0x140003890
movups xmm0, xmmword [rax]
lea rcx, [rbp + 0x290]
movups xmmword [rdx], xmm0
lea rdx, [rsp + 0x40]
call fcn.140004d70
mov rcx, qword [rdi + rbx]
call qword [0x140023168]
mov edx, dword [rbp + 0x3f8]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x70]
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x28], rax
mov r9d, 0xc
lea rax, [rsp + 0x60]
mov rcx, r13
mov qword [rsp + 0x20], rax
call qword [0x140023170]
mov ebx, eax
test eax, eax
je 0x140003990
lea rdx, [rbp + 0x30]
lea rcx, [0x14001e6d0]
call fcn.140004b30
mov ecx, ebx
call qword [0x140023100]
mov ecx, 1
mov ebx, eax
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
mov r8d, ebx
call fcn.1400031f0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140003d27
call fcn.140009034
jmp 0x140003d27
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140003978
mov rbx, qword [rsp + 0x40]
lea rdx, [rbp + 0x30]
mov r12d, dword [rax + 4]
test rbx, rbx
je 0x1400039de
lea rcx, [0x14001e700]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
mov r9d, r12d
mov r8, rbx
call fcn.1400031f0
mov rcx, rbx
call fcn.140009034
jmp 0x140003a00
lea rcx, [0x14001e728]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.1400031f0
test r12d, r12d
jle 0x140003d1c
xor r14d, r14d
xor r15d, r15d
nop
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], 0
movups xmm0, xmmword [r15 + rax + 0x28]
movups xmm1, xmmword [r15 + rax + 0x18]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [r15 + rax + 8]
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [r15 + rax + 0x38]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [r15 + rax + 0x28]
movaps xmmword [rbp], xmm1
movups xmm1, xmmword [r15 + rax + 0x58]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r15 + rax + 0x48]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x10], xmm0
call fcn.1400043d0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140003ab2
lea rdx, [rbp + 0x30]
lea rcx, [0x14001e750]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
mov r9, rbx
mov r8d, r14d
call fcn.1400031f0
mov rcx, rbx
call fcn.140009034
jmp 0x140003acb
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, str._t____Unable_to_print_ticket_info._n
call fcn.1400031f0
movups xmm0, xmmword [rbp - 0x40]
mov r8, qword [rsp + 0x74]
lea rax, [rbp + 0x3e0]
mov edx, dword [rbp + 0x3f8]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov rcx, r13
lea rax, [rbp - 0x70]
movaps xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x20], rax
call fcn.140003d90
mov ebx, eax
test eax, eax
je 0x140003b33
lea rdx, [rbp + 0x30]
lea rcx, [0x14001e788]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
mov r8d, ebx
call fcn.1400031f0
jmp 0x140003cfc
mov ebx, dword [rbp + 0x3e0]
test ebx, ebx
je 0x140003cfc
lea ecx, [rbx + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx*4 + 1]
mov edx, 1
movsxd rcx, eax
call fcn.140006d38
mov rdi, rax
test rax, rax
jne 0x140003b97
lea rdx, [rbp + 0x30]
lea rcx, [0x14001e7b8]
call fcn.140004b30
lea ecx, [rdi + 1]
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.1400031f0
jmp 0x140003cfc
mov rsi, qword [rbp - 0x70]
lea eax, [rbx - 2]
xor r10d, r10d
movsxd rdx, eax
xor r11d, r11d
mov rcx, rdi
test eax, eax
jle 0x140003c50
dec rdx
lea r8, [rsi + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mul rdx
shr rdx, 1
lea r9, [rdx + 1]
lea r10d, [r9 + r9*2]
lea r11, [r9 + r9*2]
nop dword [rax]
movzx eax, byte [r8 - 2]
lea r8, [r8 + 3]
shr rax, 2
movzx eax, byte [rax + rbx]
mov byte [rcx], al
movsx rdx, byte [r8 - 5]
movzx eax, byte [r8 - 4]
and edx, 3
shr rax, 4
shl rdx, 4
or rdx, rax
movzx eax, byte [rdx + rbx]
mov byte [rcx + 1], al
movsx rdx, byte [r8 - 4]
movzx eax, byte [r8 - 3]
and edx, 0xf
shr rax, 6
shl rdx, 2
or rdx, rax
movzx eax, byte [rdx + rbx]
mov byte [rcx + 2], al
movsx rax, byte [r8 - 3]
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [rcx + 3], al
add rcx, 4
sub r9, 1
jne 0x140003be0
mov ebx, dword [rbp + 0x3e0]
cmp r10d, ebx
jge 0x140003cc0
movzx eax, byte [r11 + rsi]
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
shr rax, 2
movzx eax, byte [rax + r8]
mov byte [rcx], al
lea eax, [rbx - 1]
cmp r10d, eax
movsx rax, byte [r11 + rsi]
jne 0x140003c8b
and eax, 3
mov dl, 0x3d
add rax, rax
movzx eax, byte [r8 + rax*8]
mov byte [rcx + 1], al
jmp 0x140003cb5
movzx edx, byte [r11 + rsi + 1]
and eax, 3
shl rax, 4
shr rdx, 4
or rdx, rax
movzx eax, byte [rdx + r8]
mov byte [rcx + 1], al
movsx rax, byte [r11 + rsi + 1]
and eax, 0xf
movzx edx, byte [r8 + rax*4]
mov byte [rcx + 2], dl
mov byte [rcx + 3], 0x3d
add rcx, 4
mov byte [rcx], 0
lea rdx, [rbp + 0x30]
lea rcx, [0x14001e7e8]
call fcn.140004b30
mov ecx, 1
call fcn.140008fac
mov rcx, rax
lea rdx, [rbp + 0x30]
mov r8, rdi
call fcn.1400031f0
mov rcx, rdi
call fcn.140009034
mov rcx, rsi
call fcn.140009034
inc r14d
add r15, 0x60
cmp r14d, r12d
jl 0x140003a10
mov esi, dword [rsp + 0x48]
xor r15d, r15d
mov rdi, qword [rbp - 0x78]
mov r14d, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [0x140023168]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
inc esi
add rdi, 8
mov dword [rsp + 0x48], esi
mov qword [rbp - 0x78], rdi
cmp esi, r14d
jb 0x140003850
mov r12, qword [rsp + 0x4e8]
mov rcx, rbx
call fcn.140009034
mov rcx, r13
call qword [0x140023160]
mov r15, qword [rsp + 0x4a0]
mov r14, qword [rsp + 0x4a8]
mov r13, qword [rsp + 0x4b0]
add rsp, 0x4b8
pop rdi
pop rsi
pop rbx
pop rbp
ret