Function at 0x180010900
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x180090f80]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r10, qword [rbp + 0x70]
mov esi, ecx
mov r11, qword [rbp + 0x78]
mov r13, qword [rbp + 0x80]
imul eax, ecx, 0x267
mov qword [rsp + 0x40], r9
xor r9d, r9d
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x58], r11
mov dword [rsp + 0x38], eax
cmp ecx, eax
ja 0x180010e9d
movsxd rbx, dword [rsp + 0x34]
mov r12, qword [rsp + 0x40]
mov r15, rbx
mov r14, qword [rsp + 0x40]
mov edx, dword [0x18008de00]
mov eax, 0x44
lea edi, [rax - 3]
cmp esi, 0x141e
ja 0x180010adf
je 0x180010ad3
cmp esi, 0x41a
ja 0x180010a83
je 0x180010a58
mov eax, esi
sub eax, 0x19
je 0x180010a45
sub eax, 0x82
je 0x180010a39
cmp eax, 0x2b
jne 0x180010e81
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x40], 0
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800109e0
movzx eax, word [0x18007aab0]
mov word [rcx], ax
movzx eax, byte [0x18007aab2]
mov byte [rcx + 2], al
mov eax, dword [str.tSys]
mov ecx, dword [rsp + 0x30]
mov dword [rbp - 0x3e], eax
mov eax, dword [str.temIn]
mov dword [rbp - 0x3a], eax
movzx eax, word [0x18007aac0]
mov word [rbp - 0x36], ax
movzx eax, word [0x18007aac4]
mov word [rbp - 0x35], ax
movzx eax, byte [0x18007aac6]
mov byte [rbp - 0x33], al
jmp 0x180010e81
mov r12, qword [0x18008de38]
jmp 0x180010e81
mov dword [rbp - 0x30], 0x5f444642
mov dword [rbp - 0x2c], 0x4c4552
jmp 0x180010e81
mov eax, 0x434f
mov dword [rbp - 0x27], 0x4c415f
mov word [rbp - 0x29], ax
mov eax, 0x50
mov word [rbp - 0x24], ax
mov eax, 0x48
mov word [rbp - 0x23], ax
mov word [rbp - 0x22], di
jmp 0x180010e81
cmp esi, 0x81b
je 0x180010abe
cmp esi, 0xc1c
je 0x180010ab1
cmp esi, 0x101d
jne 0x180010e81
mov word [rbp - 0x1a], ax
mov eax, 0x52
mov word [rbp - 0x19], ax
jmp 0x180010e81
mov word [rbp - 0x1c], di
mov word [rbp - 0x1b], ax
jmp 0x180010e81
mov eax, 0x5f
mov word [rbp - 0x21], ax
mov dword [rbp - 0x20], 0x45444f43
jmp 0x180010e81
mov dword [rbp - 0x50], 0x63736c
jmp 0x180010e81
cmp esi, 0x3241
ja 0x180010cdf
je 0x180010b9e
cmp esi, 0x142e
je 0x180010f21
cmp esi, 0x196e
je 0x180010b3b
cmp esi, 0x207c
jne 0x180010e81
mov r8d, 2
mov word [rbp - 0x10], r9w
lea rdx, [0x18007aa8c]
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov ecx, dword [rsp + 0x30]
mov r8, qword [rsp + 0x78]
jmp 0x180010e7b
mov ecx, dword [0x18008de44]
test ecx, ecx
je 0x180010b6a
sub ecx, 1
je 0x180010b61
cmp ecx, 1
je 0x180010b58
lea rax, [0x1800797a3]
jmp 0x180010b71
lea rax, [0x18007aad0]
jmp 0x180010b71
lea rax, [0x18007aacc]
jmp 0x180010b71
lea rax, [0x18007aac8]
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x30]
mov ebx, 0xffffffff
mov dword [rsp + 0x34], ebx
mov esi, 0x196e
mov r15, 0xffffffffffffffff
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x54], r9d
jmp 0x180010e81
inc edx
mov rcx, r12
mov dword [0x18008de00], edx
mov edx, 0x3d
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x70], rax
test rax, rax
je 0x180010bcd
mov r14, rax
sub r14, r12
inc rax
mov qword [rsp + 0x70], rax
jmp 0x180010bde
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r12 + r14], 0
jne 0x180010bd4
mov rax, qword [r13]
xor edi, edi
mov esi, edi
test rax, rax
je 0x180010ca8
mov rbx, r13
nop dword [rax]
nop word [rax + rax]
mov r8, r14
mov rdx, rax
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x180010c89
mov rcx, qword [rbx]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180010c20
cmp rax, r14
je 0x180010cbb
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0
je 0x180010c42
cmp r14, 1
je 0x180010c89
cmp r15, 0xffffffffffffffff
jne 0x180010c51
mov dword [rsp + 0x34], esi
mov r15, rdi
jmp 0x180010c89
mov rax, qword [rsp + 0x40]
test byte [rax], 4
jne 0x180010c81
mov rcx, r15
shl rcx, 5
mov eax, dword [rcx + r13 + 8]
cmp dword [rbx + 8], eax
jne 0x180010c81
mov rax, qword [rcx + r13 + 0x10]
cmp qword [rbx + 0x10], rax
jne 0x180010c81
mov eax, dword [rcx + r13 + 0x18]
cmp dword [rbx + 0x18], eax
je 0x180010c89
mov dword [rsp + 0x54], 1
inc rdi
inc esi
mov rbx, rdi
shl rbx, 5
add rbx, r13
mov rax, qword [rbx]
test rax, rax
jne 0x180010c00
mov ebx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
mov esi, 0x3241
mov r8, qword [rsp + 0x78]
jmp 0x180010e7b
mov ecx, dword [rsp + 0x30]
mov ebx, esi
mov r8, qword [rsp + 0x78]
mov r15, rdi
mov dword [rsp + 0x34], ebx
mov esi, 0x3241
mov dword [rsp + 0x50], 1
jmp 0x180010e7b
cmp esi, 0x4b14
je 0x180010d17
cmp esi, 0x63e7
jne 0x180010e81
movsxd rcx, ebx
shl rcx, 5
mov rdx, qword [rcx + r13 + 0x10]
mov eax, dword [rcx + r13 + 0x18]
test rdx, rdx
je 0x180010f42
mov dword [rdx], eax
mov eax, r9d
jmp 0x180010f42
cmp dword [rsp + 0x50], 0
jne 0x180010d29
cmp dword [rsp + 0x54], 0
jne 0x180010f99
cmp ebx, 0xffffffff
je 0x180010f02
mov rdi, r15
shl rdi, 5
add rdi, r13
mov ecx, dword [rdi + 8]
test ecx, ecx
jne 0x180010d9c
cmp qword [rsp + 0x70], 0
je 0x180010dd2
cmp dword [0x18008de04], ecx
je 0x180010d77
cmp byte [r11], 0x3a
je 0x180010d77
mov rdx, qword [rsp + 0x48]
lea rcx, str.MKS_RenderMain:_Unable_to_find_a_renderer
mov r9, r12
mov r8d, r14d
call fcn.180076140
xor r9d, r9d
movsxd rax, ebx
shl rax, 5
cmp qword [rax + r13 + 0x10], 0
jne 0x180010d8b
mov r9d, dword [rax + r13 + 0x18]
mov dword [0x18008de08], r9d
mov eax, 0x3f
jmp 0x180010f42
lea eax, [rcx - 1]
cmp eax, 1
ja 0x180010dd2
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180010db7
mov qword [0x1800e2238], rax
jmp 0x180010dd2
cmp ecx, 1
jne 0x180010dd2
movsxd rax, edx
inc edx
mov rcx, qword [r10 + rax*8]
mov qword [0x1800e2238], rcx
mov dword [0x18008de00], edx
cmp dword [rdi + 8], 1
jne 0x180010e6f
cmp qword [0x1800e2238], 0
jne 0x180010e6f
mov ebx, 0x66
nop
mov eax, ebx
sub eax, 0x66
je 0x180010e11
cmp eax, 1
jne 0x180010e5f
mov ecx, 0x3a
mov eax, 0x3f
cmp byte [r11], cl
cmove eax, ecx
jmp 0x180010f42
cmp dword [0x18008de04], 0
je 0x180010e42
cmp byte [r11], 0x3a
je 0x180010e42
mov rdx, qword [rsp + 0x48]
lea rcx, str.AcsWsNotifyProfileChange___failed.
mov r8, r12
call fcn.180076140
mov edx, dword [0x18008de00]
xor r9d, r9d
mov r11, qword [rsp + 0x58]
cmp qword [rdi + 0x10], 0
jne 0x180010e4e
mov eax, dword [rdi + 0x18]
jmp 0x180010e51
mov eax, r9d
dec edx
mov dword [0x18008de08], eax
mov dword [0x18008de00], edx
inc ebx
cmp ebx, 0x68
jb 0x180010df0
mov ebx, dword [rsp + 0x34]
mov r8, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x30]
test r8, r8
je 0x180010e81
mov dword [r8], ebx
mov edx, dword [0x18008de00]
mov r10, qword [rsp + 0x60]
xor r9d, r9d
mov r11, qword [rsp + 0x58]
imul eax, ecx, 0x29
add esi, eax
cmp esi, dword [rsp + 0x38]
jbe 0x18001098d
lea eax, [rcx + 0xf]
mov dword [rsp + 0x30], eax
cmp ecx, eax
jae 0x180010f3e
mov r15, qword [rsp + 0x40]
lea r13d, [rcx - 0x19]
mov rdi, qword [rsp + 0x40]
lea rdx, [0x180000000]
mov r14d, dword [rsp + 0x38]
mov ecx, eax
mov esi, dword [rsp + 0x38]
movabs r8, 0xaaaaaaaaaaaaaaab
mov r12d, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
cmp r13d, 0xb2
ja case.default.0x180010f00
movzx eax, byte [rdx + r13 + 0x113cc]
mov ecx, dword [rdx + rax*4 + 0x11390]
add rcx, rdx
jmp rcx
mov eax, 8
cmp eax, 8
je 0x180010fd2
add eax, 0x450
cmp eax, 0x450
jbe 0x180010f07
jmp 0x180010e73
mov qword [rsp + 0x20], r9
mov r8, r10
xor r9d, r9d
xor edx, edx
mov ecx, eax
call fcn.18004abc0
test al, al
je 0x180010f6f
mov byte [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.180076c30
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rdx, qword [rsp + 0x60]
mov byte [rsp + 0x34], 0
mov rax, qword [rdx + 8]
dec qword [rax]
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rsp + 0x58]
mov qword [rax], rcx
jmp 0x180010f3e
cmp dword [0x18008de04], 0
je 0x180011014
cmp byte [r11], 0x3a
je 0x180011014
mov rdx, qword [rsp + 0x48]
lea rcx, str.vad_reset:_invalid_parameter
mov r9, r12
mov r8d, r14d
call fcn.180076140
xor r9d, r9d
mov dword [0x18008de08], r9d
lea eax, [r9 + 0x3f]
jmp 0x180010f42
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0
je 0x180010fee
dec edx
mov eax, 0xffffffff
mov dword [0x18008de00], edx
jmp 0x180010f42
cmp dword [0x18008de04], 0
je 0x180011014
cmp byte [r11], 0x3a
je 0x180011014
mov rdx, qword [rsp + 0x48]
lea rcx, str.vvm.tex.fetch.grad.offset.
mov r8, r12
call fcn.180076140
xor r9d, r9d
mov dword [0x18008de08], r9d
mov eax, 0x3f
jmp 0x180010f42
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x4c], 0
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180011030
mov eax, dword [0x18007aad4]
lea rdx, [0x18007aad8]
mov dword [rcx], eax
mov r8d, 2
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
xor r9d, r9d
movabs r8, 0xaaaaaaaaaaaaaaab
jmp 0x180011356
mov word [rbp + 8], r9w
jmp case.0x180010f00.14
mov eax, dword [0x18007ab52]
mov dword [rbp - 0xc], eax
movzx eax, word [0x18007ab56]
mov word [rbp - 8], ax
mov word [rbp - 6], r9w
jmp case.0x180010f00.14
mov byte [rbp - 0x4d], 0x70
jmp case.0x180010f00.14
mov r8d, 1
lea rdx, [0x18007ab8a]
lea rcx, [rbp + 6]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor r9d, r9d
movabs r8, 0xaaaaaaaaaaaaaaab
jmp 0x180011356
movsd xmm0, qword [0x18007abd8]
movzx eax, word [0x18007abe0]
movsd qword [rbp - 6], xmm0
mov word [rbp + 2], ax
mov dword [rbp + 4], 0x6c
jmp case.0x180010f00.14
cmp r15, qword [r10 + 0x10]
jae case.0x180010f00.14
mov edx, 0x122
cmp edx, 0x122
je 0x18001116c
cmp edx, 0x2440
jne 0x18001119d
mov ecx, r14d
mov eax, esi
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [0x180136ee8]
movzx ecx, byte [rcx + rax]
lea rax, [r15 + 1]
mov byte [rbx], cl
cmp rax, qword [r10 + 0x10]
jae 0x18001115b
mov ecx, esi
mov eax, r12d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180136ee8]
movzx r8d, byte [rcx + rax]
mov byte [rbx + 1], r8b
mov byte [rbx + 2], 0x3d
add rbx, 3
jmp 0x18001119d
mov r8b, 0x3d
mov byte [rbx + 1], r8b
mov byte [rbx + 2], r8b
add rbx, 3
jmp 0x18001119d
movzx r14d, byte [rdi]
lea rax, [r15 + 1]
cmp rax, qword [r10 + 0x10]
jae 0x180011180
movzx esi, byte [rdi + 1]
jmp 0x180011183
mov esi, r9d
mov rax, qword [0x180136ee8]
mov rcx, r14
shr rcx, 2
mov r12d, r9d
movzx ecx, byte [rcx + rax]
mov byte [rbx], cl
inc rbx
add edx, 0x231e
cmp edx, 0x463c
jbe 0x1800110f8
movabs r8, 0xaaaaaaaaaaaaaaab
jmp 0x180011356
mov rax, r8
mov r15, r9
mul qword [r10 + 0x10]
shr rdx, 1
lea rcx, [rdx + rdx*2]
test rcx, rcx
je 0x180011294
dec rcx
mov rax, r8
mul rcx
shr rdx, 1
inc rdx
lea r15, [rdx + rdx*2]
nop dword [rax + rax]
mov r8d, 0x9a
mov eax, r8d
sub eax, 0x9a
je 0x180011262
cmp eax, 0x45
jne 0x180011279
movzx ecx, byte [rdi]
movzx eax, byte [rdi + 1]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov rax, qword [0x180136ee8]
movzx ecx, byte [rcx + rax]
mov byte [rbx], cl
movzx ecx, byte [rdi + 1]
movzx eax, byte [rdi + 2]
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180136ee8]
movzx ecx, byte [rcx + rax]
mov byte [rbx + 1], cl
movzx ecx, byte [rdi + 2]
mov rax, qword [0x180136ee8]
and ecx, 0x3f
movzx ecx, byte [rcx + rax]
mov byte [rbx + 2], cl
add rbx, 3
add rdi, 3
jmp 0x180011279
movzx ecx, byte [rdi]
mov rax, qword [0x180136ee8]
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rbx], cl
inc rbx
add r8d, 0x45
cmp r8d, 0x124
jb 0x1800111f6
sub rdx, 1
jne 0x1800111f0
mov r9d, dword [rsp + 0x38]
lea rdx, [rbp - 0x50]
xor r8d, r8d
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_CredRenameA]
xor r9d, r9d
movabs r8, 0xaaaaaaaaaaaaaaab
jmp 0x180011356
lea r8, [rbp - 0x40]
mov edx, 0xb2
lea rcx, [rbp - 0x10]
call fcn.18005f890
mov qword [rsp + 0x68], rax
xor r9d, r9d
movabs r8, 0xaaaaaaaaaaaaaaab
jmp 0x180011356
cmp qword [r11 + 0x18], 0x10
mov rbx, r11
jb case.0x180010f00.14
mov rbx, qword [r11]
jmp case.0x180010f00.14
cmp qword [r10 + 0x18], 0x10
mov rdi, r10
jb case.0x180010f00.14
mov rdi, qword [r10]
jmp case.0x180010f00.14
mov rdx, qword [rsp + 0x40]
xor r8d, r8d
mov rcx, r11
call fcn.18005d5c0
xor r9d, r9d
movabs r8, 0xaaaaaaaaaaaaaaab
mov dword [rsp + 0x38], r9d
jmp 0x180011356
movzx eax, word [0x18007ac00]
mov rcx, qword [r10 + 0x10]
mov word [rbp - 0x48], ax
add rcx, 2
movzx eax, byte [0x18007ac02]
mov byte [rbp - 0x46], al
mov rax, r8
mul rcx
mov rax, rdx
shr rax, 1
shl rax, 2
mov qword [rsp + 0x40], rax
lea rdx, [0x180000000]
mov ecx, dword [rsp + 0x30]
inc r13d
lea eax, [r13 + 0x19]
cmp eax, ecx
jae 0x180010f3e
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x58]
jmp 0x180010ee0
lea rcx, [rbp - 0x80]
call qword [rsp + 0x68]
mov eax, dword [rbp - 0x60]
jmp 0x180010f42