Function at 0x180019020
Capabilities:
Encode data using base64
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0xe08]
sub rsp, 0xf08
mov eax, dword [0x1800df340]
mov r10, r9
mov r11, r8
mov r13d, ecx
test al, 1
jne 0x180019060
or eax, 1
mov dword [0x1800df340], eax
mov qword [rsp + 0xf00], rsi
lea r12d, [rcx + 0x10]
mov qword [rsp + 0xef8], rdi
lea r8, [0x180000000]
mov rdi, qword [rsp + 0x60]
xor ebx, ebx
mov qword [rsp + 0xef0], r14
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0xee8], r15
cmp r13d, r12d
jae 0x180019385
mov r14, qword [rsp + 0x60]
lea esi, [rcx - 0x108]
mov r15, qword [rsp + 0x60]
lea edx, [rbx + 1]
cmp esi, 0x41
ja case.0x1800190d0.16
movzx eax, byte [r8 + rsi + 0x198b4]
mov ecx, dword [r8 + rax*4 + 0x19870]
add rcx, r8
jmp rcx
mov r8d, 2
mov byte [0x1800df2f1], bl
lea rdx, [0x180097507]
lea rcx, [0x1800df2f1]
call fcn.180071f50
jmp 0x18001935a
test r14, r14
je case.0x1800190d0.16
cmp byte [r14 + 1], 0x3a
mov rcx, qword [rsp + 0x70]
jne 0x18001914f
cmp rcx, 3
jg 0x18001914f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, eax
mov eax, 0xffffffff
cmp r15, rax
je 0x18001935a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, eax
mov rcx, r14
shr r15, 4
and r15d, 1
call fcn.180072184
mov r14, rbx
jmp 0x18001935a
cmp byte [rcx + r14 - 1], 0x5c
jne case.0x1800190d0.16
mov byte [rcx + r14 - 1], bl
jmp case.0x1800190d0.16
movsxd rdi, dword [rbp + 0xd4c]
mov qword [rsp + 0x78], rdi
jmp case.0x1800190d0.16
mov rax, qword [r10]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rbp - 0x80], rax
xor edx, edx
lea rax, [rbp - 0x80]
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x28
call fcn.180036ed0
jmp 0x18001935a
mov word [0x1800df300], 0x51
jmp case.0x1800190d0.16
test r14, r14
je case.0x1800190d0.16
lea rdx, [rbp + 0x5a0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1800191ff
mov r15, qword [rbp + 0x5a0]
mov rcx, rax
shr r15, 4
and r15d, 1
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9d, 0xfd
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180056b50
jmp 0x18001935a
mov rax, qword [r10]
lea r8, [rbp + 0xe30]
mov word [rbp + 0xe30], dx
mov r9d, 0x53
lea rdx, [rbp - 0x78]
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.18002dab0
mov qword [rsp + 0x70], rax
jmp 0x18001935a
mov eax, dword [r10]
lea rdx, [rbp + 0x7f0]
mov ecx, 0xfffffefb
mov dword [rbp + 0xd50], eax
call qword [0x1800ce8f0]
mov word [0x1800ce8f8], bx
jmp 0x18001935a
mov dword [0x1800df2f7], 0x4b4a4948
mov byte [0x1800df2fb], bl
jmp case.0x1800190d0.16
mov r14, rbx
mov r15, rbx
jmp case.0x1800190d0.16
movzx eax, word [r10]
mov word [rbp + 0x3f8], ax
movzx eax, word [r11]
mov word [rbp + 0x3fa], ax
mov qword [rbp + 0x502], rbx
mov word [rbp + 0x50a], bx
jmp case.0x1800190d0.16
mov dword [0x1800df2f3], 0x47464544
mov byte [0x1800df2f7], bl
jmp case.0x1800190d0.16
mov eax, dword [0x180097537]
mov dword [0x1800df2fb], eax
movzx eax, byte [0x18009753b]
mov byte [0x1800df2ff], al
jmp case.0x1800190d0.16
mov byte [0x1800df2f0], 0x41
jmp case.0x1800190d0.16
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jle case.0x1800190d0.16
lea rax, [rcx + 1]
mov rcx, rax
mov qword [rsp + 0x58], rax
call fcn.18007218c
mov r14, rax
test rax, rax
je 0x18001935a
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, rax
call fcn.18006e5e0
mov eax, 1
lea r8, [rsp + 0x68]
mov word [rsp + 0x68], ax
lea rdx, [rsp + 0x60]
mov rax, qword [rbp + 0xe48]
mov r9d, 0x53
mov rcx, r14
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
call fcn.18002dab0
mov r10, qword [rbp + 0xe48]
lea r8, [0x180000000]
mov r11, qword [rbp + 0xe40]
mov edx, 1
inc esi
lea eax, [rsi + 0x108]
cmp eax, r12d
jb 0x1800190b3
lea eax, [r13 + 0xf]
mov dword [rsp + 0x50], eax
cmp r13d, eax
jae 0x18001983e
mov r9, qword [0x1800df338]
lea edx, [r13 - 0x108]
mov r14, qword [rsp + 0x60]
mov ecx, eax
mov rsi, qword [rsp + 0x60]
mov r15d, dword [rbp + 0xe30]
mov r13d, dword [rbp + 0xe30]
mov r12d, dword [rbp + 0xe30]
mov rdi, qword [rsp + 0x60]
mov dword [rsp + 0x58], edx
nop
cmp edx, 0x40
ja case.default.0x1800193ed
movzx eax, byte [r8 + rdx + 0x19938]
mov ecx, dword [r8 + rax*4 + 0x198f8]
add rcx, r8
jmp rcx
xor r9d, r9d
mov byte [rbp + 0xe30], 1
xor edx, edx
lea rcx, [rbp + 0xe30]
lea r8d, [r9 + 0x7f]
call fcn.180033ce0
test al, al
mov rax, qword [rbp + 0xe40]
je 0x18001944a
movsx rdx, word [rax]
mov rax, qword [rbp + 0xe48]
mov rax, qword [rax]
mov rcx, qword [rax]
mov rax, qword [rcx + rdx*8 - 8]
cmp byte [rax], 0x17
jne 0x180019442
mov rax, qword [rax + 2]
test rax, rax
je 0x180019442
mov rax, qword [rax]
jmp 0x180019841
mov rax, rbx
jmp 0x180019841
movsx rcx, word [rax]
mov rax, qword [rbp + 0xe48]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + rcx*8 - 8]
jmp 0x180019841
mov byte [0x1800df330], 0
lea rax, [0x1800df2f0]
mov rcx, qword [r10 + 0x10]
xor r8d, r8d
mov qword [0x1800df338], rax
add rcx, 2
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rcx, r11
shr rdx, 1
shl rdx, 2
call fcn.180061d20
jmp 0x180019801
mov ecx, 0xffffff7d
lea rdx, [rbp - 0x50]
call qword [0x1800ce8f0]
mov rcx, qword [rbp + 0xe38]
movzx eax, word [rbp + 0x50a]
mov word [0x1800ce8f8], ax
test rcx, rcx
je 0x180019801
test ax, ax
jne 0x1800194fe
xor r9d, r9d
mov dword [rsp + 0x70], 0x200
lea r8, [rsp + 0x70]
mov dword [rsp + 0x20], 0x157
lea rdx, [rbp - 0x50]
call fcn.1800108e0
jmp 0x180019801
mov word [rcx], bx
jmp 0x180019801
mov r11, rbx
test rdi, rdi
je 0x1800195d1
lea rcx, [rdi - 1]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov ebx, 0xffffffff
shr rdx, 1
inc rdx
lea r11, [rdx + rdx*2]
nop dword [rax]
nop word [rax + rax]
mov r8d, 0x8f
mov eax, r8d
sub eax, 0x8e
je 0x1800195b1
cmp eax, 1
jne 0x1800195b5
movzx eax, byte [r14]
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rsi], al
movzx eax, byte [r14 + 1]
movzx ecx, byte [r14]
shr eax, 4
and ecx, 3
shl ecx, 4
add ecx, eax
movzx ecx, byte [rcx + r9]
mov byte [rsi + 1], cl
movzx eax, byte [r14 + 2]
movzx ecx, byte [r14 + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
movzx eax, byte [rax + r9]
mov byte [rsi + 2], al
movzx eax, byte [r14 + 2]
and eax, 0x3f
movzx eax, byte [rax + r9]
mov byte [rsi + 3], al
add rsi, 4
jmp 0x1800195b5
add r14, 3
add r8d, ebx
cmp r8d, 0x8d
ja 0x180019546
sub rdx, 1
jne 0x180019540
mov edx, dword [rsp + 0x58]
xor ebx, ebx
cmp r11, qword [r10 + 0x10]
jae case.0x1800193ed.15
mov edx, 0x7b
cmp edx, 0x7b
je 0x180019646
cmp edx, 0x567c
je 0x18001962c
cmp edx, 0xac7d
jne 0x180019672
lea rax, [r11 + 1]
cmp rax, qword [r10 + 0x10]
jae 0x18001961f
mov eax, r13d
mov ecx, r15d
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
movzx eax, byte [rax + r9]
mov byte [rsi], al
mov byte [rsi + 1], 0x3d
add rsi, 2
jmp 0x180019672
mov al, 0x3d
mov byte [rsi], al
mov byte [rsi + 1], al
add rsi, 2
jmp 0x180019672
mov ecx, r12d
mov eax, r15d
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
movzx ecx, byte [rcx + r9]
mov byte [rsi], cl
jmp 0x18001966f
movzx r12d, byte [r14]
lea rax, [r11 + 1]
cmp rax, qword [r10 + 0x10]
jae 0x18001965b
movzx r15d, byte [r14 + 1]
jmp 0x18001965e
mov r15d, ebx
mov rax, r12
mov r13d, ebx
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rsi], al
inc rsi
add edx, 0x5601
cmp edx, 0x10203
jbe 0x1800195e0
jmp 0x180019808
mov byte [0x1800df303], 0
jmp case.0x1800193ed.15
mov eax, 0x6665
mov word [0x1800df30e], ax
jmp case.0x1800193ed.15
mov eax, 0x5958
mov dword [0x1800df303], 0x57565554
mov word [0x1800df307], ax
mov byte [0x1800df309], 0
jmp case.0x1800193ed.15
mov word [0x1800df317], 0x6e
jmp case.0x1800193ed.15
mov eax, dword [0x18009756e]
mov dword [0x1800df318], eax
movzx eax, byte [0x180097572]
mov byte [0x1800df31c], al
mov eax, dword [0x1800975a0]
mov dword [0x1800df31d], eax
movzx eax, byte [0x1800975a4]
mov byte [0x1800df321], al
mov byte [0x1800df322], 0
jmp case.0x1800193ed.15
mov eax, 0x5352
mov word [0x1800df301], ax
jmp case.0x1800193ed.15
mov eax, 0x615a
mov byte [0x1800df30b], 0
mov r8d, 2
mov word [0x1800df309], ax
lea rdx, [0x180097619]
lea rcx, [0x1800df2f0]
call fcn.180071b90
mov byte [0x1800df30d], 0x64
jmp 0x180019801
cmp qword [r10 + 0x18], 0x10
mov r14, r10
jb 0x18001976a
mov r14, qword [r10]
cmp qword [r11 + 0x18], 0x10
mov rsi, r11
jb 0x180019777
mov rsi, qword [r11]
movabs rax, 0xaaaaaaaaaaaaaaab
mul qword [r10 + 0x10]
shr rdx, 1
lea rdi, [rdx + rdx*2]
jmp 0x180019808
mov r8d, 5
mov byte [0x1800df310], 0
lea rdx, [0x18009762f]
lea rcx, [0x1800df2f0]
call fcn.180071b90
mov eax, 0x6d6c
mov word [0x1800df315], ax
jmp 0x180019801
mov dword [0x1800df32c], 0x2f2b3938
jmp case.0x1800193ed.15
mov eax, dword [0x180097684]
lea rdx, [0x18009769a]
mov dword [0x1800df322], eax
lea rcx, [0x1800df327]
movzx eax, byte [0x180097688]
mov r8d, 5
mov byte [0x1800df326], al
mov byte [0x1800df327], 0
call fcn.180071f50
mov r9, qword [0x1800df338]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov r10, qword [rbp + 0xe48]
lea r8, [0x180000000]
mov r11, qword [rbp + 0xe40]
inc edx
mov dword [rsp + 0x58], edx
lea eax, [rdx + 0x108]
cmp eax, ecx
jb 0x1800193d0
mov rdi, qword [rsp + 0x78]
mov rax, rdi
mov r15, qword [rsp + 0xee8]
mov r14, qword [rsp + 0xef0]
mov rdi, qword [rsp + 0xef8]
mov rsi, qword [rsp + 0xf00]
add rsp, 0xf08
pop r13
pop r12
pop rbx
pop rbp
ret