Function at 0x140074ff0
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 rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xbb8]
sub rsp, 0xcb8
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0xba0], rax
mov ebx, dword [rbp + 0xc20]
mov r14, qword [rbp + 0xc08]
mov r12, qword [rbp + 0xc10]
mov r13, qword [rbp + 0xc00]
mov r15, qword [rbp + 0xc18]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r12
test ebx, ebx
je case.0x140075085.0
mov eax, dword [r15]
and eax, 7
cmp rax, 7
ja case.default.0x140075085
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x75764]
add rax, rcx
jmp rax
xor edi, edi
lea eax, [rbx - 1]
movsxd r8, eax
mov edx, edi
test eax, eax
js 0x1400750c1
nop word [rax + rax]
mov rax, qword [r15 + r8*8]
shr rax, 2
or rax, rdx
mov rdx, qword [r15 + r8*8]
shl rdx, 0x3e
mov qword [rbp + r8*8 + 0x580], rax
sub r8, 1
jns 0x1400750a0
test ebx, ebx
je 0x1400750e9
lea r8, [rbp + 0x580]
nop dword [rax]
mov rax, qword [r8]
inc rax
mov qword [r8], rax
cmp rax, 1
jae 0x1400750e9
inc edi
add r8, 8
cmp edi, ebx
jb 0x1400750d0
mov rax, qword [r13 + 8]
lea r8, [rbp + 0x580]
mov qword [rsp + 0x30], rax
mov r9d, ebx
mov dword [rsp + 0x28], ebx
mov rdx, r12
mov rcx, r14
mov qword [rsp + 0x20], r15
call fcn.140073760
mov al, 1
jmp 0x14007573e
lea edx, [rbx - 1]
xor edi, edi
movsxd rsi, edx
mov r8d, edi
mov r9, rsi
test edx, edx
js 0x140075151
nop dword [rax]
mov rax, qword [r15 + r9*8]
shr rax, 3
or rax, r8
mov r8, qword [r15 + r9*8]
shl r8, 0x3d
mov qword [rbp + r9*8 + 0x580], rax
sub r9, 1
jns 0x140075130
mov r9, rdi
test ebx, ebx
je 0x140075190
lea rax, [rbp + 0x370]
mov r11, r12
sub r11, rax
lea r8, [rbp + 0x370]
mov r10, rbx
nop
mov rcx, qword [r11 + r8]
lea r8, [r8 + 8]
lea rax, [rcx + rcx]
or rax, r9
mov r9, rcx
shr r9, 0x3f
mov qword [r8 - 8], rax
sub r10, 1
jne 0x140075170
test edx, edx
js 0x1400751b6
lea r9, [rbp + 0x370]
sub r9, r15
lea rax, [r15 + rsi*8]
mov rcx, qword [r9 + rax]
cmp rcx, qword [rax]
ja 0x1400751b6
jb 0x140075209
sub rax, 8
sub edx, 1
jns 0x1400751a2
mov rdx, rdi
test ebx, ebx
je 0x140075209
lea rax, [rbp + 0x370]
mov r10, r15
sub r10, rax
lea rcx, [rbp + 0x370]
mov r9, rbx
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov r8, qword [r10 + rcx]
sub rax, rdx
cmp rax, 0xffffffffffffffff
je 0x1400751f9
cmp rax, r8
mov rdx, rdi
setb dl
sub rax, r8
mov qword [rcx], rax
add rcx, 8
sub r9, 1
jne 0x1400751e0
mov rax, qword [r13 + 8]
lea r8, [rbp + 0x580]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x370]
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0x160]
mov r9d, ebx
mov qword [rsp + 0x20], r15
call fcn.140073760
mov rcx, qword [r13]
test rcx, rcx
jne 0x1400752be
mov r14, qword [r13 + 8]
lea esi, [rbx + rbx]
lea eax, [rsi - 1]
mov r8d, ebx
lea ecx, [rsi - 2]
mov qword [rbp + rax*8 + 0x790], rdi
mov qword [rbp + rcx*8 + 0x790], rdi
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x790]
call fcn.1400732a0
test r14, r14
je 0x140075298
mov r8d, ebx
lea rdx, [rbp + 0x790]
lea rcx, [rsp + 0x50]
mov rax, r14
call qword [case.0x1400cc851.0]
mov r14, qword [rsp + 0x40]
jmp 0x1400752d6
mov dword [rsp + 0x28], ebx
lea r8, [rbp + 0x790]
mov r9d, esi
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.140072f10
mov r14, qword [rsp + 0x40]
jmp 0x1400752d6
mov r9, r15
mov dword [rsp + 0x20], ebx
lea r8, [rbp + 0x160]
lea rdx, [rsp + 0x50]
call fcn.140074370
mov rcx, qword [r13]
lea rdx, [rsp + 0x50]
test rcx, rcx
jne 0x140075307
mov rax, qword [r13 + 8]
lea r8, [rbp + 0x370]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
mov r9, r15
mov dword [rsp + 0x20], ebx
call fcn.140073650
jmp 0x140075321
mov dword [rsp + 0x28], ebx
lea r9, [rbp + 0x370]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r15
call fcn.140074140
mov r8d, edi
test ebx, ebx
je 0x1400753b8
lea rdx, [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdx]
lea rax, [rcx - 1]
mov qword [rdx], rax
cmp rcx, 1
jae 0x1400753b8
inc r8d
add rdx, 8
cmp r8d, ebx
jb 0x140075340
lea rax, [rsp + 0x50]
mov r8, r15
sub r8, rax
lea rdx, [rsp + 0x50]
nop dword [rax]
mov rcx, qword [r8 + rdx]
lea rax, [rcx - 1]
mov qword [rdx], rax
cmp rcx, 1
jae 0x14007538d
inc edi
add rdx, 8
cmp edi, ebx
jb 0x140075370
jmp 0x1400753b8
lea rax, [rsp + 0x50]
cmp rax, r15
je 0x1400753b8
mov eax, ebx
lea ecx, [rdi + 1]
sub eax, edi
lea rdx, [r15 + rcx*8]
lea r8d, [rax*8 - 8]
lea rax, [rsp + 0x50]
lea rcx, [rax + rcx*8]
call fcn.140175f40
mov rcx, qword [r13]
test rcx, rcx
jne 0x1400753e5
mov rax, qword [r13 + 8]
lea r8, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov r9, r15
mov rdx, r12
mov dword [rsp + 0x20], ebx
mov rcx, r14
call fcn.140073650
jmp 0x140075400
mov dword [rsp + 0x28], ebx
lea r9, [rbp + 0x160]
mov r8, r12
mov qword [rsp + 0x20], r15
mov rdx, r14
call fcn.140074140
mov rcx, qword [r13]
mov rdx, r14
test rcx, rcx
jne 0x140075430
mov rax, qword [r13 + 8]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r9, r15
mov rcx, r14
mov dword [rsp + 0x20], ebx
call fcn.140073650
mov al, 1
jmp 0x14007573e
mov dword [rsp + 0x28], ebx
lea r9, [rsp + 0x50]
mov r8, r14
mov qword [rsp + 0x20], r15
call fcn.140074140
mov al, 1
jmp 0x14007573e
lea r8d, [rbx*8 - 8]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140176680
xor edi, edi
mov qword [rsp + 0x50], 1
mov edx, edi
test ebx, ebx
je 0x1400754db
lea rax, [rbp + 0x580]
mov r8, r15
sub r8, rax
lea rcx, [rbp + 0x580]
nop word [rax + rax]
mov rax, qword [rcx + r8]
inc rax
mov qword [rcx], rax
cmp rax, 1
jae 0x1400754ac
inc edx
add rcx, 8
cmp edx, ebx
jb 0x140075490
jmp 0x1400754db
lea rax, [rbp + 0x580]
cmp rax, r15
je 0x1400754db
lea ecx, [rdx + 1]
mov eax, ebx
sub eax, edx
lea rdx, [r15 + rcx*8]
lea r8d, [rax*8 - 8]
lea rax, [rbp + 0x580]
lea rcx, [rax + rcx*8]
call fcn.140175f40
lea r12d, [rbx - 1]
mov rdx, rdi
movsxd r8, r12d
test r12d, r12d
js 0x14007551a
nop word [rax + rax]
mov rcx, qword [rbp + r8*8 + 0x580]
mov rax, rcx
shr rax, 1
or rax, rdx
mov rdx, rcx
shl rdx, 0x3f
mov qword [rbp + r8*8 + 0x580], rax
sub r8, 1
jns 0x1400754f0
lea r12d, [rbx - 1]
movsxd r14, ebx
lea esi, [rbx - 1]
mov ecx, edi
test esi, esi
je 0x140075543
lea rax, [rsp + 0x58]
nop dword [rax + rax]
cmp qword [rax], rdi
jne case.0x140075085.0
inc ecx
add rax, 8
cmp ecx, esi
jb 0x140075530
cmp qword [rsp + 0x50], 0x63
ja case.0x140075085.0
mov dword [rsp + 0x38], ebx
lea rax, [rbp + 0x580]
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x370]
mov rax, qword [rsp + 0x48]
lea rdx, [rbp + 0x160]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1400746b0
test byte [rbp + 0x160], 1
je 0x1400755de
mov r8, rdi
test ebx, ebx
je 0x1400755de
lea rax, [rbp + 0x160]
mov r10, r15
sub r10, rax
lea rdx, [rbp + 0x160]
mov r9, rbx
mov rcx, qword [rdx]
mov rax, qword [rdx + r10]
add rcx, r8
cmp rcx, r8
jae 0x1400755c4
mov rcx, rax
jmp 0x1400755d1
add rcx, rax
mov r8, rdi
cmp rcx, rax
setb r8b
mov qword [rdx], rcx
add rdx, 8
sub r9, 1
jne 0x1400755b0
lea rdx, [r14 - 1]
mov r9, rdi
test rdx, rdx
js 0x140075621
mov rax, qword [rsp + 0x40]
lea r10, [rbp + 0x160]
sub r10, rax
lea r8, [rax + rdx*8]
nop dword [rax]
mov rax, qword [r10 + r8]
lea r8, [r8 - 8]
shr rax, 1
or rax, r9
mov r9, qword [r10 + r8 + 8]
shl r9, 0x3f
sub rdx, 1
mov qword [r8 + 8], rax
jns 0x140075600
mov r8, qword [rsp + 0x40]
lea rdx, [rbp + 0x160]
mov r9, r15
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.1400745a0
mov ecx, r12d
test r12d, r12d
js 0x140075110
mov r9, qword [rsp + 0x48]
lea rdx, [rbp + 0x160]
sub r9, rdx
lea rax, [rbp + r14*8 + 0x158]
nop
mov rdx, qword [rax]
cmp rdx, qword [r9 + rax]
ja 0x14007567b
jb 0x14007567b
sub rax, 8
sub ecx, 1
jns 0x140075660
mov al, 1
jmp 0x14007573e
mov ecx, edi
test esi, esi
je 0x140075697
lea rax, [rbp + 0x378]
cmp qword [rax], rdi
jne 0x1400756b2
inc ecx
add rax, 8
cmp ecx, esi
jb 0x140075688
cmp qword [rbp + 0x370], 1
je 0x140075704
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jle 0x140075704
mov edx, edi
test ebx, ebx
je 0x1400756d9
lea rcx, [rbp + 0x370]
nop
mov rax, qword [rcx]
inc rax
mov qword [rcx], rax
cmp rax, 1
jae 0x1400756d9
inc edx
add rcx, 8
cmp edx, ebx
jb 0x1400756c0
lea rax, [r15 - 8]
mov ecx, r12d
lea r9, [rbp + 0x370]
lea rax, [rax + r14*8]
sub r9, r15
nop
mov rdx, qword [rax + r9]
cmp rdx, qword [rax]
ja 0x140075704
jb case.0x140075085.0
sub rax, 8
sub ecx, 1
jns 0x1400756f0
mov edx, edi
test ebx, ebx
je 0x140075520
lea rcx, [rsp + 0x50]
mov rax, qword [rcx]
inc rax
mov qword [rcx], rax
cmp rax, 1
jae 0x140075520
inc edx
add rcx, 8
cmp edx, ebx
jb 0x140075713
jmp 0x140075520
mov ecx, 0x25
int 0x29
xor al, al
mov rcx, qword [rbp + 0xba0]
xor rcx, rsp
call fcn.140133600
add rsp, 0xcb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret