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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push r14
mov eax, 0x1040
call fcn.14006bd10
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rax, qword [0x14008cb88]
lea r14, [0x14007aba2]
mov qword [rsp + 0x28], rax
lea rbp, [0x14007ba54]
mov ebx, 0x1000
lea r9, [rsp + 0x30]
mov r8, r14
mov dword [rsp + 0x20], ebx
mov rcx, rbp
lea rdx, str.title
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r8d, 0x50
lea rdx, [rsp + 0x30]
lea rcx, [0x14008b7e0]
call fcn.140001a54
mov rax, qword [0x14008cb88]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.info
mov r8, r14
mov dword [rsp + 0x20], ebx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [0x14008bb80]
call fcn.140001a54
mov rax, qword [0x14008cb88]
lea r9, [0x14008bb20]
mov qword [rsp + 0x28], rax
lea rdx, str.build_info
mov r8, r14
mov dword [rsp + 0x20], 0x50
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r9, qword [0x14008cb88]
lea rdx, str.target_compile
mov r8d, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, qword [0x14008cb88]
lea rdx, str.target_optimize
mov r8d, 1
mov dword [0x14008b830], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x14008b588], eax
lea rbx, [0x14008b8b0]
mov rax, qword [0x14008cb88]
mov r8, r14
mov qword [rsp + 0x28], rax
lea rdx, str.target_version
mov r9, rbx
mov dword [rsp + 0x20], 0xa
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rax, qword [0x14008cb88]
lea r9, [0x14008b840]
mov qword [rsp + 0x28], rax
lea rdx, str.name
mov r8, r14
mov dword [rsp + 0x20], 0x50
lea rcx, str.metadata
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rax, qword [0x14008cb88]
lea r9, [0x14008b480]
mov qword [rsp + 0x28], rax
lea rdx, str.install_script
mov r8, r14
mov dword [rsp + 0x20], 0x104
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rax, qword [0x14008cb88]
lea r9, [0x14008b7c0]
mov qword [rsp + 0x28], rax
lea rdx, str.user_access_control
mov r8, r14
mov dword [rsp + 0x20], 0xa
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec rbx
inc rbx
cmp byte [rbx], 0
jne 0x140004ec7
mov al, byte [0x14007aba2]
lea rdx, str.force
lea rcx, [0x14008b7c0]
mov byte [rbx], al
call fcn.14006c400
test eax, eax
jne 0x140004f01
call fcn.140004b78
test eax, eax
jne 0x140004f6c
call fcn.140004c48
jmp 0x140004fae
lea rdx, str.auto
lea rcx, [0x14008b7c0]
call fcn.14006c400
test eax, eax
jne 0x140004f2c
call fcn.140004b78
test eax, eax
jne 0x140004f6c
call fcn.140004bb8
test eax, eax
je 0x140004f6c
jmp 0x140004ef7
cmp byte [0x14008b7c0], 0
je 0x140004f6c
lea rdx, str.none
lea rcx, [0x14008b7c0]
call fcn.14006c400
test eax, eax
je 0x140004f6c
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.oops
mov rcx, rax
lea rdx, str.Bad_user_access_control_value
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.1400034bc
mov qword [0x14008b8d0], rax
call fcn.1400049f0
mov rcx, qword [0x14008b838]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [0x14008cb88]
test rcx, rcx
je 0x140004f9c
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x14008b898]
test rcx, rcx
je 0x140004fae
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140009140
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
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.14006bd10
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf50], rax
xor r14d, r14d
mov qword [rsp + 0x40], rdx
xor esi, esi
mov dword [rsp + 0x30], r14d
and dword [rsp + 0x34], esi
xor edi, edi
mov r8, rdx
lea r13d, [r14 + 0xa]
cmp ecx, 3
je 0x1400055c2
lea rdx, str.Wrong_number_of_args
jmp 0x1400059b0
mov rcx, qword [rdx + 8]
mov al, byte [rcx]
cmp al, byte [0x14007bc18]
jne 0x1400059a9
mov al, byte [rcx + 1]
cmp al, byte [0x14007bc19]
jne 0x1400059a9
mov al, byte [rcx + 2]
cmp al, byte [0x14007bc1a]
jne 0x1400059a9
mov rcx, qword [r8 + 0x10]
lea rdx, [0x14007bc34]
call fcn.1400131f8
mov r15, rax
test rax, rax
jne 0x140005616
lea rdx, str.could_not_open_logfile
jmp 0x1400059b0
mov ecx, 0x50
call fcn.1400454b8
mov qword [rsp + 0x38], rax
mov rbx, rax
test rax, rax
jne 0x140005640
lea rdx, str.Out_of_memory
xor ecx, ecx
call fcn.140002d70
jmp 0x1400059c3
mov r8, r15
lea rcx, [rsp + 0x50]
mov edx, 0x1000
call fcn.14002ce6c
test rax, rax
je 0x14000571a
xor r12d, r12d
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x140005667
lea eax, [rbx - 1]
movsxd rcx, eax
movsx ecx, byte [rsp + rcx + 0x50]
call fcn.140030bb0
test eax, eax
je 0x1400056a3
movsxd rax, ebx
lea r14, [rsp + rax + 0x4f]
dec r14
dec ebx
movsx ecx, byte [r14]
call fcn.140030bb0
test eax, eax
jne 0x14000568c
mov r14d, dword [rsp + 0x30]
movsxd rax, ebx
cmp rax, 0x1000
jae 0x1400059f3
lea rcx, [rsp + 0x50]
mov byte [rsp + rax + 0x50], sil
call fcn.14004be54
mov rbx, qword [rsp + 0x38]
inc r14d
mov dword [rsp + 0x30], r14d
mov qword [r12 + rbx], rax
add r12, 8
cmp r14d, r13d
jl 0x1400056ff
add r13d, 0xa
mov rcx, rbx
movsxd rdx, r13d
shl rdx, 3
call fcn.14001401c
mov qword [rsp + 0x38], rax
mov rbx, rax
test rax, rax
je 0x14000562d
mov r8, r15
lea rcx, [rsp + 0x50]
mov edx, 0x1000
call fcn.14002ce6c
test rax, rax
jne 0x14000565e
mov rcx, r15
call fcn.14001355c
movsxd r12, r14d
lea r9, [0x140004fd8]
mov rdx, r12
mov r8d, 8
mov rcx, rbx
call fcn.14002c720
mov r9d, 0x24
lea r8, str.Please_confirm
lea rdx, str.Are_you_sure_you_want_to_remove_nthis_package_from_your_computer_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x140005765
xor eax, eax
jmp 0x1400059c3
xor r14d, r14d
mov qword [0x140088c48], 0xffffffff80000002
lea rbx, [0x14007aba2]
test r12, r12
jle 0x14000592a
mov r15, qword [rsp + 0x38]
lea r13d, [r14 + 2]
mov r8, qword [r15 + r14*8]
mov rax, rbx
sub r8, rbx
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x1400057a9
inc rax
test edx, edx
jne 0x140005796
test ecx, ecx
je 0x14000591e
mov rbx, qword [r15 + r14*8]
lea r9, [rsp + 0x50]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, str._d_Root_Key:__s
call fcn.1400019f8
cmp eax, r13d
jne 0x140005820
lea rdx, str.HKEY_CURRENT_USER
lea rcx, [rsp + 0x50]
call fcn.14006c400
test eax, eax
jne 0x1400057f8
mov qword [0x140088c48], 0xffffffff80000001
jmp 0x14000591e
call fcn.1400039e4
test eax, eax
jne 0x14000591e
call qword [sym.imp.USER32.dll_GetFocus]
mov r9d, 0x10
lea rdx, str.You_do_not_seem_to_have_sufficient_access_rights_non_this_machine_to_uninstall_this_software
mov rcx, rax
jmp 0x1400059b5
lea r9, [rsp + 0x50]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, str._d_Made_Dir:__s
call fcn.1400019f8
mov rcx, rbx
cmp eax, r13d
jne 0x140005853
call fcn.1400053ec
test eax, eax
je 0x1400058c4
inc dword [rsp + 0x34]
jmp 0x14000591e
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_File_Copy:__s
call fcn.1400019f8
mov rcx, rbx
cmp eax, r13d
jne 0x140005881
call fcn.1400053b0
test eax, eax
je 0x1400058c4
inc esi
jmp 0x14000591e
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_File_Overwrite:__s
call fcn.1400019f8
mov rcx, rbx
cmp eax, r13d
je 0x140005871
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_Reg_DB_Key:__s
call fcn.1400019f8
mov rcx, rbx
cmp eax, r13d
jne 0x1400058d6
call fcn.140005194
jmp 0x14000591e
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x14000591e
inc edi
jmp 0x14000591e
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_Reg_DB_Value:__s
call fcn.1400019f8
mov rcx, rbx
cmp eax, r13d
jne 0x1400058fb
call fcn.1400052a0
jmp 0x14000591e
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, str._d_Run_Script:__s
call fcn.1400019f8
cmp eax, r13d
jne 0x14000591e
mov rcx, rbx
call fcn.140005428
inc r14
cmp r14, r12
jl 0x14000578c
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x140005941
inc esi
jmp 0x140005954
inc edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx + 0x10]
mov ecx, eax
call fcn.140002d70
mov r9d, dword [rsp + 0x34]
mov r8d, esi
lea rcx, [rsp + 0x50]
test edi, edi
je 0x140005978
lea rdx, str._d_files_and__d_directories_removed_n_d_files_or_directories_could_not_be_removed
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_wsprintfA]
jmp 0x140005985
lea rdx, str._d_files_and__d_directories_removed
call qword [sym.imp.USER32.dll_wsprintfA]
mov r9d, 0x40
lea r8, str.Uninstall_Finished_
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140004ff8
jmp 0x14000575e
lea rdx, str.2._arg_is_not__u
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.140009140
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
call fcn.14000926c
int3
push rbx
sub rsp, 0x30
mov ebx, 0x104
lea rdx, [0x14008ba00]
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r8d, ebx
lea rdx, [0x14008b5a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.14000300c
mov qword [0x14008b838], rax
test rax, rax
jne 0x140005a50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.Could_not_open_archive
jmp 0x140005ad8
call fcn.14000314c
test eax, eax
je 0x140005a63
add rsp, 0x30
pop rbx
jmp 0x140004cd8
cmp qword [0x14008cb88], 0
jne 0x140005a93
call fcn.14002cc00
cmp dword [rax], 1
jle 0x140005a93
call fcn.14002cc08
mov rbx, rax
call fcn.14002cc00
mov rdx, qword [rbx]
mov ecx, dword [rax]
add rsp, 0x30
pop rbx
jmp 0x140005558
mov edx, 0x5c
lea rcx, [0x14008ba00]
call fcn.14000a33c
test rax, rax
je 0x140005acf
add rax, 1
je 0x140005acf
mov r8d, 6
lea rdx, str.Remove
mov rcx, rax
call fcn.14002ce90
lea rdx, str.This_program_is_normally_started_by_windows
test eax, eax
je 0x140005ad6
lea rdx, str.Setup_program_invalid_or_damaged
xor ecx, ecx
call fcn.140002d70
mov eax, 1
add rsp, 0x30
pop rbx
ret