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

Disassembly:
push 0x2ac
mov eax, 0x43cfe2
call fcn.00437f7e
mov ebx, ecx
lea eax, [ebp - 0x248]
push eax
call fcn.00427a39
xor ecx, ecx
lea eax, [ebp - 0x248]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x234], 7
push ecx
cmova eax, dword [ebp - 0x248]
xor edx, edx
cmp byte [ebx + 0x4d], cl
push ecx
sete dl
lea ecx, [ebp - 0x2b8]
push eax
add edx, 0x80000001
call fcn.0041c3ee
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 7
lea edi, [ebx + 0x150]
movzx eax, byte [ebx + 0x4d]
cmova ecx, dword [ebp - 0x248]
push eax
push ecx
push str.Bootstrapper::storePrevVersions_path___S__perUser___d
push edi
call fcn.004026dd
add esp, 0x10
xor esi, esi
push esi
lea eax, [ebp - 0x230]
push str.version_d
push eax
call fcn.0040f235
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2ac]
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
push ecx
cmova eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2ac], 0x104
call fcn.004059f4
test eax, eax
jne 0x427dbd
cmp dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x218]
push ecx
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push eax
push str.Bootstrapper::storePrevVersions_deleting_key___S__value___S
push edi
call fcn.004026dd
add esp, 0x10
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 7
cmova eax, dword [ebp - 0x230]
push eax
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
inc esi
call fcn.00402ab8
jmp 0x427d08
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00402ab8
mov eax, dword [ebx + 0x108]
and dword [ebp - 0x2ac], 0
mov esi, dword [eax]
cmp esi, eax
je 0x427f7b
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040417c
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x290]
call fcn.0040eec0
mov edi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2a8]
movzx ecx, byte [ebx + 0x4d]
push ecx
push eax
call fcn.004241b0
push edi
push eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
push dword [ebp - 0x2ac]
call fcn.0040cb42
lea ecx, [ebp - 0x2a8]
call fcn.00402ab8
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 8
call fcn.00402ab8
cmp dword [ebp - 0x264], 7
lea eax, [ebp - 0x278]
cmova eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427e77
test al, 0x10
je 0x427e77
mov al, 1
jmp 0x427e79
xor al, al
test al, al
je 0x427f53
mov edi, dword [ebp - 0x2ac]
lea eax, [ebp - 0x230]
push edi
push str.version_d
push eax
call fcn.0040f235
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x260]
cmova ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x24c], 0xf
cmova eax, dword [ebp - 0x260]
push eax
push ecx
lea eax, [ebx + 0x150]
push str.Bootstrapper::storePrevVersions_storing_key___S__value___s
push eax
call fcn.004026dd
add esp, 0x10
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x290]
call fcn.0040eec0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 7
cmova ecx, dword [ebp - 0x230]
cmp dword [eax + 0x14], 7
jbe 0x427f0f
mov eax, dword [eax]
push 1
push eax
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.00405a63
mov edx, str.SetKeyFailed
mov ecx, eax
call fcn.0041c241
lea ecx, [ebp - 0x290]
call fcn.00402ab8
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
inc edi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2ac], edi
call fcn.00402ab8
lea ecx, [ebp - 0x278]
call fcn.00402ab8
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.004027a6
mov esi, dword [esi]
cmp esi, dword [ebx + 0x108]
jne 0x427de3
lea ecx, [ebp - 0x2b8]
call fcn.004058ae
lea ecx, [ebp - 0x248]
call fcn.00402ab8
call fcn.00437f2d
ret