Function at 0x1401c37d0
Capabilities:
Check if file exists
Get disk information
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1180
call fcn.1401da720
sub rsp, rax
mov qword [rsp + 0x10f8], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x1178], rax
mov dword [rsp + 0x10f0], 0
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x38]
call fcn.1401c2ec0
nop
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x40], 0x43
jmp 0x1401c383b
movzx eax, byte [rsp + 0x40]
add al, 1
mov byte [rsp + 0x40], al
movsx eax, byte [rsp + 0x40]
cmp eax, 0x5a
jg 0x1401c3d64
movsx ecx, byte [rsp + 0x40]
sub ecx, 0x41
mov eax, 1
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x30]
and eax, ecx
test eax, eax
jne 0x1401c3866
jmp 0x1401c3830
lea rcx, [rsp + 0x48]
call fcn.140002de0
nop
movsx r8d, byte [rsp + 0x40]
lea rdx, [0x140219088]
lea rcx, [rsp + 0x48]
call fcn.140002c70
lea rcx, [rsp + 0x48]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x1401c3d55
lea r8, [0x140219090]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x1088]
call fcn.1400010b0
mov qword [rsp + 0x1100], rax
mov rcx, qword [rsp + 0x1100]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401c38ec
mov dword [rsp + 0x1108], 1
jmp 0x1401c38f7
mov dword [rsp + 0x1108], 0
movzx eax, byte [rsp + 0x1108]
mov byte [rsp + 0x1080], al
lea rcx, [rsp + 0x1088]
call fcn.140001490
movzx edx, byte [rsp + 0x1080]
test edx, edx
je 0x1401c392e
lea rcx, [rsp + 0x48]
call fcn.140001490
jmp 0x1401c3830
mov dword [rsp + 0x34], 1
xor eax, eax
mov word [rsp + 0x870], ax
lea rdi, [rsp + 0x872]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
lea r8, [0x1402190a8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x1090]
call fcn.1400010b0
mov qword [rsp + 0x1110], rax
mov rcx, qword [rsp + 0x1110]
call fcn.14000f8f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x870]
lea r8, [0x140218a3c]
lea rdx, [0x1402190c0]
lea rcx, [0x1402190c8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x1090]
call fcn.140001490
xor eax, eax
mov word [rsp + 0x60], ax
lea rdi, [rsp + 0x62]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
lea r8, [0x1402190d8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x1098]
call fcn.1400010b0
mov qword [rsp + 0x1118], rax
mov rcx, qword [rsp + 0x1118]
call fcn.14000f8f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x60]
lea r8, [0x140218a4c]
lea rdx, str.Expired
lea rcx, [0x140219100]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x1098]
call fcn.140001490
mov dword [rsp + 0x860], 0
cmp dword [rsp + 0x860], 0
jl 0x1401c3d55
lea r9, [rsp + 0x860]
lea r8, [0x140218aac]
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x38]
call fcn.1400065a0
nop
lea rcx, [rsp + 0x1070]
call fcn.140006eb0
movzx eax, al
test eax, eax
je 0x1401c3a9a
lea rcx, [rsp + 0x1070]
call fcn.140001490
jmp 0x1401c3d55
mov r8, qword [rsp + 0x1190]
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x10a8]
call fcn.1400010b0
mov qword [rsp + 0x1120], rax
mov rax, qword [rsp + 0x1120]
mov qword [rsp + 0x1128], rax
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x1128]
lea rcx, [rsp + 0x10b0]
call fcn.1400010b0
mov qword [rsp + 0x1130], rax
mov rax, qword [rsp + 0x1130]
mov qword [rsp + 0x1138], rax
mov rcx, qword [rsp + 0x1138]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x10b8]
call fcn.14004e1d0
mov qword [rsp + 0x1140], rax
mov rax, qword [rsp + 0x1140]
mov qword [rsp + 0x1148], rax
mov rcx, qword [rsp + 0x1148]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x10c0]
call fcn.14004e1d0
mov qword [rsp + 0x1150], rax
mov rax, qword [rsp + 0x1150]
mov qword [rsp + 0x1158], rax
mov rcx, qword [rsp + 0x1158]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x10c8]
call fcn.14004e1d0
mov qword [rsp + 0x1160], rax
lea rdx, [rsp + 0x870]
mov rcx, qword [rsp + 0x1160]
call fcn.140006d50
mov byte [rsp + 0x10a0], al
lea rcx, [rsp + 0x10c8]
call fcn.140001490
nop
lea rcx, [rsp + 0x10c0]
call fcn.140001490
nop
lea rcx, [rsp + 0x10b8]
call fcn.140001490
nop
lea rcx, [rsp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rsp + 0x10a8]
call fcn.140001490
movzx edx, byte [rsp + 0x10a0]
test edx, edx
je 0x1401c3d43
lea rcx, [rsp + 0x1078]
call fcn.14000e290
lea rcx, [rsp + 0x60]
call fcn.1400a8944
test rax, rax
jbe 0x1401c3c78
lea r8, [0x140219110]
lea rdx, [rsp + 0x10d8]
lea rcx, [rsp + 0x1078]
call fcn.14000c960
mov qword [rsp + 0x1168], rax
mov eax, dword [rsp + 0x10f0]
or eax, 1
mov dword [rsp + 0x10f0], eax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1168]
call fcn.14004ef50
movzx eax, al
test eax, eax
je 0x1401c3c78
mov dword [rsp + 0x1170], 1
jmp 0x1401c3c83
mov dword [rsp + 0x1170], 0
movzx eax, byte [rsp + 0x1170]
mov byte [rsp + 0x10d0], al
mov eax, dword [rsp + 0x10f0]
and eax, 1
test eax, eax
je 0x1401c3cb5
and dword [rsp + 0x10f0], 0xfffffffe
lea rcx, [rsp + 0x10d8]
call fcn.140001490
movzx eax, byte [rsp + 0x10d0]
test eax, eax
je 0x1401c3d0c
lea rdx, str._ERROR__License_is_expired
mov ecx, 1
call fcn.1400dcf70
mov dword [rsp + 0x10e0], 0xffffffff
lea rcx, [rsp + 0x1070]
call fcn.140001490
nop
lea rcx, [rsp + 0x48]
call fcn.140001490
nop
lea rcx, [rsp + 0x38]
call fcn.140001490
mov eax, dword [rsp + 0x10e0]
jmp 0x1401c3da5
mov dword [rsp + 0x10e4], 1
lea rcx, [rsp + 0x1070]
call fcn.140001490
nop
lea rcx, [rsp + 0x48]
call fcn.140001490
nop
lea rcx, [rsp + 0x38]
call fcn.140001490
mov eax, dword [rsp + 0x10e4]
jmp 0x1401c3da5
lea rcx, [rsp + 0x1070]
call fcn.140001490
jmp 0x1401c3a44
lea rcx, [rsp + 0x48]
call fcn.140001490
jmp 0x1401c3830
cmp dword [rsp + 0x34], 0
je 0x1401c3d89
mov dword [rsp + 0x10e8], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.140001490
mov eax, dword [rsp + 0x10e8]
jmp 0x1401c3da5
mov dword [rsp + 0x10ec], 0
lea rcx, [rsp + 0x38]
call fcn.140001490
mov eax, dword [rsp + 0x10ec]
mov rcx, qword [rsp + 0x1178]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x1180
pop rdi
ret