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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf88]
mov eax, 0x1060
call fcn.14000a7d0
sub rsp, rax
mov rax, qword [0x1400342a0]
xor rax, rsp
mov qword [rbp + 0xf50], rax
xor ebx, ebx
xor r13d, r13d
xor r15d, r15d
xor r12d, r12d
mov rax, rdx
mov qword [rsp + 0x48], rdx
lea r14d, [rbx + 0xa]
mov dword [rsp + 0x30], ebx
cmp ecx, 3
je 0x1400047e0
lea rdx, str.Wrong_number_of_args
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x140004b9e
mov rsi, qword [rdx + 8]
lea rdi, [0x14002762c]
mov ecx, 3
repe cmpsb byte [rsi], byte [rdi]
je 0x1400047fd
lea rdx, str.2._arg_is_not__u
jmp 0x1400047c8
mov rcx, qword [rax + 0x10]
lea rdx, [0x140027610]
call fcn.14000c6b4
mov rsi, rax
test rax, rax
jne 0x14000481e
lea rdx, str.could_not_open_logfile
jmp 0x1400047c8
mov ecx, 0x50
call fcn.140009c30
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140004848
lea rdx, str.Out_of_memory
xor ecx, ecx
call fcn.1400027a8
jmp 0x140004b9e
lea rcx, [rsp + 0x50]
mov r8, rsi
mov edx, 0x1000
call fcn.14000d94c
test rax, rax
je 0x140004904
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rax, ecx
mov rbx, rcx
lea rdi, [rsp + rax + 0x4f]
jmp 0x140004888
dec ebx
dec rdi
movsx ecx, byte [rdi]
call fcn.14000ce24
test eax, eax
jne 0x140004883
movsxd rax, ebx
lea rcx, [rsp + 0x50]
mov byte [rsp + rax + 0x50], r12b
call fcn.14001e750
mov ebx, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
inc ebx
mov qword [r15 + rdi], rax
add r15, 8
mov dword [rsp + 0x30], ebx
cmp ebx, r14d
jl 0x1400048e6
add r14d, 0xa
mov rcx, rdi
movsxd rdx, r14d
shl rdx, 3
call fcn.14000d878
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140004835
lea rcx, [rsp + 0x50]
mov r8, rsi
mov edx, 0x1000
call fcn.14000d94c
test rax, rax
jne 0x140004863
mov r15d, r12d
mov rcx, rsi
call fcn.14000ad7c
movsxd rax, ebx
lea r9, [0x1400041f8]
mov rdx, rax
mov r8d, 8
mov rcx, rdi
mov qword [rsp + 0x40], rax
call fcn.14000d580
lea r8, str.Please_confirm
lea rdx, str.Are_you_sure_you_want_to_remove_nthis_package_from_your_computer_
mov r9d, 0x24
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x140004b9c
xor r14d, r14d
mov qword [section..data], 0xffffffff80000002
lea rbx, [0x140026818]
cmp qword [rsp + 0x40], r12
jle 0x140004b02
mov rdi, qword [rdi + r14*8]
mov rax, rbx
sub rdi, rbx
movzx ecx, byte [rax]
movzx edx, byte [rax + rdi]
sub ecx, edx
jne 0x14000498d
inc rax
test edx, edx
jne 0x14000497b
mov rdi, qword [rsp + 0x38]
test ecx, ecx
je 0x140004af4
mov rbx, qword [rdi + r14*8]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_Root_Key:__s
mov rcx, rbx
call fcn.14000ac28
cmp eax, 2
jne 0x1400049f3
lea rsi, [rsp + 0x50]
lea rdi, str.HKEY_CURRENT_USER
lea ecx, [rax + 0x10]
repe cmpsb byte [rsi], byte [rdi]
jne 0x1400049dc
mov qword [section..data], 0xffffffff80000001
jmp 0x1400049e9
call fcn.1400033cc
test eax, eax
je 0x140004b1a
mov rdi, qword [rsp + 0x38]
jmp 0x140004af4
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_Made_Dir:__s
mov rcx, rbx
call fcn.14000ac28
mov rcx, rbx
cmp eax, 2
jne 0x140004a25
call fcn.140004614
test eax, eax
je 0x140004a97
inc r15d
jmp 0x140004af4
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_File_Copy:__s
call fcn.14000ac28
mov rcx, rbx
cmp eax, 2
jne 0x140004a54
call fcn.1400045d8
test eax, eax
je 0x140004a97
inc r13d
jmp 0x140004af4
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_File_Overwrite:__s
call fcn.14000ac28
mov rcx, rbx
cmp eax, 2
je 0x140004a43
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_Reg_DB_Key:__s
call fcn.14000ac28
mov rcx, rbx
cmp eax, 2
jne 0x140004aac
call fcn.1400043b4
jmp 0x140004af4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140004af4
cmp eax, 3
je 0x140004af4
inc r12d
jmp 0x140004af4
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_Reg_DB_Value:__s
call fcn.14000ac28
mov rcx, rbx
cmp eax, 2
jne 0x140004ad1
call fcn.1400044c4
jmp 0x140004af4
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_Run_Script:__s
call fcn.14000ac28
cmp eax, 2
jne 0x140004af4
mov rcx, rbx
call fcn.140004650
inc r14
cmp r14, qword [rsp + 0x40]
jl 0x140004971
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x140004b38
inc r13d
jmp 0x140004b4c
call qword [sym.imp.USER32.dll_GetFocus]
mov r9d, 0x10
xor r8d, r8d
mov rcx, rax
lea rdx, str.You_do_not_seem_to_have_sufficient_access_rights_non_this_machine_to_uninstall_this_software
jmp 0x1400047d0
inc r12d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rdi + 0x10]
mov ecx, eax
call fcn.1400027a8
mov r9d, r15d
mov r8d, r13d
lea rcx, [rsp + 0x50]
test r12d, r12d
je 0x140004b70
lea rdx, str._d_files_and__d_directories_removed_n_d_files_or_directories_could_not_be_removed
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_wsprintfA]
jmp 0x140004b7d
lea rdx, str._d_files_and__d_directories_removed
call qword [sym.imp.USER32.dll_wsprintfA]
lea r8, str.Uninstall_Finished_
lea rdx, [rsp + 0x50]
mov r9d, 0x40
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140004218
xor eax, eax
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.1400093b0
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1040
call fcn.14000a7d0
sub rsp, rax
mov rax, qword [0x1400342a0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rax, qword [0x1400389f8]
lea rbp, [0x140026818]
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, [0x1400371c0]
mov r8d, esi
call fcn.14000176c
mov rdx, qword [0x1400389f8]
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, [0x140037600]
mov r8d, edi
call fcn.14000176c
mov rdx, qword [0x1400389f8]
lea r9, [0x140038860]
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 [0x1400389f8]
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 [0x1400389f8]
lea rdx, str.target_optimize
mov r8d, edi
mov rcx, rbx
mov dword [0x140037214], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edi, [rsi - 0x46]
lea r9, [0x140038620]
mov dword [0x140037210], eax
mov rax, qword [0x1400389f8]
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 [0x1400389f8]
mov qword [rsp + 0x28], rdx
lea r9, [0x140037340]
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 [0x1400389f8]
lea r9, [0x140037220]
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 [0x1400389f8]
lea r9, [0x1400375e0]
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, [0x1400375e0]
lea rdi, str.force
mov ecx, 6
repe cmpsb byte [rsi], byte [rdi]
jne 0x1400055ba
call fcn.140004104
test eax, eax
je 0x14000562e
call fcn.140004034
test eax, eax
jne 0x14000562e
call fcn.140004168
jmp 0x14000567a
mov eax, 5
lea rsi, [0x1400375e0]
lea rdi, str.auto
mov ecx, eax
repe cmpsb byte [rsi], byte [rdi]
jne 0x1400055f0
call fcn.140004104
test eax, eax
je 0x14000562e
call fcn.140004034
test eax, eax
jne 0x14000562e
call fcn.140004074
test eax, eax
je 0x14000562e
jmp 0x1400055b0
cmp byte [0x1400375e0], 0
je 0x14000562e
lea rsi, [0x1400375e0]
lea rdi, str.none
mov rcx, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x14000562e
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, [0x1400371c0]
call fcn.140002eb0
mov rcx, rax
mov qword [0x140038600], rax
call fcn.140005230
mov rcx, qword [0x1400388b8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [0x1400389f8]
test rcx, rcx
je 0x140005668
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x140038a00]
test rcx, rcx
je 0x14000567a
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400093b0
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
sub rsp, 0x38
lea rdx, [0x1400373a0]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [0x140038640]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x1400371bc]
lea rcx, [0x1400373a0]
call fcn.140002a28
mov qword [0x1400388b8], rax
test rax, rax
jne 0x140005709
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_open_archive
mov ecx, eax
jmp 0x1400057a7
mov edx, dword [0x1400371bc]
lea rcx, [0x1400375f0]
lea r9, [0x1400389f8]
mov qword [rsp + 0x20], rcx
lea r8, [0x140037218]
mov rcx, rax
call fcn.140002b64
test eax, eax
je 0x14000573e
add rsp, 0x38
jmp 0x1400053a4
cmp qword [0x1400389f8], 0
jne 0x140005763
mov ecx, dword [0x1400360d4]
cmp ecx, 1
jle 0x140005763
mov rdx, qword [0x1400360d8]
add rsp, 0x38
jmp 0x140004764
lea rcx, [0x1400373a0]
mov edx, 0x5c
call fcn.14000aa74
test rax, rax
je 0x14000579e
inc rax
je 0x14000579e
lea rdx, str.Remove
mov r8d, 6
mov rcx, rax
call fcn.14000dad0
lea rdx, str.This_program_is_normally_started_by_windows
test eax, eax
je 0x1400057a5
lea rdx, str.Setup_program_invalid_or_damaged
xor ecx, ecx
call fcn.1400027a8
mov eax, 1
add rsp, 0x38
ret