Function at 0x410960
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45690e
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4731fc]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
push edi
mov eax, dword [0x4731fc]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa8]
push 0
mov edi, ecx
mov eax, dword [edi + 0x114]
push 0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.0043cd60
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0
call fcn.0043cd20
test al, al
jne 0x4109ef
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043cde0
mov eax, 0x53
jmp 0x410dca
lea ecx, [esp + 0x4c]
call fcn.00403b60
test esi, esi
mov bl, 1
mov byte [esp + 0xa0], bl
jne 0x410a14
lea ecx, [edi + 0x78]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401de0
jmp 0x410a44
push esi
lea ecx, [esp + 0x2c]
call fcn.004031c0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 2
call fcn.00404c00
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], bl
call fcn.00401d80
mov eax, dword [esp + 0x54]
mov ebx, 8
cmp dword [esp + 0x68], ebx
jae 0x410a57
lea eax, [esp + 0x54]
push 6
push eax
call fcn.0043d0a0
mov esi, eax
add esp, 8
test esi, esi
je 0x410a94
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.00401d80
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043cde0
mov eax, esi
jmp 0x410dca
cmp dword [0x4735fc], ebx
mov eax, dword [0x4735e8]
mov byte [esp + 0xa0], 3
mov dword [esp + 0x10], 0
jae 0x410ab6
mov eax, 0x4735e8
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
call sub.msi.dll_MsiOpenProductW
test eax, eax
je 0x410b04
mov eax, dword [esp + 0x10]
test eax, eax
je 0x410ad5
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.00401d80
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043cde0
mov eax, 0x20
jmp 0x410dca
cmp dword [esp + 0x68], ebx
mov ecx, dword [esp + 0x54]
jae 0x410b12
lea ecx, [esp + 0x54]
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
push 0
push 0
push ecx
push edx
push eax
call sub.msi.dll_MsiDatabaseImportW
test eax, eax
je 0x410beb
cmp eax, 6
je 0x410bae
cmp eax, 0xe8
mov eax, dword [esp + 0x10]
je 0x410b75
test eax, eax
je 0x410b46
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.00401d80
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043cde0
mov eax, 0x2a
jmp 0x410dca
test eax, eax
je 0x410b7f
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.00401d80
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043cde0
mov eax, 0x2d
jmp 0x410dca
mov eax, dword [esp + 0x10]
test eax, eax
je 0x410bbc
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.00401d80
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043cde0
mov eax, 0x16
jmp 0x410dca
cmp dword [esp + 0x68], ebx
mov ecx, dword [esp + 0x54]
jae 0x410bf9
lea ecx, [esp + 0x54]
mov eax, dword [edi]
push 0
push 0x3f
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call sub.msi.dll_MsiConfigureProductExW
test eax, eax
je 0x410c4c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x410c1d
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.00401d80
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043cde0
mov eax, 0x2b
jmp 0x410dca
lea ecx, [esp + 0x70]
call fcn.00403b60
push 0x4631e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 4
call fcn.004031c0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 5
call fcn.004064e0
lea ecx, [esp + 0x28]
mov bl, al
mov byte [esp + 0xa0], 4
call fcn.00401d80
test bl, bl
je 0x410cbe
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x74]
call fcn.00401de0
push 0x4631d8
lea ecx, [esp + 0x2c]
call fcn.004031c0
mov byte [esp + 0xa0], 6
jmp 0x410d1d
push 0x4631d8
lea ecx, [esp + 0x2c]
call fcn.004031c0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 7
call fcn.004064e0
lea ecx, [esp + 0x28]
mov bl, al
mov byte [esp + 0xa0], 4
call fcn.00401d80
test bl, bl
je 0x410d3c
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x74]
call fcn.00401de0
push 0x4631e0
lea ecx, [esp + 0x2c]
call fcn.004031c0
mov byte [esp + 0xa0], 8
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x74]
call fcn.00405100
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 4
call fcn.00401d80
lea ecx, [esp + 0x70]
call fcn.00403b00
test al, al
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x410d64
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x410d61
lea eax, [esp + 0x78]
push eax
call esi
mov edx, dword [esp + 0x10]
push edx
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [0x4735fc], 8
mov eax, dword [0x4735e8]
jae 0x410d81
mov eax, 0x4735e8
push eax
call esi
lea ecx, [esp + 0x70]
mov byte [esp + 0xa0], 3
call fcn.00401d80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x410da3
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.00401d80
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043cde0
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004420bc
add esp, 0x94
ret 4