Function at 0x140013e20
Capabilities:
Get disk information
Query environment variable
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x558
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov rcx, qword [rsp + 0x570]
add rcx, 8
xor edx, edx
call fcn.1400010f0
mov ecx, 0xc
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0xb
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea rcx, [0x1400374e0]
call fcn.140002da0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, 1
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8d, 1
mov rdx, qword [rsp + 0x58]
call fcn.140002f00
mov ecx, 0x32
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea rcx, [0x1400374e0]
call fcn.140002da0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, 1
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x270], rax
mov rcx, qword [rsp + 0x570]
add rcx, 8
xor r8d, r8d
mov rdx, qword [rsp + 0x270]
call fcn.140002f00
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rcx, qword [rsp + 0x570]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea rcx, [rsp + 0x490]
call fcn.140013970
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x4e8], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x4e8]
mov rax, qword [rax]
mov edx, 0xab
mov rcx, qword [rsp + 0x4e8]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov rdx, rax
call fcn.140016330
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x4f0], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x4f0]
mov rax, qword [rax]
mov edx, 0xac
mov rcx, qword [rsp + 0x4f0]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3f7
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x4f8], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x4f8]
mov rax, qword [rax]
mov edx, 0xad
mov rcx, qword [rsp + 0x4f8]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3f8
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x500], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x500]
mov rax, qword [rax]
mov edx, 0xae
mov rcx, qword [rsp + 0x500]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3fb
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x508], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x508]
mov rax, qword [rax]
mov edx, 0xaf
mov rcx, qword [rsp + 0x508]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3ef
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x510], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x510]
mov rax, qword [rax]
mov edx, 0xb0
mov rcx, qword [rsp + 0x510]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3f1
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x518], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x518]
mov rax, qword [rax]
mov edx, 0xb1
mov rcx, qword [rsp + 0x518]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3ee
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x520], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x520]
mov rax, qword [rax]
mov edx, 0xb2
mov rcx, qword [rsp + 0x520]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3f2
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x528], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x528]
mov rax, qword [rax]
mov edx, 0xb3
mov rcx, qword [rsp + 0x528]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 1
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x530]
mov rax, qword [rax]
mov edx, 0xb4
mov rcx, qword [rsp + 0x530]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 2
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x48
call fcn.14000afd0
mov qword [rsp + 0x538], rax
lea rcx, [rsp + 0x490]
call fcn.1400046c0
mov r8, rax
mov rax, qword [rsp + 0x538]
mov rax, qword [rax]
mov edx, 0xc6
mov rcx, qword [rsp + 0x538]
call qword [rax + 0x28]
lea rcx, [rsp + 0x490]
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x401
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8d, 0x3f0
lea rdx, [rsp + 0x4a0]
call fcn.140002e80
mov rcx, rax
call fcn.14000afd0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140016180
mov rax, qword [0x14002caf0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x498], 0x41
jmp 0x140014454
mov eax, dword [rsp + 0x498]
add eax, 1
mov dword [rsp + 0x498], eax
cmp dword [rsp + 0x498], 0x5a
jg 0x1400144ad
movzx eax, word [rsp + 0x498]
mov word [rsp + 0x50], ax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x1400144ab
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.1400161b0
jmp 0x140014443
mov rcx, qword [rsp + 0x570]
add rcx, 0x60
call fcn.140009f50
test eax, eax
je 0x140014501
mov rcx, qword [rsp + 0x570]
add rcx, 0x60
call fcn.14000afd0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov edx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.1400161b0
lea rcx, [rsp + 0x40]
call fcn.140016080
mov edx, eax
sub edx, 1
lea rcx, [rsp + 0x40]
call fcn.1400160e0
mov rcx, qword [rsp + 0x570]
add rcx, 0x58
call fcn.140009f50
test eax, eax
je 0x140014630
mov rcx, qword [rsp + 0x570]
add rcx, 0x58
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3ed
call fcn.1400163c0
mov rcx, qword [rsp + 0x570]
add rcx, 0x58
call fcn.14000afd0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1400145ea
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8d, 0x3f8
lea rdx, [rsp + 0x4b0]
call fcn.140002e80
mov rcx, rax
call fcn.14000afd0
mov rdx, rax
lea rcx, [rsp + 0x4a8]
call fcn.140018470
mov edx, 1
mov rcx, rax
call fcn.140016280
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8d, 0x401
lea rdx, [rsp + 0x4b8]
call fcn.140002e80
xor edx, edx
mov rcx, rax
call fcn.14000bbf0
jmp 0x14001462e
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8d, 0x3f7
lea rdx, [rsp + 0x4c8]
call fcn.140002e80
mov rcx, rax
call fcn.14000afd0
mov rdx, rax
lea rcx, [rsp + 0x4c0]
call fcn.140018470
mov edx, 1
mov rcx, rax
call fcn.140016280
jmp 0x140014674
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8d, 0x3f7
lea rdx, [rsp + 0x4d8]
call fcn.140002e80
mov rcx, rax
call fcn.14000afd0
mov rdx, rax
lea rcx, [rsp + 0x4d0]
call fcn.140018470
mov edx, 1
mov rcx, rax
call fcn.140016280
mov rcx, qword [rsp + 0x570]
add rcx, 0x60
call fcn.140009f50
test eax, eax
je 0x1400146b3
mov rcx, qword [rsp + 0x570]
add rcx, 0x60
call fcn.14000afd0
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8, rax
mov edx, 0x3f0
call fcn.1400163c0
lea rcx, [rsp + 0x40]
call fcn.140002e00
xor edx, edx
mov word [rsp + 0x60], dx
lea rdi, [rsp + 0x62]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x60]
lea rcx, [0x14002caf8]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
mov word [rsp + 0x280], dx
lea rdi, [rsp + 0x282]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r8, [rsp + 0x60]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.14001d2b4
lea rdx, [0x14002cb20]
lea rcx, [rsp + 0x280]
call fcn.140002ac0
lea r9, [rsp + 0x280]
xor r8d, r8d
lea rdx, [0x14002cb40]
lea rcx, [0x14002cb58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rsp + 0x570]
add rcx, 8
mov r8d, eax
mov edx, 0x3fb
call fcn.140002e20
mov qword [rsp + 0x4e0], 0
lea rcx, [rsp + 0x490]
call fcn.140002d80
mov rax, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x558
pop rdi
pop rbx
ret