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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466517
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x2d4], eax
push esi
push edi
mov eax, dword [0x48e190]
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.0041da3c
xor edi, edi
mov dword [esp + 0x2f0], edi
cmp dword [esp + 0x98], 8
mov ecx, dword [esp + 0x84]
jae 0x41dced
lea ecx, [esp + 0x84]
mov al, byte [ebx + 0x59]
push edi
push edi
push ecx
xor ecx, ecx
test al, al
sete cl
lea eax, [esp + 0x28]
add ecx, 0x80000001
push ecx
push eax
call fcn.00429e36
add esp, 0x14
mov byte [esp + 0x2f0], 1
cmp dword [esp + 0x98], 8
mov al, byte [ebx + 0x59]
mov ecx, dword [esp + 0x84]
jae 0x41dd31
lea ecx, [esp + 0x84]
movzx eax, al
push eax
push ecx
lea esi, [ebx + 0x1ac]
push str.Bootstrapper::storePrevVersions_path___S__perUser___d
call fcn.00408ffd
add esp, 0xc
mov dword [esp + 0xc], edi
push dword [esp + 0xc]
lea eax, [esp + 0x68]
call fcn.0041da83
mov byte [esp + 0x2f0], 2
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], 0x104
jae 0x41dd79
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x20]
push eax
lea esi, [esp + 0x18]
lea edi, [esp + 0xdc]
call fcn.0040c97a
test eax, eax
jne 0x41ddf6
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x41dda2
lea eax, [esp + 0x68]
lea ecx, [esp + 0xd4]
push ecx
push eax
push str.Bootstrapper::storePrevVersions_deleting_key___S__value___S
lea esi, [ebx + 0x1ac]
call fcn.00408ffd
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x7c], 8
jae 0x41ddcd
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
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.0040970f
jmp 0x41dd4d
xor edi, edi
push 0
inc edi
push edi
lea esi, [esp + 0x6c]
mov byte [esp + 0x2f8], 1
call fcn.0040970f
mov eax, dword [ebx + 0x14c]
mov eax, dword [eax]
and dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x138]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x14c]
mov eax, dword [ebx + 0x138]
je 0x41de41
cmp dword [esp + 0x14], eax
je 0x41de46
call fcn.00447b61
cmp dword [esp + 0x18], esi
je 0x41e008
lea esi, [esp + 0x14]
call fcn.00434f30
push eax
lea ecx, [esp + 0xa0]
call fcn.00408162
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2f0], 3
call fcn.0042c5ed
mov esi, eax
mov byte [esp + 0x2f0], 4
mov al, byte [ebx + 0x59]
mov byte [esp + 0x10], al
push dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
call fcn.00419e24
push esi
push eax
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x2fc], 5
call fcn.0040b348
add esp, 0xc
push 0
push edi
lea esi, [esp + 0x50]
call fcn.0040970f
push 0
push edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x2f8], 8
call fcn.0040970f
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x41deef
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41dfcd
test al, 0x10
je 0x41dfcd
push dword [esp + 0xc]
lea eax, [esp + 0x68]
call fcn.0041da83
mov byte [esp + 0x2f0], 9
cmp dword [esp + 0xb4], 0x10
mov ecx, dword [esp + 0xa0]
jae 0x41df34
lea ecx, [esp + 0xa0]
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x41df43
lea eax, [esp + 0x68]
push ecx
push eax
push str.Bootstrapper::storePrevVersions_storing_key___S__value___s
lea esi, [ebx + 0x1ac]
call fcn.00408ffd
add esp, 0xc
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x24]
call fcn.0042c5ed
mov byte [esp + 0x2f0], 0xa
cmp dword [eax + 0x18], 8
jb 0x41df7b
mov eax, dword [eax + 4]
jmp 0x41df7e
add eax, 4
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x41df8d
lea ecx, [esp + 0x68]
push str.SetKeyFailed
push edi
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0040c8fd
push eax
call fcn.00429c54
pop ecx
pop ecx
push 0
push edi
lea esi, [esp + 0x2c]
call fcn.0040970f
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
inc dword [esp + 0xc]
push 0
push edi
lea esi, [esp + 0x6c]
call fcn.0040970f
push 0
push edi
lea esi, [esp + 0xc0]
call fcn.0040970f
push 0
push edi
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f8], 1
call fcn.00409477
lea edi, [esp + 0x40]
lea esi, [esp + 0x14]
call fcn.004204c7
xor edi, edi
inc edi
jmp 0x41de28
lea esi, [esp + 0x1c]
call fcn.0040ca20
push 0
push edi
lea esi, [esp + 0x88]
call fcn.0040970f
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.0044763d
mov esp, ebp
pop ebp
ret