Function at 0x403ac6
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0xfa8]
mov eax, 0x1028
call fcn.00408e10
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0xfa4], eax
mov eax, dword [ebp + 0xfb4]
xor ecx, ecx
cmp dword [ebp + 0xfb0], 3
push ebx
push 0xa
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x60], ecx
pop ebx
je 0x403b1f
push ecx
push ecx
push str.Wrong_number_of_args
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
inc eax
jmp 0x403e96
push esi
mov esi, dword [eax + 4]
push edi
push 3
mov edi, 0x426254
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x403b40
xor eax, eax
push eax
push eax
push str.2._arg_is_not__u
jmp 0x403d0d
push 0x42623c
push dword [eax + 8]
call fcn.00418c3c
xor esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
cmp eax, esi
jne 0x403b65
push esi
push esi
push str.could_not_open_logfile
push esi
jmp 0x403d0e
push 0x28
call fcn.00418c3c
pop ecx
mov dword [ebp - 0x74], eax
cmp eax, esi
jne 0x403b7a
push esi
jmp 0x403c98
push dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
push 0x1000
push eax
call fcn.0040b118
add esp, 0xc
test eax, eax
je 0x403c0f
lea edi, [ebp - 0x5c]
dec edi
lea eax, [ebp - 0x5c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b9c
sub eax, edx
mov esi, eax
jmp 0x403baa
dec esi
movsx eax, byte [edi + esi]
push eax
call fcn.00418c3c
pop ecx
test eax, eax
jne 0x403ba9
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp + esi - 0x5c], 0
call fcn.00418c3c
mov edx, dword [ebp - 0x6c]
inc dword [ebp - 0x6c]
cmp dword [ebp - 0x6c], ebx
pop ecx
mov ecx, dword [ebp - 0x74]
mov dword [ecx + edx*4], eax
jl 0x403bf5
add ebx, 0xa
mov eax, ebx
shl eax, 2
push eax
push ecx
call fcn.0040aefd
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
test eax, eax
je 0x403c96
push dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
push 0x1000
push eax
call fcn.0040b118
add esp, 0xc
test eax, eax
jne 0x403b96
xor esi, esi
push dword [ebp - 0x68]
call fcn.00408fa6
mov dword [esp], 0x403697
push 4
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
call fcn.00418c3c
add esp, 0x10
push 0x24
push str.Please_confirm
push str.Are_you_sure_you_want_to_remove_nthis_package_from_your_computer_
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x403e92
cmp dword [ebp - 0x6c], esi
mov dword [section..data], 0x80000002
mov dword [ebp - 0x7c], 0x425524
mov dword [ebp - 0x68], esi
jle 0x403e1a
push 2
pop ebx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x68]
mov esi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x7c]
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403ca8
test dl, dl
je 0x403c92
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403ca8
add eax, ebx
add ecx, ebx
test dl, dl
jne 0x403c78
xor eax, eax
jmp 0x403cad
push 0
mov edi, str.Out_of_memory
call fcn.00418c3c
pop ecx
jmp 0x403e94
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403e0b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Root_Key:__s
push esi
mov dword [ebp - 0x7c], esi
call fcn.00418c3c
add esp, 0x10
cmp eax, ebx
jne 0x403d1c
push 0x12
mov edi, str.HKEY_CURRENT_USER
lea esi, [ebp - 0x5c]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x403cf2
mov dword [section..data], 0x80000001
jmp 0x403e0b
call fcn.00418c3c
test eax, eax
jne 0x403e0b
push 0x10
push eax
push str.You_do_not_seem_to_have_sufficient_access_rights_non_this_machine_to_uninstall_this_software
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
inc eax
jmp 0x403e94
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Made_Dir:__s
push esi
call fcn.00418c3c
add esp, 0x10
cmp eax, ebx
jne 0x403d49
push esi
call fcn.004039b7
pop ecx
test eax, eax
je 0x403db2
inc dword [ebp - 0x78]
jmp 0x403e0b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_File_Copy:__s
push esi
call fcn.00418c3c
add esp, 0x10
cmp eax, ebx
jne 0x403d76
push esi
call fcn.00403989
pop ecx
test eax, eax
je 0x403db2
inc dword [ebp - 0x64]
jmp 0x403e0b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_File_Overwrite:__s
push esi
call fcn.00418c3c
add esp, 0x10
cmp eax, ebx
je 0x403d63
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Reg_DB_Key:__s
push esi
call fcn.00418c3c
add esp, 0x10
cmp eax, ebx
jne 0x403dc6
push esi
call fcn.00418c3c
jmp 0x403e0a
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, ebx
je 0x403e0b
cmp eax, 3
je 0x403e0b
inc dword [ebp - 0x60]
jmp 0x403e0b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Reg_DB_Value:__s
push esi
call fcn.00418c3c
add esp, 0x10
cmp eax, ebx
jne 0x403de8
push esi
call fcn.00418c3c
jmp 0x403e0a
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Run_Script:__s
push esi
call fcn.00418c3c
add esp, 0x10
cmp eax, ebx
jne 0x403e0b
push dword [ebp - 0x7c]
call fcn.00418c3c
pop ecx
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x68], eax
jl 0x403c6a
mov esi, dword [ebp - 0x80]
push dword [esi + 8]
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
je 0x403e2f
inc dword [ebp - 0x64]
jmp 0x403e42
inc dword [ebp - 0x60]
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [esi + 8]
push eax
call fcn.00418c3c
pop ecx
cmp dword [ebp - 0x60], 0
lea eax, [ebp - 0x5c]
je 0x403e65
push dword [ebp - 0x60]
push dword [ebp - 0x78]
push dword [ebp - 0x64]
push str._d_files_and__d_directories_removed_n_d_files_or_directories_could_not_be_removed
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x403e7a
push dword [ebp - 0x78]
push dword [ebp - 0x64]
push str._d_files_and__d_directories_removed
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x40
push str.Uninstall_Finished_
lea eax, [ebp - 0x5c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.004036c6
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp + 0xfa4]
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0xfa8
leave
ret