Function at 0x14028fcb0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, rcx
lea rcx, [rsp + 0x68]
call fcn.14028f560
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x30]
call fcn.14000cb18
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or r12d, 0xffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
xor esi, esi
test eax, eax
jg 0x14028fd24
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14029003b
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r9d, 1
mov r8d, 0x12c
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.14000bd14
mov r9, qword [rax + 8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x12c
lea r8, [0x140330de8]
lea rdx, [0x140353a70]
lea rcx, str.License
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [rbp - 0x60]
mov rbx, qword [rbp - 0x70]
cmp eax, r12d
jne 0x14028fdbd
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14028fdb4
mov eax, esi
jmp 0x14028fdc5
movsxd rdx, dword [rcx - 0xc]
call fcn.1400beaac
test eax, eax
js 0x140290030
mov rdx, qword [rbx]
cmp eax, dword [rdx - 0xc]
jg 0x140290030
mov dword [rdx - 0x10], eax
movsxd rdx, eax
mov rax, qword [rbx]
mov word [rax + rdx*2], si
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r9d, 1
mov r8d, 0x12c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14000bd14
mov r9, qword [rax + 8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x12c
lea r8, [0x140330de8]
lea rdx, str.LicenseKey
lea rcx, str.License
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [rbp - 0x78]
mov rbx, qword [rsp + 0x78]
cmp eax, r12d
jne 0x14028fe66
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14028fe5d
mov eax, esi
jmp 0x14028fe6e
movsxd rdx, dword [rcx - 0xc]
call fcn.1400beaac
test eax, eax
js 0x140290025
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140290025
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], si
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14000c4d8
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.14000c4d8
nop
lea rdx, [0x140350cfe]
lea rcx, [rsp + 0x58]
call fcn.14002e7e0
nop
mov rax, qword [rdi]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [rax]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov ecx, r12d
lock xadd dword [rdx + 0x10], ecx
add ecx, r12d
test ecx, ecx
jg 0x14028fef9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp ebx, 3
jne 0x14028ff90
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
mov r8d, 0x4e4
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140008c4c
nop
mov rdx, qword [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.14001c5ec
nop
lea rax, [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
cmp rcx, rax
je 0x14028ff40
call fcn.1400be914
lea rdx, [0x140350cfe]
lea rcx, [rsp + 0x60]
call fcn.14002e7e0
nop
mov rax, qword [rdi]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [rax]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14028ff90
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14028ffbe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14028ffe0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140290002
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14029003b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14029003b
mov ecx, 0x80070057
call fcn.14000cbb8
nop
mov ecx, 0x80070057
call fcn.14000cbb8
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14029005c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400be110
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret