Function at 0x140030b30
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov rax, qword [rsp + 0x128]
xor r12d, r12d
mov r14d, dword [rcx + 0xc]
mov r11, r9
mov rsi, qword [rcx + 0x20]
mov edi, r12d
mov rdx, qword [rsp + 0x130]
mov ecx, dword [rax]
lea r9d, [r12 + 1]
mov rax, qword [rsp + 0x110]
mov r15, qword [rsp + 0x138]
mov rbp, qword [rsp + 0x120]
mov rdx, qword [rdx]
mov rax, qword [rax]
mov r15, qword [r15]
mov rbp, qword [rbp]
mov dword [rsp + 0x78], r14d
mov dword [rsp + 0x74], ecx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], r15
mov dword [rsp + 0x70], r12d
test rax, rax
je 0x140030d80
mov r13, qword [rax]
movabs rcx, 0xaaaaaaaaaaaaaaaa
and r13, rcx
je 0x140030c46
lea rax, [r13 - 1]
test r13, rax
je 0x140030c0b
mov r9, qword [rsp + 0x118]
mov r10d, 4
mov r8d, r12d
mov rbx, 0xffffffffffffffff
jmp 0x140030cc0
test r15, r15
je 0x140030bee
mov rbx, qword [r15]
mov r10d, r9d
and rbx, rcx
je 0x140030c39
lea rax, [rbx - 1]
mov r8d, 4
test rbx, rax
cmove r8d, r9d
mov r9, qword [rsp + 0x118]
jmp 0x140030cc0
mov r9, qword [rsp + 0x118]
mov r8d, r12d
jmp 0x140030cc0
mov r10d, r12d
test r15, r15
je 0x140030c63
mov rbx, qword [r15]
and rbx, rcx
jne 0x140030c1b
mov r9, qword [rsp + 0x118]
mov r8d, r12d
jmp 0x140030cc8
mov r9, qword [rsp + 0x118]
mov r8d, r12d
mov rbx, 0xffffffffffffffff
test r9, r9
jns 0x140030c7f
lea edi, [rbx + 0x3e]
jmp 0x140030c8b
bt r9, 0x3d
setb dil
add edi, 0x3b
mov eax, r14d
mov ecx, edi
shl eax, 6
mov r10d, 1
add rax, rbp
mov rcx, qword [rax + rcx*8]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov r13, qword [rcx]
and r13, rax
lea rax, [r13 - 1]
test r13, rax
mov eax, 4
cmovne r10d, eax
mov rax, qword [rsp + 0x80]
mov ecx, r8d
or ecx, r10d
je 0x140030d73
test cl, 4
jne 0x140030e0d
mov r10, qword [rsp + 0x140]
test r15, r15
jne 0x1400316ac
mov rcx, qword [rsp + 0x128]
test r9, r9
sets r12b
add r12d, 0x3d
mov dword [rcx], r12d
mov rcx, qword [rsp + 0x138]
mov qword [rcx], rdx
mov rcx, qword [rsp + 0x130]
mov qword [rcx], rax
mov eax, r14d
shl eax, 6
add rax, rbp
mov ecx, edi
mov rcx, qword [rax + rcx*8]
mov rax, qword [rsp + 0x110]
mov qword [rax], rcx
mov rax, qword [r11]
mov qword [r10], rax
test r9, r9
jns 0x140030d4e
imul ecx, r14d, 0x3e
add rcx, rbp
mov qword [r11], rcx
jmp 0x1400316ac
bt r9, 0x3d
jae 0x140030d64
imul ecx, r14d, 0x3d
add rcx, rbp
mov qword [r11], rcx
jmp 0x1400316ac
imul ecx, r14d, 0x3c
add rcx, rbp
mov qword [r11], rcx
jmp 0x1400316ac
mov r10, qword [rsp + 0x140]
jmp 0x1400316ac
mov rbx, qword [r15]
movabs r8, 0xaaaaaaaaaaaaaaaa
mov r9, qword [rsp + 0x118]
mov r10d, r12d
mov r13, 0xffffffffffffffff
and rbx, r8
je 0x140030daf
lea r8d, [r13 + 5]
mov dword [rsp + 0x70], r12d
jmp 0x140030e11
mov rax, r9
and eax, 8
test ecx, ecx
je 0x140030dd8
test rax, rax
je 0x140030dc5
mov edi, 3
jmp 0x140030de0
movzx edi, r9b
not dil
and edi, 0x20
bts edi, 7
shr edi, 5
jmp 0x140030de0
neg rax
sbb edi, edi
add edi, 3
mov eax, r14d
mov ecx, edi
shl eax, 6
add rax, rbp
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
and rbx, r8
lea rax, [rbx - 1]
test rbx, rax
je 0x140031631
mov r8d, 4
mov dword [rsp + 0x70], r12d
mov ecx, dword [rsp + 0x74]
cmp ecx, 0x3f
je 0x140030e31
mov eax, 1
shl rax, cl
lea rax, [rax*2 - 2]
test r9, rax
jne 0x140030e35
add r8d, 2
jmp 0x140030e35
add r10d, 2
mov eax, r14d
shl eax, 6
cmp r10d, r8d
mov dword [rsp + 0x138], eax
mov r8d, 1
jae 0x140031230
mov r13, qword [rsp + 0x140]
imul ecx, r14d, 0x3f
mov rdx, qword [r13]
add rcx, qword [rsp + 0x88]
call rsi
lea r8d, [r14 + r14]
mov qword [rsp + 0x130], r8
test edi, edi
je 0x140030f3a
mov ecx, dword [rsp + 0x138]
add rcx, rbp
mov edx, edi
mov qword [rsp + 0x80], r15
add r15, r8
mov r9, qword [rcx + rdx*8]
mov qword [rsp + 0x90], r9
test dil, 1
je 0x140030ebc
mov rcx, qword [rsp + 0x118]
lea r13d, [rdi - 1]
mov eax, edi
bt rcx, rax
jae 0x140030ebf
mov r13d, edi
mov r10, qword [rsp + 0x140]
mov r8d, 1
imul r13d, r14d
mov rdx, r15
mov rcx, qword [r10]
add r13, rbp
call rsi
mov r12, qword [rsp + 0x130]
mov ebp, 0x1e
nop dword [rax]
lea rax, [r12 + r15]
mov r8d, 1
mov rdx, rax
mov qword [rsp + 0x128], rax
mov rcx, r15
call rsi
mov rcx, qword [rsp + 0x128]
mov r15, rcx
add ebp, 0xffffffff
jne 0x140030ef0
lea r8d, [rbp + 1]
mov rdx, r13
call rsi
mov r8, qword [rsp + 0x130]
mov r12d, dword [rsp + 0x70]
mov r15, qword [rsp + 0x90]
jmp 0x140030f46
mov r13, qword [r13]
mov qword [rsp + 0x130], r8
lea rbp, [rbx*2 - 2]
movabs rcx, 0x5555555555555555
and rbp, rbx
mov rax, rbp
shr rbp, 2
not rax
and rax, rbx
mov ebx, dword [rsp + 0x138]
or rax, rcx
add rbx, r15
mov qword [r15], rax
mov rcx, r13
test rbp, rbp
je 0x140031001
add r15, r8
lea r12, [rbx + 8]
mov rdx, r15
mov r8d, 1
call rsi
mov r13, qword [r12]
shr rbp, 2
test rbp, rbp
je 0x140030fe0
mov r14, qword [rsp + 0x130]
nop dword [rax + rax]
lea rbx, [r14 + r15]
mov r8d, 1
mov rdx, rbx
mov rcx, r15
call rsi
mov rax, qword [r12 + 0x10]
mov r15, rbx
mov qword [r12], rax
add r12, 0x10
shr rbp, 2
test rbp, rbp
jne 0x140030fb0
mov r14d, dword [rsp + 0x78]
mov edx, r14d
mov r8d, 1
add rdx, r15
mov rcx, r15
call rsi
mov rax, qword [r12 + 8]
mov qword [r12], rax
mov r12d, dword [rsp + 0x70]
jmp 0x140031010
lea rdx, [r15 + r14]
mov r8d, 1
call rsi
mov r13, qword [rbx]
mov r9d, dword [rsp + 0x138]
test edi, edi
je 0x1400311fb
mov r8, qword [rsp + 0x80]
mov rdx, r13
mov rax, qword [r9 + r8 + 0x18]
mov r13, qword [r9 + r8 + 8]
mov qword [r9 + r8 + 8], rax
mov rax, qword [r9 + r8 + 0x28]
mov qword [r9 + r8 + 0x18], rax
mov rax, qword [r9 + r8 + 0x38]
mov qword [r9 + r8 + 0x28], rax
mov rax, qword [r9 + r8 + 0x48]
mov qword [r9 + r8 + 0x38], rax
mov rax, qword [r9 + r8 + 0x58]
mov qword [r9 + r8 + 0x48], rax
mov rax, qword [r9 + r8 + 0x68]
mov qword [r9 + r8 + 0x58], rax
mov rax, qword [r9 + r8 + 0x78]
mov qword [r9 + r8 + 0x68], rax
mov rax, qword [r9 + r8 + 0x88]
mov qword [r9 + r8 + 0x78], rax
mov rax, qword [r9 + r8 + 0x98]
mov qword [r9 + r8 + 0x88], rax
mov rax, qword [r9 + r8 + 0xa8]
mov qword [r9 + r8 + 0x98], rax
mov rax, qword [r9 + r8 + 0xb8]
mov qword [r9 + r8 + 0xa8], rax
mov rax, qword [r9 + r8 + 0xc8]
mov qword [r9 + r8 + 0xb8], rax
mov rax, qword [r9 + r8 + 0xd8]
mov qword [r9 + r8 + 0xc8], rax
mov rax, qword [r9 + r8 + 0xe8]
mov qword [r9 + r8 + 0xd8], rax
mov rax, qword [r9 + r8 + 0xf8]
mov qword [r9 + r8 + 0xe8], rax
mov rax, qword [r9 + r8 + 0x108]
mov qword [r9 + r8 + 0xf8], rax
mov rax, qword [r9 + r8 + 0x118]
mov qword [r9 + r8 + 0x108], rax
mov rax, qword [r9 + r8 + 0x128]
mov qword [r9 + r8 + 0x118], rax
mov rax, qword [r9 + r8 + 0x138]
mov qword [r9 + r8 + 0x128], rax
mov rax, qword [r9 + r8 + 0x148]
mov qword [r9 + r8 + 0x138], rax
mov rax, qword [r9 + r8 + 0x158]
mov qword [r9 + r8 + 0x148], rax
mov rax, qword [r9 + r8 + 0x168]
mov qword [r9 + r8 + 0x158], rax
mov rax, qword [r9 + r8 + 0x178]
mov qword [r9 + r8 + 0x168], rax
mov rax, qword [r9 + r8 + 0x188]
mov qword [r9 + r8 + 0x178], rax
mov rax, qword [r9 + r8 + 0x198]
mov qword [r9 + r8 + 0x188], rax
mov rax, qword [r9 + r8 + 0x1a8]
mov qword [r9 + r8 + 0x198], rax
mov rax, qword [r9 + r8 + 0x1b8]
mov qword [r9 + r8 + 0x1a8], rax
mov rax, qword [r9 + r8 + 0x1c8]
mov qword [r9 + r8 + 0x1b8], rax
mov rax, qword [r9 + r8 + 0x1d8]
mov qword [r9 + r8 + 0x1c8], rax
mov rax, qword [r9 + r8 + 0x1e8]
mov qword [r9 + r8 + 0x1d8], rax
mov rcx, qword [r9 + r8 + 0x1f8]
mov qword [r9 + r8 + 0x1e8], rcx
mov qword [r9 + r8 + 0x1f8], rdx
mov rax, qword [rsp + 0x88]
movabs rcx, 0xd555555555555555
mov qword [rax], rcx
mov rcx, qword [r9 + rax + 0x1f8]
mov qword [r9 + rax + 0x1f0], rcx
mov qword [r9 + rax + 0x1f8], r13
mov eax, r12d
jmp 0x14003173e
mov rdx, qword [r11]
mov rcx, r14
mov qword [rsp + 0x120], rcx
add rcx, qword [rsp + 0x88]
call rsi
mov rax, qword [rsp + 0x108]
imul r8d, r14d, 0x3e
mov rcx, qword [rax]
mov qword [rsp + 0x110], r8
test edi, edi
je 0x140031314
mov r9, qword [rsp + 0x80]
mov edx, dword [rsp + 0x138]
mov eax, edi
mov qword [rsp + 0x90], r9
lea rdx, [rdx + rax*8]
mov r15, qword [rdx + rbp]
lea eax, [rdi + 1]
imul eax, r14d
mov qword [rsp + 0x80], r15
lea r15, [r8 + r9]
mov r8d, 1
mov rdx, r15
add rax, rbp
mov qword [rsp + 0x128], rax
call rsi
lea eax, [r14 + r14]
mov ebp, 0x1e
mov dword [rsp + 0x130], eax
mov r12d, eax
nop dword [rax]
nop dword [rax + rax]
mov rbx, r15
mov r8d, 1
sub rbx, r12
mov rcx, r15
mov rdx, rbx
call rsi
mov r15, rbx
add ebp, 0xffffffff
jne 0x1400312d0
mov rdx, qword [rsp + 0x128]
lea r8d, [rbp + 1]
mov rcx, rbx
call rsi
mov rcx, qword [rsp + 0x128]
mov r8, qword [rsp + 0x110]
mov r12d, dword [rsp + 0x70]
jmp 0x14003131f
lea eax, [r14 + r14]
mov dword [rsp + 0x130], eax
mov rbx, qword [rsp + 0x80]
mov ebp, dword [rsp + 0x138]
lea r15, [rbx + 0x1f8]
add r15, rbp
test r13, r13
jns 0x140031368
imul edx, r14d, 0x3f
mov r8d, 1
add rdx, rbx
call rsi
mov rax, qword [r15 - 8]
movabs rcx, 0xd555555555555555
mov r8, qword [r15]
xor r13, rcx
mov qword [r15], rax
jmp 0x14003141d
lea rbp, [r8 + rbx]
mov r8d, 1
mov rdx, rbp
call rsi
mov rax, qword [r15]
lea r14, [r13*4]
mov qword [rsp + 0x128], rax
test r14, r14
js 0x1400313d8
mov r12d, dword [rsp + 0x130]
nop word [rax + rax]
mov rbx, rbp
mov r8d, 1
sub rbx, r12
mov rcx, rbp
mov rdx, rbx
call rsi
mov rax, qword [r15 - 0x10]
mov rbp, rbx
mov qword [r15], rax
add r15, 0xfffffffffffffff0
shl r14, 2
test r14, r14
jns 0x1400313a0
mov r12d, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
mov rdx, rbp
mov r8d, 1
sub rdx, qword [rsp + 0x120]
mov rcx, rbp
call rsi
mov rax, qword [r15 - 0x10]
lea rcx, [r15 - 0x10]
mov ebp, dword [rsp + 0x138]
mov r8, qword [rsp + 0x128]
mov qword [r15], rax
mov rax, qword [rcx - 8]
mov qword [rcx], rax
sub rcx, rbp
sub rcx, rbx
sar rcx, 3
btc r13, rcx
movabs rcx, 0x5555555555555555
or r13, rcx
mov qword [rbx], r13
test edi, edi
je 0x140031610
mov rdx, qword [rsp + 0x90]
mov rcx, r8
mov rax, qword [rdx + rbp + 0x1e8]
mov r8, qword [rdx + rbp + 0x1f8]
mov qword [rdx + rbp + 0x1f8], rax
mov rax, qword [rdx + rbp + 0x1d8]
mov qword [rdx + rbp + 0x1e8], rax
mov rax, qword [rdx + rbp + 0x1c8]
mov qword [rdx + rbp + 0x1d8], rax
mov rax, qword [rdx + rbp + 0x1b8]
mov qword [rdx + rbp + 0x1c8], rax
mov rax, qword [rdx + rbp + 0x1a8]
mov qword [rdx + rbp + 0x1b8], rax
mov rax, qword [rdx + rbp + 0x198]
mov qword [rdx + rbp + 0x1a8], rax
mov rax, qword [rdx + rbp + 0x188]
mov qword [rdx + rbp + 0x198], rax
mov rax, qword [rdx + rbp + 0x178]
mov qword [rdx + rbp + 0x188], rax
mov rax, qword [rdx + rbp + 0x168]
mov qword [rdx + rbp + 0x178], rax
mov rax, qword [rdx + rbp + 0x158]
mov qword [rdx + rbp + 0x168], rax
mov rax, qword [rdx + rbp + 0x148]
mov qword [rdx + rbp + 0x158], rax
mov rax, qword [rdx + rbp + 0x138]
mov qword [rdx + rbp + 0x148], rax
mov rax, qword [rdx + rbp + 0x128]
mov qword [rdx + rbp + 0x138], rax
mov rax, qword [rdx + rbp + 0x118]
mov qword [rdx + rbp + 0x128], rax
mov rax, qword [rdx + rbp + 0x108]
mov qword [rdx + rbp + 0x118], rax
mov rax, qword [rdx + rbp + 0xf8]
mov qword [rdx + rbp + 0x108], rax
mov rax, qword [rdx + rbp + 0xe8]
mov qword [rdx + rbp + 0xf8], rax
mov rax, qword [rdx + rbp + 0xd8]
mov qword [rdx + rbp + 0xe8], rax
mov rax, qword [rdx + rbp + 0xc8]
mov qword [rdx + rbp + 0xd8], rax
mov rax, qword [rdx + rbp + 0xb8]
mov qword [rdx + rbp + 0xc8], rax
mov rax, qword [rdx + rbp + 0xa8]
mov qword [rdx + rbp + 0xb8], rax
mov rax, qword [rdx + rbp + 0x98]
mov qword [rdx + rbp + 0xa8], rax
mov rax, qword [rdx + rbp + 0x88]
mov qword [rdx + rbp + 0x98], rax
mov rax, qword [rdx + rbp + 0x78]
mov qword [rdx + rbp + 0x88], rax
mov rax, qword [rdx + rbp + 0x68]
mov qword [rdx + rbp + 0x78], rax
mov rax, qword [rdx + rbp + 0x58]
mov qword [rdx + rbp + 0x68], rax
mov rax, qword [rdx + rbp + 0x48]
mov qword [rdx + rbp + 0x58], rax
mov rax, qword [rdx + rbp + 0x38]
mov qword [rdx + rbp + 0x48], rax
mov rax, qword [rdx + rbp + 0x28]
mov qword [rdx + rbp + 0x38], rax
mov rax, qword [rdx + rbp + 0x18]
mov qword [rdx + rbp + 0x28], rax
mov rax, qword [rdx + rbp + 8]
mov qword [rdx + rbp + 0x18], rax
mov qword [rdx + rbp + 8], rcx
mov rax, qword [rsp + 0x88]
movabs rcx, 0x5555555555555557
mov qword [rax], rcx
mov qword [rax + rbp], r8
mov eax, r12d
jmp 0x14003173e
cmp dword [rsp + 0x74], r10d
je 0x14003164c
mov r8, r9
shr r8, 3
not r8d
and r8d, 1
or r8d, 2
jmp 0x140031652
mov r8d, 1
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x110]
mov r10, qword [rsp + 0x140]
mov dword [rax], r8d
mov rax, rdx
mov rax, qword [rsp + 0x130]
mov qword [rcx], rdx
mov ecx, edi
mov qword [rax], r15
mov eax, r14d
shl eax, 6
add rax, rbp
mov rcx, qword [rax + rcx*8]
mov rax, qword [rsp + 0x138]
mov qword [rax], rcx
lea ecx, [r8 + 1]
mov rax, qword [r10]
imul ecx, r14d
mov qword [r11], rax
add rcx, rbp
mov qword [r10], rcx
mov rax, qword [rsp + 0x158]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x28], r9
mov r9, r11
mov qword [rsp + 0x20], rax
call fcn.14003a9b0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret