Function at 0x14004ed30
Capabilities:
Delete file
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0xd08
mov qword [rsp + 0xcb0], 0xfffffffffffffffe
mov rax, qword [0x140079ca0]
xor rax, rsp
mov qword [rsp + 0xcf8], rax
call fcn.140005fb0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x140
mov qword [rsp + 0x68], rax
xor eax, eax
mov word [rsp + 0x80], ax
lea rdi, [rsp + 0x82]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x24
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
je 0x14004edc0
xor eax, eax
jmp 0x14004f1ad
lea rdx, str.INFOEM.INF
lea rcx, [rsp + 0x80]
call fcn.140004d20
lea rcx, [rsp + 0x38]
call fcn.140011e1c
nop
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.140011f20
test eax, eax
je 0x14004f191
mov dword [rsp + 0x2a8], 0
lea rcx, [rsp + 0x2a0]
call fcn.140003710
nop
lea rcx, [rsp + 0x298]
call fcn.140003710
nop
xor eax, eax
mov word [rsp + 0x2b0], ax
lea rdi, [rsp + 0x2b2]
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
lea rcx, [rsp + 0x38]
call fcn.140011a64
mov dword [rsp + 0x2a8], eax
lea rdx, [rsp + 0xc90]
lea rcx, [rsp + 0x38]
call fcn.140012408
mov qword [rsp + 0xcb8], rax
mov rax, qword [rsp + 0xcb8]
mov qword [rsp + 0xcc0], rax
mov rdx, qword [rsp + 0xcc0]
lea rcx, [rsp + 0x2a0]
call fcn.1400059b0
nop
lea rcx, [rsp + 0xc90]
call fcn.140003760
mov dword [rsp + 0x290], 0x100
mov dword [rsp + 0x4b0], 0
lea rcx, [rsp + 0x2a0]
call fcn.140003700
mov rbx, rax
mov rcx, qword [rsp + 0xd30]
call fcn.140003700
mov rdi, rax
mov rcx, qword [rsp + 0xd28]
call fcn.140003700
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x2b0]
lea r8, [0x14006507c]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, eax
mov eax, dword [rsp + 0x4b0]
add eax, edx
mov dword [rsp + 0x4b0], eax
cmp dword [rsp + 0x4b0], 0
jbe 0x14004f15d
xor edx, edx
lea rcx, [rsp + 0x4c0]
call fcn.14004ecc0
nop
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
and eax, 0x400
test eax, eax
jne 0x14004ef69
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
and eax, 0x800
test eax, eax
jne 0x14004ef69
mov dword [rsp + 0xcc8], 0
jmp 0x14004ef74
mov dword [rsp + 0xcc8], 1
cmp dword [rsp + 0xcc8], 0
jne 0x14004f00a
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
and eax, 0x1000
test eax, eax
jne 0x14004efb1
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
and eax, 0x2000
test eax, eax
jne 0x14004efb1
mov dword [rsp + 0xccc], 0
jmp 0x14004efbc
mov dword [rsp + 0xccc], 1
cmp dword [rsp + 0xccc], 0
jne 0x14004f00a
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
and eax, 0x20000000
test eax, eax
jne 0x14004eff5
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
and eax, 0x40000000
test eax, eax
jne 0x14004eff5
mov dword [rsp + 0xcd0], 0
jmp 0x14004f000
mov dword [rsp + 0xcd0], 1
cmp dword [rsp + 0xcd0], 0
je 0x14004f02d
lea rcx, [rsp + 0x2a0]
call fcn.140003700
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0xd20]
call fcn.14004e380
lea rcx, [rsp + 0x2a0]
call fcn.140003700
xor r9d, r9d
mov r8, rax
mov rax, qword [rsp + 0x68]
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x4c0]
call fcn.14004dec0
lea rcx, [rsp + 0x2a0]
call fcn.140003700
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x2a0]
call fcn.140003d10
mov r8d, eax
sub r8d, 3
lea rdx, [rsp + 0xc98]
lea rcx, [rsp + 0x2a0]
call fcn.140004780
mov qword [rsp + 0xcd8], rax
mov rax, qword [rsp + 0xcd8]
mov qword [rsp + 0xce0], rax
lea r8, [0x140065080]
mov rdx, qword [rsp + 0xce0]
lea rcx, [rsp + 0xca0]
call fcn.140004830
mov qword [rsp + 0xce8], rax
mov rax, qword [rsp + 0xce8]
mov qword [rsp + 0xcf0], rax
mov rdx, qword [rsp + 0xcf0]
lea rcx, [rsp + 0x298]
call fcn.1400059b0
nop
lea rcx, [rsp + 0xca0]
call fcn.140003760
nop
lea rcx, [rsp + 0xc98]
call fcn.140003760
lea rcx, [rsp + 0x298]
call fcn.140003700
xor r9d, r9d
mov r8, rax
mov rax, qword [rsp + 0x68]
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x4c0]
call fcn.14004dec0
lea rcx, [rsp + 0x298]
call fcn.140003700
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x4c0]
call fcn.14004ec60
cmp dword [rsp + 0x2a8], 0
jne 0x14004ee3e
lea rcx, [rsp + 0x38]
call fcn.140011990
nop
lea rcx, [rsp + 0x298]
call fcn.140003760
nop
lea rcx, [rsp + 0x2a0]
call fcn.140003760
mov dword [rsp + 0xca8], 1
lea rcx, [rsp + 0x38]
call fcn.140011e78
mov eax, dword [rsp + 0xca8]
mov rcx, qword [rsp + 0xcf8]
xor rcx, rsp
call fcn.14002f9d0
add rsp, 0xd08
pop rdi
pop rbx
ret