Function at 0x429890
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b881b
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4f0464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4ef0ac], 0
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x41], 0
je 0x429997
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4c2b34
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42998a
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x74]
push ecx
movups xmmword [ebp - 0x74], xmm0
movups xmmword [ebp - 0x64], xmm0
call eax
mov ax, word [ebp - 0x74]
cmp ax, 9
je 0x429980
cmp ax, 6
je 0x429980
cmp ax, 0xc
je 0x429980
push str.IsWow64Process2
push 0x4c2b70
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x429977
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x429977
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x48], cx
sete al
mov dword [0x4f3b58], eax
jmp 0x42998a
xor eax, eax
mov dword [0x4f3b58], eax
jmp 0x42998a
mov dword [0x4f3b58], 1
mov edx, dword [ebp - 0x50]
mov dword [0x4ef0ac], 0
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4299a1
mov ecx, dword [esi]
cmp dword [0x4f3b58], 0
mov eax, 0x102
push 0
mov edi, 2
cmove eax, edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x429ad7
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x429ad2
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcutilsutils.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00411d10
mov byte [ebp - 4], 1
call fcn.00445180
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x10c]
push 0x89
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004092d0
mov edi, eax
push str._error__delete_reg_key__root:
push edi
mov byte [ebp - 4], 2
call fcn.0040a600
add esp, 8
mov ecx, edi
push dword [ebp - 0x50]
call fcn.004296e0
push str.__open_reg_failed__path:
push edi
call fcn.0040a600
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x429a83
mov esi, dword [esi]
test esi, esi
mov eax, 0x4c19e4
cmovne eax, esi
push eax
push edi
call fcn.00407110
push 0x4c4968
push edi
call fcn.0040a600
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x4c]
call fcn.00418320
mov eax, dword [ebp - 0x48]
mov ecx, eax
push edi
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040a7e0
lea ecx, [ebp - 0x28]
call fcn.00409da0
lea ecx, [ebp - 0x40]
call fcn.00409da0
mov al, byte [ebp - 0x41]
jmp 0x429ad9
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004670b3
mov esp, ebp
pop ebp
ret