Function at 0x403a06
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0xfa8]
mov eax, 0x1028
call fcn.00408d40
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 0x403a5f
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 0x403dd6
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 0x403a80
xor eax, eax
push eax
push eax
push str.2._arg_is_not__u
jmp 0x403c4d
push 0x42623c
push dword [eax + 8]
call fcn.0040a2bf
xor esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
cmp eax, esi
jne 0x403aa5
push esi
push esi
push str.could_not_open_logfile
push esi
jmp 0x403c4e
push 0x28
call fcn.00407fb7
pop ecx
mov dword [ebp - 0x74], eax
cmp eax, esi
jne 0x403aba
push esi
jmp 0x403bd8
push dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
push 0x1000
push eax
call fcn.0040b048
add esp, 0xc
test eax, eax
je 0x403b4f
lea edi, [ebp - 0x5c]
dec edi
lea eax, [ebp - 0x5c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403adc
sub eax, edx
mov esi, eax
jmp 0x403aea
dec esi
movsx eax, byte [edi + esi]
push eax
call fcn.0040a7b5
pop ecx
test eax, eax
jne 0x403ae9
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp + esi - 0x5c], 0
call fcn.0041d966
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 0x403b35
add ebx, 0xa
mov eax, ebx
shl eax, 2
push eax
push ecx
call fcn.0040ae2d
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
test eax, eax
je 0x403bd6
push dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
push 0x1000
push eax
call fcn.0040b048
add esp, 0xc
test eax, eax
jne 0x403ad6
xor esi, esi
push dword [ebp - 0x68]
call fcn.00408ed6
mov dword [esp], 0x4035d7
push 4
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
call fcn.0040abe0
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 0x403dd2
cmp dword [ebp - 0x6c], esi
mov dword [section..data], 0x80000002
mov dword [ebp - 0x7c], 0x425524
mov dword [ebp - 0x68], esi
jle 0x403d5a
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 0x403be8
test dl, dl
je 0x403bd2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403be8
add eax, ebx
add ecx, ebx
test dl, dl
jne 0x403bb8
xor eax, eax
jmp 0x403bed
push 0
mov edi, str.Out_of_memory
call fcn.00402146
pop ecx
jmp 0x403dd4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403d4b
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.00408dd5
add esp, 0x10
cmp eax, ebx
jne 0x403c5c
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 0x403c32
mov dword [section..data], 0x80000001
jmp 0x403d4b
call fcn.00402a94
test eax, eax
jne 0x403d4b
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 0x403dd4
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Made_Dir:__s
push esi
call fcn.00408dd5
add esp, 0x10
cmp eax, ebx
jne 0x403c89
push esi
call fcn.004038f7
pop ecx
test eax, eax
je 0x403cf2
inc dword [ebp - 0x78]
jmp 0x403d4b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_File_Copy:__s
push esi
call fcn.00408dd5
add esp, 0x10
cmp eax, ebx
jne 0x403cb6
push esi
call fcn.004038c9
pop ecx
test eax, eax
je 0x403cf2
inc dword [ebp - 0x64]
jmp 0x403d4b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_File_Overwrite:__s
push esi
call fcn.00408dd5
add esp, 0x10
cmp eax, ebx
je 0x403ca3
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Reg_DB_Key:__s
push esi
call fcn.00408dd5
add esp, 0x10
cmp eax, ebx
jne 0x403d06
push esi
call fcn.0040373f
jmp 0x403d4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x403d4b
cmp eax, 3
je 0x403d4b
inc dword [ebp - 0x60]
jmp 0x403d4b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Reg_DB_Value:__s
push esi
call fcn.00408dd5
add esp, 0x10
cmp eax, ebx
jne 0x403d28
push esi
call fcn.00403804
jmp 0x403d4a
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
push str._d_Run_Script:__s
push esi
call fcn.00408dd5
add esp, 0x10
cmp eax, ebx
jne 0x403d4b
push dword [ebp - 0x7c]
call fcn.00403925
pop ecx
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x68], eax
jl 0x403baa
mov esi, dword [ebp - 0x80]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x403d6f
inc dword [ebp - 0x64]
jmp 0x403d82
inc dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esi + 8]
push eax
call fcn.00402146
pop ecx
cmp dword [ebp - 0x60], 0
lea eax, [ebp - 0x5c]
je 0x403da5
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 0x403dba
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.00403606
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp + 0xfa4]
xor ecx, ebp
pop ebx
call fcn.004077a5
add ebp, 0xfa8
leave
ret