Function at 0x140005440
Capabilities:
Delete file
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1040
call fcn.140026030
sub rsp, rax
mov rax, qword [0x1400342a0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rax, qword [0x140038758]
lea rbp, [0x140027838]
lea rbx, [0x1400282f8]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rdx, str.title
mov edi, 0x1000
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x50
lea rdx, [rsp + 0x30]
lea rcx, [0x140036f20]
mov r8d, esi
call fcn.140001788
mov rdx, qword [0x140038758]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
lea rdx, str.info
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rdx, [rsp + 0x30]
lea rcx, [0x140037360]
mov r8d, edi
call fcn.140001788
mov rdx, qword [0x140038758]
lea r9, [0x1400385c0]
mov qword [rsp + 0x28], rdx
lea rdx, str.build_info
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r9, qword [0x140038758]
lea edi, [rsi - 0x4f]
lea rdx, str.target_compile
mov r8d, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, qword [0x140038758]
lea rdx, str.target_optimize
mov r8d, edi
mov rcx, rbx
mov dword [0x140036f74], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edi, [rsi - 0x46]
lea r9, [0x140038380]
mov dword [0x140036f70], eax
mov rax, qword [0x140038758]
lea rdx, str.target_version
mov qword [rsp + 0x28], rax
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [0x140038758]
mov qword [rsp + 0x28], rdx
lea r9, [0x1400370a0]
lea rcx, str.metadata
lea rdx, str.name
mov r8, rbp
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [0x140038758]
lea r9, [0x140036f80]
mov qword [rsp + 0x28], rdx
lea rdx, str.install_script
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [0x140038758]
lea r9, [0x140037340]
mov qword [rsp + 0x28], rdx
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], edi
lea rdx, str.user_access_control
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rsi, [0x140037340]
lea rdi, str.force
mov ecx, 6
repe cmpsb byte [rsi], byte [rdi]
jne 0x140005656
call fcn.140004188
test eax, eax
je 0x1400056cb
call fcn.1400040b8
test eax, eax
jne 0x1400056cb
call fcn.1400041f0
jmp 0x140005717
mov eax, 5
lea rsi, [0x140037340]
lea rdi, str.auto
mov rcx, rax
repe cmpsb byte [rsi], byte [rdi]
jne 0x14000568d
call fcn.140004188
test eax, eax
je 0x1400056cb
call fcn.1400040b8
test eax, eax
jne 0x1400056cb
call fcn.1400040f8
test eax, eax
je 0x1400056cb
jmp 0x14000564c
cmp byte [0x140037340], 0
je 0x1400056cb
lea rsi, [0x140037340]
lea rdi, str.none
mov rcx, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x1400056cb
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.oops
lea rdx, str.Bad_user_access_control_value
mov rcx, rax
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [0x140036f20]
call fcn.140002f28
mov rcx, rax
mov qword [0x140038360], rax
call fcn.1400052ac
mov rcx, qword [0x140038618]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [0x140038758]
test rcx, rcx
je 0x140005705
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x140038760]
test rcx, rcx
je 0x140005717
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400091a0
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret