Function at 0x41710e
Capabilities:
Check if file exists
Delete registry value
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b5ac
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x47e180]
xor eax, esp
mov dword [esp + 0x2d4], eax
push esi
push edi
mov eax, dword [0x47e180]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
lea eax, [esp + 0x80]
push eax
mov ecx, ebx
call fcn.00416ec7
xor edi, edi
mov dword [esp + 0x2f0], edi
cmp dword [esp + 0x98], 8
mov ecx, dword [esp + 0x84]
jae 0x41717d
lea ecx, [esp + 0x84]
mov al, byte [ebx + 0x61]
push edi
push ecx
xor ecx, ecx
test al, al
sete cl
lea eax, [esp + 0x18]
add ecx, 0x80000001
push ecx
push eax
call fcn.00420a27
add esp, 0x10
mov byte [esp + 0x2f0], 1
cmp dword [esp + 0x98], 8
mov al, byte [ebx + 0x61]
mov ecx, dword [esp + 0x84]
jae 0x4171c0
lea ecx, [esp + 0x84]
movzx eax, al
push eax
push ecx
lea esi, [ebx + 0xc8]
push str.Bootstrapper::storePrevVersions_path___S__perUser___d
call fcn.004081d4
add esp, 0xc
mov dword [esp + 0xc], edi
push dword [esp + 0xc]
lea eax, [esp + 0x68]
call fcn.00416f0b
mov byte [esp + 0x2f0], 2
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0x104
jae 0x417208
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x20]
lea edi, [esp + 0xdc]
call fcn.0040bc2b
test eax, eax
jne 0x417285
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x417231
lea eax, [esp + 0x68]
lea ecx, [esp + 0xd4]
push ecx
push eax
push str.Bootstrapper::storePrevVersions_deleting_key___S__value___S
lea esi, [ebx + 0xc8]
call fcn.004081d4
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x7c], 8
jae 0x41725c
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
inc dword [esp + 0xc]
push 0
push 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x2f8], 1
call fcn.00408944
jmp 0x4171dc
xor edi, edi
push edi
push 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x2f8], 1
call fcn.00408944
mov eax, dword [ebx + 0x200]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1ec]
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], eax
mov esi, dword [ebx + 0x200]
mov eax, dword [ebx + 0x1ec]
cmp dword [esp + 0x1c], edi
je 0x4172cd
cmp dword [esp + 0x1c], eax
je 0x4172d2
call fcn.0043dd11
cmp dword [esp + 0x20], esi
je 0x417494
lea esi, [esp + 0x1c]
call fcn.00418e3c
push eax
lea ecx, [esp + 0xa0]
call fcn.00407413
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2f0], 3
call fcn.00424316
mov esi, eax
mov byte [esp + 0x2f0], 4
mov al, byte [ebx + 0x61]
mov byte [esp + 0x18], al
push dword [esp + 0x18]
lea eax, [esp + 0x4c]
push eax
call fcn.004142be
push esi
push eax
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x2fc], 5
call fcn.0040a72d
add esp, 0xc
push edi
push 1
lea esi, [esp + 0x50]
call fcn.00408944
push edi
push 1
lea esi, [esp + 0x2c]
mov byte [esp + 0x2f8], 8
call fcn.00408944
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x41737b
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41745a
test al, 0x10
je 0x41745a
push dword [esp + 0xc]
lea eax, [esp + 0x68]
call fcn.00416f0b
mov byte [esp + 0x2f0], 9
cmp dword [esp + 0xb4], 0x10
mov ecx, dword [esp + 0xa0]
jae 0x4173c0
lea ecx, [esp + 0xa0]
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x4173cf
lea eax, [esp + 0x68]
push ecx
push eax
push str.Bootstrapper::storePrevVersions_storing_key___S__value___s
lea esi, [ebx + 0xc8]
call fcn.004081d4
add esp, 0xc
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x24]
call fcn.00424316
mov byte [esp + 0x2f0], 0xa
cmp dword [eax + 0x18], 8
jb 0x417407
mov eax, dword [eax + 4]
jmp 0x41740a
add eax, 4
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x417419
lea ecx, [esp + 0x68]
push str.SetKeyFailed
push 1
push eax
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.0040bbb4
push eax
call fcn.00420849
pop ecx
pop ecx
push edi
push 1
lea esi, [esp + 0x2c]
call fcn.00408944
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
inc dword [esp + 0xc]
push edi
push 1
lea esi, [esp + 0x6c]
call fcn.00408944
push edi
push 1
lea esi, [esp + 0xc0]
call fcn.00408944
push edi
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f8], 1
call fcn.0040860c
lea edi, [esp + 0x40]
lea esi, [esp + 0x1c]
call fcn.00418e67
xor edi, edi
jmp 0x4172b5
cmp dword [esp + 0x10], edi
je 0x4174a8
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], edi
push edi
push 1
lea esi, [esp + 0x88]
mov dword [esp + 0x1c], edi
call fcn.00408944
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.0043d7ed
mov esp, ebp
pop ebp
ret