Function at 0x41f010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4960f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x41f06b
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [ebp - 4], 0
call fcn.00421c30
push 0x49cbd0
call fcn.0046eb48
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00422f20
mov dword [ebp - 4], ebx
xor ebx, ebx
mov edi, 0x4cfbf8
call fcn.00409570
test eax, eax
je 0x41f134
mov edi, dword [0x4cfbf8]
call fcn.004193f0
test eax, eax
jne 0x41f134
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x18]
push 0x4cfbfc
push ecx
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00407870
add esp, 8
mov edi, eax
mov byte [ebp - 4], 3
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41f0f1
lea edx, [ebp - 0x14]
push edx
push edi
call fcn.004105a0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f134
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov edi, 0x4cfc1c
call fcn.00409570
test eax, eax
je 0x41f1ec
mov edi, dword [0x4cfc1c]
call fcn.004193f0
test eax, eax
jne 0x41f1ec
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x14]
push 0x4cfc24
push ecx
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00407870
add esp, 8
mov edi, eax
mov byte [ebp - 4], 5
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41f1a9
lea edx, [ebp - 0x18]
push edx
push edi
call fcn.004105a0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f212
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret