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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447924
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x3c]
push eax
call fcn.0042b135
xor esi, esi
mov dword [esp + 0x2d0], esi
cmp dword [esp + 0x50], 8
mov al, byte [ebx + 0x4d]
lea ecx, [esp + 0x3c]
cmovae ecx, dword [esp + 0x3c]
xor edx, edx
test al, al
sete dl
push esi
push esi
push ecx
lea ecx, [esp + 0x20]
add edx, 0x80000001
call fcn.00434493
add esp, 0xc
mov byte [esp + 0x2d0], 1
movzx eax, byte [ebx + 0x4d]
cmp dword [esp + 0x50], 8
push eax
lea ecx, [esp + 0x40]
cmovae ecx, dword [esp + 0x40]
push ecx
lea edi, [ebx + 0x150]
push str.Bootstrapper::storePrevVersions_path___S__perUser___d
push edi
call fcn.00402357
add esp, 0x10
push esi
lea eax, [esp + 0x28]
push eax
call fcn.0042b17d
mov byte [esp + 0x2d0], 2
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xb8]
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0x104
call fcn.0040ef64
test eax, eax
jne 0x42b508
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0xb4]
push ecx
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
push str.Bootstrapper::storePrevVersions_deleting_key___S__value___S
push edi
call fcn.00402357
add esp, 0x10
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0
push 1
lea ecx, [esp + 0x2c]
inc esi
mov byte [esp + 0x2d8], 1
call fcn.0040253d
jmp 0x42b46b
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2d8], 1
call fcn.0040253d
mov eax, dword [ebx + 0x108]
mov dword [esp + 0x10], edi
mov esi, dword [eax]
cmp esi, eax
je 0x42b6c9
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x58]
call fcn.00403fe0
lea edx, [esp + 0x54]
lea ecx, [esp + 0x84]
mov byte [esp + 0x2d0], 3
call fcn.0040ffd4
mov edi, eax
mov byte [esp + 0x2d0], 4
mov cl, byte [ebx + 0x4d]
mov byte [esp + 0x20], cl
push dword [esp + 0x20]
lea eax, [esp + 0xa0]
push eax
call fcn.00427531
push edi
mov edx, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x2d4], 5
call fcn.0040d7f0
pop ecx
xor edi, edi
push edi
push 1
lea ecx, [esp + 0xa4]
call fcn.0040253d
push edi
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2d8], 8
call fcn.0040253d
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b69e
test al, 0x10
je 0x42b69e
mov edi, dword [esp + 0x10]
push edi
lea eax, [esp + 0x28]
push eax
call fcn.0042b17d
mov byte [esp + 0x2d0], 9
cmp dword [esp + 0x68], 0x10
lea ecx, [esp + 0x54]
cmovae ecx, dword [esp + 0x54]
cmp dword [esp + 0x38], 8
push ecx
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
lea eax, [ebx + 0x150]
push str.Bootstrapper::storePrevVersions_storing_key___S__value___s
push eax
call fcn.00402357
add esp, 0x10
lea edx, [esp + 0x54]
lea ecx, [esp + 0x84]
call fcn.0040ffd4
mov ecx, eax
mov byte [esp + 0x2d0], 0xa
cmp dword [ecx + 0x14], 8
jb 0x42b64a
mov ecx, dword [ecx]
cmp dword [esp + 0x38], 8
push 1
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0040ee44
mov edx, str.SetKeyFailed
mov ecx, eax
call fcn.004342d9
push 0
push 1
lea ecx, [esp + 0x8c]
call fcn.0040253d
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
inc edi
mov dword [esp + 0x10], edi
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x2c]
call fcn.0040253d
push edi
push 1
lea ecx, [esp + 0x74]
call fcn.0040253d
lea ecx, [esp + 0x54]
mov byte [esp + 0x2d0], 1
call fcn.00402286
mov esi, dword [esi]
cmp esi, dword [ebx + 0x108]
jne 0x42b532
cmp dword [esp + 0x14], 0
je 0x42b6de
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
push edi
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], edi
call fcn.0040253d
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.0043df0a
mov esp, ebp
pop ebp
ret