Function at 0x140044410
Capabilities:
Encode data using base64

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rsi, qword [rbp + 0x98]
mov r11d, r9d
mov rdi, r8
mov rbx, rdx
mov r15, rcx
test rsi, rsi
je 0x1400444f8
mov r10, qword [rbp + 0x80]
test r10, r10
jne 0x1400444e8
mov r9, qword [rbp + 0x68]
lea rax, [rbp + 0x60]
mov r14, qword [rbp + 0x90]
lea r8, [rbp + 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.14004b050
mov r10, qword [rbp + 0x80]
test r10, r10
jne 0x1400444d5
xor eax, eax
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rsi, qword [rbp + 0x98]
mov r12, qword [rbp + 0x90]
jmp 0x14004456d
mov r12, qword [rbp + 0x90]
mov r14, qword [rbp + 0x88]
jmp 0x140044575
mov r9, qword [rbp + 0x68]
lea rax, [rbp + 0x60]
mov rdx, qword [rbp + 0x70]
lea r8, [rbp + 0x80]
mov r12, qword [rbp + 0x88]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x88]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.14004b550
mov rsi, qword [rbp + 0x98]
test rsi, rsi
je 0x1400444c4
mov r14, qword [rbp + 0x88]
mov r10, qword [rbp + 0x80]
mov rdi, qword [rbp + 0x50]
mov r11d, dword [rbp + 0x58]
mov ecx, dword [rbp + 0x60]
mov eax, ecx
mov qword [rsp + 0xa0], r13
mov r13d, 0x20
xor eax, r13d
je 0x1400445f1
test ecx, ecx
jne 0x14004459d
mov rax, qword [rdi + 0x10]
mov ecx, 2
mov qword [r14], rax
mov eax, ecx
lea rdx, [rdi + rax*8]
cmp ecx, r13d
jae 0x1400445d3
mov r8d, r13d
sub r8d, ecx
shr r8d, 1
je 0x1400445f1
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 0x10]
mov qword [rdx], rax
lea rdx, [rdx + 0x10]
add r8d, 0xffffffff
jne 0x1400445c0
jmp 0x1400445f1
lea r8d, [rcx - 0x20]
shr r8d, 1
je 0x1400445f1
nop dword [rax]
mov rax, qword [rdx - 0x10]
mov qword [rdx], rax
lea rdx, [rdx - 0x10]
add r8d, 0xffffffff
jne 0x1400445e0
lea rdx, [r10 + 0x20]
movabs rax, 0x5ddddddddddddddd
mov qword [r10], rax
mov r8d, 9
mov rcx, qword [rdx]
mov rax, rdx
mov qword [rdx - 8], rcx
add rdx, 0x10
nop word [rax + rax]
mov rcx, qword [rdx]
lea rdx, [rdx + 0x30]
mov qword [rax], rcx
mov rcx, qword [rdx - 0x20]
mov qword [rax + 0x10], rcx
mov rcx, qword [rdx - 0x10]
mov qword [rax + 0x18], rcx
add rax, r13
add r8d, 0xffffffff
jne 0x140044620
mov rcx, qword [rdx]
mov r8d, 4
mov qword [rax], rcx
mov r9d, r8d
mov rcx, qword [rdx + 0x10]
mov rdx, rdi
mov qword [rax + 0x10], rcx
mov rcx, qword [r14]
mov qword [rax + 0x18], rcx
add rax, r13
nop word [rax + rax]
mov rcx, qword [rdx + 0x10]
lea rdx, [rdx + 0x30]
mov qword [rax], rcx
lea rax, [rax + 0x20]
mov rcx, qword [rdx - 0x10]
mov qword [rax - 0x10], rcx
mov rcx, qword [rdx]
mov qword [rax - 8], rcx
add r9d, 0xffffffff
jne 0x140044670
mov rcx, qword [rdx + 0x10]
mov r9d, 0xa
mov qword [rax], rcx
mov rcx, qword [rdx + 0x20]
lea rdx, [rsi + 0x200]
mov qword [rax + 0x10], rcx
mov rcx, rdx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx - 0x10]
lea rdx, [rdx - 0x30]
mov qword [rcx - 8], rax
mov rax, qword [rdx + 0x10]
mov qword [rcx - 0x10], rax
sub rcx, r13
mov rax, qword [rdx]
mov qword [rcx], rax
add r9d, 0xffffffff
jne 0x1400446c0
mov rax, qword [rdx - 0x10]
lea rdx, [rdi + 0x1f0]
mov qword [rcx - 8], rax
mov rax, qword [r12]
mov qword [rcx - 0x10], rax
sub rcx, r13
mov rax, qword [rdx]
mov qword [rcx], rax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx - 0x10]
lea rdx, [rdx - 0x30]
mov qword [rcx - 8], rax
lea rcx, [rcx - 0x20]
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov rax, qword [rdx]
mov qword [rcx], rax
add r8d, 0xffffffff
jne 0x140044710
mov rax, qword [rdx - 0x10]
mov qword [rcx - 8], rax
mov rax, qword [rdx - 0x20]
mov qword [rcx - 0x10], rax
movabs rax, 0xdddddddddddddddd
mov qword [rcx - 0x20], rax
mov eax, r11d
xor eax, 0x3f
mov rcx, qword [rdx - 0x40]
je 0x140044788
mov qword [r14], rcx
mov edx, r11d
mov rcx, rbx
call fcn.140044050
mov rcx, qword [r15 + 0x48]
mov rdx, rdi
mov ebx, eax
call qword [r15 + 0x30]
test eax, eax
jne 0x1400448a9
mov eax, ebx
jmp 0x1400448b2
mov qword [r12], rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov r8, qword [rbx]
mov rdx, r8
and rdx, rax
mov rcx, rdx
shr rcx, 0x20
neg rcx
shr rcx, 0x20
and ecx, r13d
shr rdx, cl
sub r13, rcx
lea rcx, [rdx - 0x10000]
shr rcx, 0x20
and ecx, 0x10
shl rdx, cl
add r13, rcx
lea rcx, [rdx - 0x1000000]
shr rcx, 0x20
and ecx, 8
shl rdx, cl
add r13, rcx
lea rcx, [rdx - 0x10000000]
shr rcx, 0x20
and ecx, 4
shl rdx, cl
add r13, rcx
lea rcx, [rdx - 0x40000000]
shr rcx, 0x20
and ecx, 2
shl rdx, cl
shr rdx, 0x1e
mov rax, rdx
shr rax, 1
not eax
and eax, edx
sub ecx, eax
lea eax, [rcx + 2]
add eax, r13d
mov r10d, eax
xor r10d, 0x3f
mov ecx, r10d
btr r8, rcx
mov qword [rbx], r8
test eax, eax
je 0x14004488c
mov rax, qword [rbx + 0x3e8]
lea ecx, [r11 - 1]
mov r9d, 0x3d
mov qword [rbx + 0x3f8], rax
lea r8d, [rcx - 1]
sub r9d, r10d
shr r9d, 1
lea r8, [r8 + 0x40]
lea r8, [rbx + r8*8]
lea rdx, [rbx + rcx*8]
je 0x14004487c
nop
mov rax, qword [rdx - 0x10]
mov qword [rdx], rax
add rdx, 0xfffffffffffffff0
mov rax, qword [r8 - 0x10]
mov qword [r8], rax
add r8, 0xfffffffffffffff0
add r9d, 0xffffffff
jne 0x140044860
mov rax, qword [rdx - 8]
mov qword [rdx], rax
mov rax, qword [r8 - 8]
mov qword [r8], rax
jmp 0x14004489a
mov rax, qword [rbx + 0x3f0]
mov qword [rbx + 0x3f8], rax
mov rcx, qword [r15 + 0x48]
mov rdx, rdi
call qword [r15 + 0x30]
test eax, eax
je 0x1400448b0
mov eax, 0xfffffffd
jmp 0x1400448b2
xor eax, eax
mov r13, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret