Function at 0x140005338
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.140025f10
sub rsp, rax
mov rax, qword [0x1400342a0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rax, qword [0x140037d38]
lea rbp, [0x140027838]
lea rbx, str.Setup
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, [0x140036720]
mov r8d, esi
call fcn.140001788
mov rdx, qword [0x140037d38]
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, [0x140036b60]
mov r8d, edi
call fcn.140001788
mov rdx, qword [0x140037d38]
lea r9, [0x140037ba0]
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 [0x140037d38]
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 [0x140037d38]
lea rdx, str.target_optimize
mov r8d, edi
mov rcx, rbx
mov dword [0x140036774], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edi, [rsi - 0x46]
lea r9, [0x140037b80]
mov dword [0x140036770], eax
mov rax, qword [0x140037d38]
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 [0x140037d38]
mov qword [rsp + 0x28], rdx
lea r9, [0x1400368a0]
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 [0x140037d38]
lea r9, [0x140036780]
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 [0x140037d38]
lea r9, [0x140036b40]
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, [0x140036b40]
lea rdi, str.force
mov ecx, 6
repe cmpsb byte [rsi], byte [rdi]
jne 0x14000554e
call fcn.140004080
test eax, eax
je 0x1400055c3
call fcn.140003fb0
test eax, eax
jne 0x1400055c3
call fcn.1400040e8
jmp 0x14000560f
mov eax, 5
lea rsi, [0x140036b40]
lea rdi, str.auto
mov rcx, rax
repe cmpsb byte [rsi], byte [rdi]
jne 0x140005585
call fcn.140004080
test eax, eax
je 0x1400055c3
call fcn.140003fb0
test eax, eax
jne 0x1400055c3
call fcn.140003ff0
test eax, eax
je 0x1400055c3
jmp 0x140005544
cmp byte [0x140036b40], 0
je 0x1400055c3
lea rsi, [0x140036b40]
lea rdi, str.none
mov rcx, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x1400055c3
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, [0x140036720]
call fcn.140002e1c
mov rcx, rax
mov qword [0x140037b60], rax
call fcn.1400051a4
mov rcx, qword [0x140037bf8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [0x140037d38]
test rcx, rcx
je 0x1400055fd
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x140037d40]
test rcx, rcx
je 0x14000560f
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140009080
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