Function at 0x41f1ea
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0xc]
mov ecx, edx
test edx, edx
je 0x41f22d
mov eax, dword [0x4c12e0]
test eax, eax
je 0x41f250
cmp dword [0x4c3630], 0
je 0x41f236
mov eax, dword [edx]
push str.In_CInfFile::Install__
push edx
call dword [eax + 0x10]
pop ecx
pop ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f250
mov eax, dword [0x4c12e0]
test eax, eax
je 0x41f250
cmp dword [0x4c3630], 0
je 0x41f250
mov eax, dword [ecx]
push str...We_are_trying_to_INSTALL
push ecx
call dword [eax + 0x10]
pop ecx
pop ecx
mov ebx, 0x104
lea eax, [ebp - 0x108]
push ebx
push 0
push eax
call fcn.0045b1d0
mov eax, dword [esi]
lea ecx, [ebp - 0x108]
add esp, 0xc
push 1
push ebx
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esi + 0xc]
mov edi, eax
test edi, edi
je 0x41f2a7
test ecx, ecx
je 0x41f688
cmp dword [0x4c12e0], 0
je 0x41f688
mov eax, dword [ecx]
push edi
push str...There_was_an_error_trying_to_get_name_of_main_install_section._CInfFile::Install___returns__d
push ecx
call dword [eax + 0x14]
jmp 0x41f685
test ecx, ecx
je 0x41f2ca
cmp dword [0x4c12e0], 0
je 0x41f2ca
cmp dword [0x4c3630], 0
je 0x41f2ca
mov eax, dword [ecx]
push str...Trying_to_find_the_number_of_the_commands_to_progress
push ecx
call dword [eax + 0x10]
pop ecx
pop ecx
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x10], 0
je 0x41f2f6
mov eax, dword [eax + 0x28]
test eax, eax
je 0x41f2ea
lea ecx, [ebp - 0x108]
push ecx
push dword [esi + 0x2c]
call eax
mov ecx, eax
jmp 0x41f2ed
or ecx, 0xffffffff
test ecx, ecx
je 0x41f2f6
cmp ecx, 0xffffffff
jne 0x41f31e
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f31b
cmp dword [0x4c12e0], 0
je 0x41f31b
mov eax, dword [ecx]
lea edx, [ebp - 0x108]
push edx
push str...Warning__There_are_no_entries_or_too_many_entries_to_process_in_the___s__section
push ecx
call dword [eax + 0x18]
add esp, 0xc
xor ecx, ecx
inc ecx
mov eax, dword [esi + 0x198]
sub eax, dword [esi + 0x194]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
push ecx
push ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4b5a80]
divsd xmm1, xmm0
movsd qword [esp], xmm1
call fcn.00467820
pop ecx
fstp qword [ebp - 0x218]
movsd xmm0, qword [ebp - 0x218]
pop ecx
call fcn.00459815
mov edx, dword [esi + 0xc]
mov ebx, eax
mov dword [esi + 0x1a0], ebx
mov ecx, edx
test edx, edx
je 0x41f3a1
mov edi, dword [0x4c12e0]
test edi, edi
je 0x41f3cd
cmp dword [0x4c3630], 0
je 0x41f3ab
mov eax, dword [edx]
push ebx
push str...Progress_information_for_this_inf_will_be_reported_in_increments_of__u
push edx
call dword [eax + 0x10]
mov ecx, dword [esi + 0xc]
add esp, 0xc
test ecx, ecx
je 0x41f3cd
mov edi, dword [0x4c12e0]
test edi, edi
je 0x41f3cd
cmp dword [0x4c3630], 0
je 0x41f3cd
mov eax, dword [ecx]
lea edx, [ebp - 0x108]
push edx
push str...Processing_section___s_
push ecx
call dword [eax + 0x10]
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x108]
mov ecx, esi
push 0
push 0x41b0ce
push eax
call fcn.0041762f
mov edi, eax
test edi, edi
jne 0x41f47a
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x41f3fe
cmp eax, 1
jne 0x41f47a
mov ecx, dword [esi + 0xc]
mov edx, ecx
test ecx, ecx
je 0x41f429
mov eax, dword [0x4c12e0]
test eax, eax
je 0x41f453
cmp dword [0x4c3630], 0
je 0x41f432
mov eax, dword [ecx]
push str...No_errors_found_during_installation._Performing_post_install_steps
push ecx
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
pop ecx
pop ecx
test edx, edx
je 0x41f453
mov eax, dword [0x4c12e0]
test eax, eax
je 0x41f453
cmp dword [0x4c3630], 0
je 0x41f453
push dword [esi + 0x150]
mov eax, dword [edx]
push str...Adding_temporary_folder__s_to_cleanup.ini_so_that_its_deleted_after_reboot
push edx
call dword [eax + 0x10]
add esp, 0xc
mov ecx, dword [esi + 0x160]
push 0x49b2ec
push dword [esi + 0x150]
mov eax, dword [ecx]
push dword [esi + 0x60]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edi, eax
jmp 0x41f612
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f49f
cmp dword [0x4c12e0], 0
je 0x41f49f
push dword [esi + 0x150]
mov eax, dword [ecx]
push edi
push str...There_was_some_error___d__during_installation._Directly_deleting_the_temporary_folder__s_since_we_wont_be_needing_it_anyway
push ecx
call dword [eax + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x134]
mov dword [ebp - 0x214], eax
lea eax, [esi + 0x138]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x210], eax
jb 0x41f4c5
mov eax, dword [eax]
mov dword [ebp - 0x210], eax
lea ebx, [esi + 0x30]
cmp dword [ebx + 0x14], 0x10
jb 0x41f4d0
mov ebx, dword [ebx]
push 2
call fcn.004659ab
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x210]
push ebx
push str.Failed_Inf:_s__s__d:_d_
push eax
call fcn.00429437
push 1
push dword [esi + 0x150]
call fcn.00442c28
add esp, 0x24
cmp eax, 1
jne 0x41f5ee
push 0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00443242
add esp, 0xc
test eax, eax
jne 0x41f54c
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f612
cmp dword [0x4c12e0], eax
je 0x41f612
mov eax, dword [ecx]
push str...Cannot_get_temporary_folder_path_for_deletion
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
jmp 0x41f612
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41f5c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0xc]
mov edx, eax
test ecx, ecx
je 0x41f612
cmp edx, 0x91
jne 0x41f5a6
cmp dword [0x4c12e0], 0
je 0x41f612
cmp dword [0x4c3630], 0
je 0x41f612
lea edx, [ebp - 0x20c]
push edx
push str...Leaving_temporary_folder__s_as_it_is_not_empty
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
jmp 0x41f60f
cmp dword [0x4c12e0], 0
je 0x41f612
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x20c]
push edx
push str...Unable_to_delete_temporary_folder__s.__Error:__d
push ecx
call dword [eax + 0x18]
add esp, 0x10
jmp 0x41f612
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f612
cmp dword [0x4c12e0], 0
je 0x41f612
cmp dword [0x4c3630], 0
je 0x41f612
lea edx, [ebp - 0x20c]
push edx
push str...Deleted_temporary_folder__s
jmp 0x41f59e
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f612
cmp dword [0x4c12e0], 0
je 0x41f612
push dword [esi + 0x150]
mov eax, dword [ecx]
push str...Unable_to_delete_temporary_folder__s
push ecx
call dword [eax + 0x18]
add esp, 0xc
cmp dword [esi + 0x170], 0
je 0x41f660
mov edx, dword [esi + 0xc]
mov ecx, edx
test edx, edx
je 0x41f63d
cmp dword [0x4c12e0], 0
je 0x41f657
mov eax, dword [edx]
push str...A_user_configuration_has_indicated_that_REBOOT_is_required._Trying_to_set_MCINST_SUCCESS_NEED_REBOOT_as_the_final_return_value.
push edx
call dword [eax + 0x18]
pop ecx
pop ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f657
cmp dword [0x4c12e0], 0
je 0x41f657
mov eax, dword [ecx]
push str.REBOOT_REQUIRED:_triggered_by_INF_configuration_forcing_reboot
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
push 1
mov ecx, esi
call fcn.00426f44
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41f688
cmp dword [0x4c12e0], 0
je 0x41f688
cmp dword [0x4c3630], 0
je 0x41f688
mov eax, dword [ecx]
push edi
push str.CInfFile::_Install___returns__d
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 4