Function at 0x403c5b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00406790
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], 3
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0xa
je 0x403c93
push edi
push edi
push str.Wrong_number_of_args
push edi
jmp 0x403fcf
mov esi, dword [ebp + 0xc]
push 0x40c218
push dword [esi + 4]
call sub.MSVCR71.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x403cb2
push edi
push edi
push str.2._arg_is_not__u
jmp 0x403c8d
push 0x40c200
push dword [esi + 8]
call dword [sym.imp.MSVCR71.dll_fopen]
pop ecx
cmp eax, edi
pop ecx
mov dword [ebp + 8], eax
jne 0x403cd2
push edi
push edi
push str.could_not_open_logfile
jmp 0x403c8d
push 0x28
call dword [sym.imp.MSVCR71.dll_malloc]
mov ebx, eax
pop ecx
cmp ebx, edi
jne 0x403cec
push str.Out_of_memory
push edi
jmp 0x403e84
push dword [ebp + 8]
lea eax, [ebp - 0x1018]
push 0x1000
push eax
call dword [sym.imp.MSVCR71.dll_fgets]
add esp, 0xc
test eax, eax
je 0x403dbf
push 0x28
pop edi
lea eax, [ebp - 0x1018]
push eax
call sub.MSVCR71.dll_strlen
pop ecx
mov esi, eax
mov eax, dword [sym.imp.MSVCR71.dll___mb_cur_max]
cmp dword [eax], 1
jle 0x403d3d
movsx eax, byte [ebp + esi - 0x1019]
push 8
push eax
call dword [sym.imp.MSVCR71.dll__isctype]
pop ecx
pop ecx
jmp 0x403d53
mov ecx, dword [sym.imp.MSVCR71.dll__pctype]
movsx eax, byte [ebp + esi - 0x1019]
mov ecx, dword [ecx]
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
je 0x403d5a
dec esi
jmp 0x403d1e
and byte [ebp + esi - 0x1018], 0
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.MSVCR71.dll__strdup]
pop ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jl 0x403d9a
add dword [ebp - 8], 0xa
add edi, 0x28
push edi
push ebx
call dword [sym.imp.MSVCR71.dll_realloc]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x403e7d
push dword [ebp + 8]
lea eax, [ebp - 0x1018]
push 0x1000
push eax
call dword [sym.imp.MSVCR71.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x403d0f
mov esi, dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 8]
call dword [sym.imp.MSVCR71.dll_fclose]
mov dword [esp], 0x404051
push 4
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.MSVCR71.dll_qsort]
add esp, 0x10
push 0x24
push str.Please_confirm
push str.Are_you_sure_you_want_to_remove_nthis_package_from_your_computer_
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40404a
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x10], 0
mov dword [0x40b0b8], 0x80000002
mov edi, 0x40c430
jle 0x403fad
mov esi, dword [sym.imp.MSVCR71.dll_sscanf]
push 2
mov dword [ebp - 8], ebx
pop ebx
mov eax, dword [ebp - 8]
push dword [eax]
push edi
call sub.MSVCR71.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x403f97
mov eax, dword [ebp - 8]
mov edi, dword [eax]
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp + 8]
push eax
push str._d_Root_Key:__s
push edi
call esi
add esp, 0x10
cmp eax, ebx
jne 0x403ea2
lea eax, [ebp - 0x1018]
push str.HKEY_CURRENT_USER
push eax
call sub.MSVCR71.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x403e90
mov dword [0x40b0b8], 0x80000001
jmp 0x403f97
push str.Out_of_memory
push 0
call fcn.00401a90
pop ecx
pop ecx
jmp 0x40404c
call fcn.00401d80
test eax, eax
je 0x403fbf
jmp 0x403f97
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp + 8]
push eax
push str._d_Made_Dir:__s
push edi
call esi
add esp, 0x10
cmp eax, ebx
jne 0x403eee
push edi
call fcn.00403a49
test eax, eax
pop ecx
je 0x403ecf
inc dword [ebp - 0x14]
jmp 0x403f97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x403f97
cmp eax, 3
je 0x403f97
inc dword [ebp - 4]
jmp 0x403f97
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp + 8]
push eax
push str._d_File_Copy:__s
push edi
call esi
add esp, 0x10
cmp eax, ebx
je 0x403f22
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp + 8]
push eax
push str._d_File_Overwrite:__s
push edi
call esi
add esp, 0x10
cmp eax, ebx
jne 0x403f32
push edi
call fcn.004039f9
test eax, eax
pop ecx
je 0x403ecf
inc dword [ebp - 0xc]
jmp 0x403f97
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp + 8]
push eax
push str._d_Reg_DB_Key:__s
push edi
call esi
add esp, 0x10
cmp eax, ebx
jne 0x403f54
push edi
call fcn.0040386d
jmp 0x403f96
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp + 8]
push eax
push str._d_Reg_DB_Value:__s
push edi
call esi
add esp, 0x10
cmp eax, ebx
jne 0x403f76
push edi
call fcn.00403933
jmp 0x403f96
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp + 8]
push eax
push str._d_Run_Script:__s
push edi
call esi
add esp, 0x10
cmp eax, ebx
jne 0x403f97
push edi
call fcn.00403a99
pop ecx
inc dword [ebp - 0x18]
add dword [ebp - 8], 4
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jl 0x403e23
mov esi, dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x403fda
inc dword [ebp - 0xc]
jmp 0x403fee
push 0x10
push 0
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]
push 1
pop eax
jmp 0x40404c
push dword [esi + 8]
inc dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401a90
pop ecx
pop ecx
cmp dword [ebp - 4], 0
je 0x404014
push dword [ebp - 4]
lea eax, [ebp - 0x1018]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
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 0x40402f
push dword [ebp - 0x14]
lea eax, [ebp - 0x1018]
push dword [ebp - 0xc]
push str._d_files_and__d_directories_removed
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x40
lea eax, [ebp - 0x1018]
push str.Uninstall_Finished_
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00403749
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret