Function at 0x425250
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0850
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4e506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x2001f
push 0
push str.Software
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x42540f
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.mbamtestkey
push dword [ebp - 0x14]
call edi
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.mbamtestkey
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x425352
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push str.mbamtestkey
push dword [ebp - 0x14]
call edi
mov edi, eax
test edi, edi
je 0x425346
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, 0x4e94e0
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x328
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error
mov ecx, eax
call fcn.0040f6d0
push edi
mov ecx, eax
call fcn.00419660
mov edx, str._from_RegDeleteKeyW
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
add esp, 4
push dword [ebp - 0x14]
call esi
mov al, 1
jmp 0x4254be
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
call fcn.0045e700
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x425375
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x330
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error
mov ecx, eax
call fcn.0040f6d0
push esi
mov ecx, eax
call fcn.00419660
mov edx, str._from_RegCreateKeyEx
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x4254bc
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4254b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4254d9
jmp 0x4254b2
lea ecx, [ebp - 0x48]
call fcn.0045e700
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x425429
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x335
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error
mov ecx, eax
call fcn.0040f6d0
push esi
mov ecx, eax
call fcn.00419660
mov edx, str._from_RegOpenKeyEx
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x34]
add esp, 4
cmp edx, 8
jb 0x4254bc
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4254b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4254de
push edx
push ecx
call fcn.0046e3a3
add esp, 8
xor al, al
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.0046de82
mov esp, ebp
pop ebp
ret
call fcn.004892fc
call fcn.004892fc
int3