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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x11d0
call fcn.1401e9500
sub rsp, rax
mov qword [rsp + 0x1148], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x11c8], rax
mov dword [rsp + 0x1140], 0
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x38]
call fcn.1401cf6a0
nop
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x40], 0x43
jmp 0x1401d001b
movzx eax, byte [rsp + 0x40]
add al, 1
mov byte [rsp + 0x40], al
movsx eax, byte [rsp + 0x40]
cmp eax, 0x5a
jg 0x1401d06f3
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 0x1401d0046
jmp 0x1401d0010
lea rcx, [rsp + 0x48]
call fcn.140002d10
nop
movsx r8d, byte [rsp + 0x40]
lea rdx, [0x140229378]
lea rcx, [rsp + 0x48]
call fcn.140002ba0
lea rcx, [rsp + 0x48]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x1401d06e4
lea r8, [0x140229380]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x10d8]
call fcn.1400010b0
mov qword [rsp + 0x1150], rax
mov rcx, qword [rsp + 0x1150]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401d00cc
mov dword [rsp + 0x1158], 1
jmp 0x1401d00d7
mov dword [rsp + 0x1158], 0
movzx eax, byte [rsp + 0x1158]
mov byte [rsp + 0x10d0], al
lea rcx, [rsp + 0x10d8]
call fcn.140007060
movzx edx, byte [rsp + 0x10d0]
test edx, edx
je 0x1401d010e
lea rcx, [rsp + 0x48]
call fcn.140007060
jmp 0x1401d0010
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, [0x140229398]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x10e0]
call fcn.1400010b0
mov qword [rsp + 0x1160], rax
mov rcx, qword [rsp + 0x1160]
call fcn.140050200
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x870]
lea r8, [0x140228d2c]
lea rdx, [0x1402293b0]
lea rcx, [0x1402293b8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x10e0]
call fcn.140007060
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, [0x1402293c8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x10e8]
call fcn.1400010b0
mov qword [rsp + 0x1168], rax
mov rcx, qword [rsp + 0x1168]
call fcn.140050200
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x60]
lea r8, [0x140228d3c]
lea rdx, str.Expired
lea rcx, [0x1402293f0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x10e8]
call fcn.140007060
mov dword [rsp + 0x860], 0
cmp dword [rsp + 0x860], 0
jl 0x1401d06e4
lea r9, [rsp + 0x860]
lea r8, [0x140228d9c]
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x38]
call fcn.140006620
nop
lea rcx, [rsp + 0x1070]
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x1401d027a
lea rcx, [rsp + 0x1070]
call fcn.140007060
jmp 0x1401d06e4
mov r8, qword [rsp + 0x11e0]
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x10f8]
call fcn.1400010b0
mov qword [rsp + 0x1170], rax
mov rax, qword [rsp + 0x1170]
mov qword [rsp + 0x1178], rax
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x1178]
lea rcx, [rsp + 0x1100]
call fcn.1400010b0
mov qword [rsp + 0x1180], rax
mov rax, qword [rsp + 0x1180]
mov qword [rsp + 0x1188], rax
mov rcx, qword [rsp + 0x1188]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1108]
call fcn.14004f600
mov qword [rsp + 0x1190], rax
mov rax, qword [rsp + 0x1190]
mov qword [rsp + 0x1198], rax
mov rcx, qword [rsp + 0x1198]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1110]
call fcn.14004f600
mov qword [rsp + 0x11a0], rax
mov rax, qword [rsp + 0x11a0]
mov qword [rsp + 0x11a8], rax
mov rcx, qword [rsp + 0x11a8]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1118]
call fcn.14004f600
mov qword [rsp + 0x11b0], rax
lea rdx, [rsp + 0x870]
mov rcx, qword [rsp + 0x11b0]
call fcn.140006dd0
mov byte [rsp + 0x10f0], al
lea rcx, [rsp + 0x1118]
call fcn.140007060
nop
lea rcx, [rsp + 0x1110]
call fcn.140007060
nop
lea rcx, [rsp + 0x1108]
call fcn.140007060
nop
lea rcx, [rsp + 0x1100]
call fcn.140007060
nop
lea rcx, [rsp + 0x10f8]
call fcn.140007060
movzx edx, byte [rsp + 0x10f0]
test edx, edx
je 0x1401d06d2
lea rcx, [rsp + 0x1078]
call fcn.14000dd70
lea rcx, [rsp + 0x60]
call fcn.1400a99d4
test rax, rax
jbe 0x1401d0458
lea r8, [0x140229400]
lea rdx, [rsp + 0x1128]
lea rcx, [rsp + 0x1078]
call fcn.14000d730
mov qword [rsp + 0x11b8], rax
mov eax, dword [rsp + 0x1140]
or eax, 1
mov dword [rsp + 0x1140], eax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x11b8]
call fcn.140050370
movzx eax, al
test eax, eax
je 0x1401d0458
mov dword [rsp + 0x11c0], 1
jmp 0x1401d0463
mov dword [rsp + 0x11c0], 0
movzx eax, byte [rsp + 0x11c0]
mov byte [rsp + 0x1120], al
mov eax, dword [rsp + 0x1140]
and eax, 1
test eax, eax
je 0x1401d0495
and dword [rsp + 0x1140], 0xfffffffe
lea rcx, [rsp + 0x1128]
call fcn.140007060
movzx eax, byte [rsp + 0x1120]
test eax, eax
je 0x1401d069b
mov eax, 0x2a
mov word [rsp + 0x1080], ax
mov eax, 0x2a
mov word [rsp + 0x1082], ax
mov eax, 0x2a
mov word [rsp + 0x1084], ax
mov eax, 0x20
mov word [rsp + 0x1086], ax
mov eax, 0x45
mov word [rsp + 0x1088], ax
mov eax, 0x52
mov word [rsp + 0x108a], ax
mov eax, 0x52
mov word [rsp + 0x108c], ax
mov eax, 0x4f
mov word [rsp + 0x108e], ax
mov eax, 0x52
mov word [rsp + 0x1090], ax
mov eax, 0x20
mov word [rsp + 0x1092], ax
mov eax, 0x2a
mov word [rsp + 0x1094], ax
mov eax, 0x2a
mov word [rsp + 0x1096], ax
mov eax, 0x2a
mov word [rsp + 0x1098], ax
mov eax, 0x20
mov word [rsp + 0x109a], ax
mov eax, 0x4c
mov word [rsp + 0x109c], ax
mov eax, 0x69
mov word [rsp + 0x109e], ax
mov eax, 0x63
mov word [rsp + 0x10a0], ax
mov eax, 0x65
mov word [rsp + 0x10a2], ax
mov eax, WSASetLastError
mov word [rsp + 0x10a4], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x10a6], ax
mov eax, 0x65
mov word [rsp + 0x10a8], ax
mov eax, 0x20
mov word [rsp + 0x10aa], ax
mov eax, 0x69
mov word [rsp + 0x10ac], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x10ae], ax
mov eax, 0x20
mov word [rsp + 0x10b0], ax
mov eax, 0x65
mov word [rsp + 0x10b2], ax
mov eax, 0x78
mov word [rsp + 0x10b4], ax
mov eax, reloc.WS2_32.dll_WSASetLastError
mov word [rsp + 0x10b6], ax
mov eax, 0x69
mov word [rsp + 0x10b8], ax
mov eax, WSACleanup
mov word [rsp + 0x10ba], ax
mov eax, 0x65
mov word [rsp + 0x10bc], ax
mov eax, 0x64
mov word [rsp + 0x10be], ax
xor eax, eax
mov word [rsp + 0x10c0], ax
lea rdx, [rsp + 0x1080]
mov ecx, 1
call fcn.1400de020
mov dword [rsp + 0x1130], 0xffffffff
lea rcx, [rsp + 0x1070]
call fcn.140007060
nop
lea rcx, [rsp + 0x48]
call fcn.140007060
nop
lea rcx, [rsp + 0x38]
call fcn.140007060
mov eax, dword [rsp + 0x1130]
jmp 0x1401d0734
mov dword [rsp + 0x1134], 1
lea rcx, [rsp + 0x1070]
call fcn.140007060
nop
lea rcx, [rsp + 0x48]
call fcn.140007060
nop
lea rcx, [rsp + 0x38]
call fcn.140007060
mov eax, dword [rsp + 0x1134]
jmp 0x1401d0734
lea rcx, [rsp + 0x1070]
call fcn.140007060
jmp 0x1401d0224
lea rcx, [rsp + 0x48]
call fcn.140007060
jmp 0x1401d0010
cmp dword [rsp + 0x34], 0
je 0x1401d0718
mov dword [rsp + 0x1138], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.140007060
mov eax, dword [rsp + 0x1138]
jmp 0x1401d0734
mov dword [rsp + 0x113c], 0
lea rcx, [rsp + 0x38]
call fcn.140007060
mov eax, dword [rsp + 0x113c]
mov rcx, qword [rsp + 0x11c8]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x11d0
pop rdi
ret