Function at 0x180058200
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1800b88d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea r12d, [rdx - 0xc]
mov qword [rsp + 0x38], rcx
mov r14, r8
mov r9, rcx
cmp edx, r12d
jbe case.0x180058285.0
mov rdi, qword [rsp + 0x40]
lea r13d, [rdx - 0xa5]
mov rbx, qword [rsp + 0x40]
mov ebp, dword [rsp + 0x34]
mov esi, dword [rsp + 0x34]
mov r15d, dword [rsp + 0x34]
lea rdx, [0x180000000]
movabs r8, 0xaaaaaaaaaaaaaaab
cmp r13d, 0x19
ja case.0x180058285.2
mov ecx, dword [rdx + r13*4 + 0x585f0]
add rcx, rdx
jmp rcx
mov r8d, 5
mov dword [rsp + 0x50], 0x50
lea rdx, str.C:S
lea rcx, [rsp + 0x52]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
movabs rax, 0x3500440045
mov dword [rsp + 0x5a], 0x5f
mov qword [rsp + 0x5c], rax
jmp 0x180058583
mov eax, dword [r14 + 0xd924]
mov dword [rsp + 0x30], eax
jmp case.0x180058285.2
mov eax, dword [0x1800adbe0]
lea rdx, [rsp + 0x7a]
movsd xmm0, qword [str.zone_3]
mov r8d, 0xa
mov dword [rsp + 0x76], eax
movzx eax, word [0x1800adbe4]
movsd qword [rsp + 0x6e], xmm0
lea ecx, [r8 - 4]
mov word [rsp + 0x7a], ax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ltow]
mov dword [rsp + 0x7c], 0x4e
jmp 0x180058583
cmp dword [rsp + 0x34], 2
jb case.0x180058285.2
mov byte [rsp + 0x30], 1
jmp case.0x180058285.0
cmp qword [r14 + 0x18], 0x10
mov rdi, r14
jb 0x18005833b
mov rdi, qword [r14]
cmp qword [r9 + 0x18], 0x10
mov rbx, r9
jb 0x180058348
mov rbx, qword [r9]
mov rax, r8
mul qword [r14 + 0x10]
shr rdx, 1
lea rcx, [rdx + rdx*2]
mov qword [rsp + 0x40], rcx
jmp case.0x180058285.2
mov rcx, qword [r14 + 0x10]
mov rax, r8
add rcx, 2
xor r8d, r8d
mul rcx
mov rcx, r9
shr rdx, 1
shl rdx, 2
call fcn.1800a1280
jmp 0x180058583
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
test rcx, rcx
je 0x180058453
mov rax, r8
dec rcx
mul rcx
mov r8, rdx
shr r8, 1
inc r8
lea r9, [r8 + r8*2]
nop dword [rax]
mov eax, 0x5d
cmp eax, 0x5d
je 0x180058422
cmp eax, 0x2454
je 0x1800583de
cmp eax, 0x484b
je 0x1800583d5
cmp eax, 0x6c42
jne 0x180058439
add rdi, 3
jmp 0x180058439
movzx edx, byte [rdi + 2]
and edx, 0x3f
jmp 0x180058429
movzx edx, byte [rdi]
movzx ecx, byte [rdi + 1]
and edx, 3
shl edx, 4
shr ecx, 4
add edx, ecx
mov rcx, qword [0x1800b8b18]
movzx edx, byte [rdx + rcx]
mov byte [rbx], dl
movzx edx, byte [rdi + 1]
movzx ecx, byte [rdi + 2]
and edx, 0xf
shr ecx, 6
lea edx, [rcx + rdx*4]
mov rcx, qword [0x1800b8b18]
movzx edx, byte [rdx + rcx]
mov byte [rbx + 1], dl
add rbx, 2
jmp 0x180058439
movzx edx, byte [rdi]
shr rdx, 2
mov rcx, qword [0x1800b8b18]
movzx edx, byte [rdx + rcx]
mov byte [rbx], dl
inc rbx
add eax, 0x23f7
cmp eax, 0x8fdc
jbe 0x1800583b5
sub r8, 1
jne 0x1800583b0
cmp r9, qword [r14 + 0x10]
jae 0x180058583
mov r8d, 0x11
mov eax, r8d
sub eax, 0x11
je 0x1800584f0
sub eax, 1
je 0x1800584eb
cmp eax, 1
jne 0x180058505
mov rax, qword [0x1800b8b18]
mov ecx, ebp
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov eax, esi
mov byte [rbx], cl
mov ecx, ebp
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [0x1800b8b18]
movzx ecx, byte [rcx + rax]
lea rax, [r9 + 1]
mov byte [rbx + 1], cl
cmp rax, qword [r14 + 0x10]
jae 0x1800584dd
mov ecx, esi
mov eax, r15d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x1800b8b18]
movzx edx, byte [rcx + rax]
mov byte [rbx + 2], dl
mov byte [rbx + 3], 0x3d
add rbx, 4
jmp 0x180058505
mov dl, 0x3d
mov byte [rbx + 2], dl
mov byte [rbx + 3], dl
add rbx, 4
jmp 0x180058505
xor r15d, r15d
jmp 0x180058505
movzx ebp, byte [rdi]
lea rax, [r9 + 1]
cmp rax, qword [r14 + 0x10]
jae 0x180058503
movzx esi, byte [rdi + 1]
jmp 0x180058505
xor esi, esi
inc r8d
cmp r8d, 0x14
jb 0x180058463
jmp 0x180058583
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
mov ecx, 0x111
call fcn.1800a1ae0
test al, al
jne 0x180058583
mov byte [rsp + 0x30], al
jmp case.0x180058285.0
mov r8d, 2
lea rdx, [0x1800adbe8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov dword [rsp + 0x66], 0x55
lea rdx, [0x1800adbf0]
mov r8d, 3
mov dword [rsp + 0x68], 0x54
lea rcx, [rsp + 0x6a]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov r9, qword [rsp + 0x38]
dec r13d
lea eax, [r13 + 0xa5]
cmp eax, r12d
jbe case.0x180058285.0
jmp 0x18005825f
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
xor r8d, r8d
xor edx, edx
mov ecx, 0xee
call fcn.180087870
cmp eax, 3
setae byte [rsp + 0x30]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800a5da0
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret