Function at 0x41f0e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498550
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c606c]
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 0x41f2a8
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.mbamtestkey
push dword [ebp - 0x14]
call esi
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.mbamtestkey
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x41f1eb
push dword [ebp - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push str.mbamtestkey
push dword [ebp - 0x14]
call esi
mov esi, eax
test esi, esi
je 0x41f1df
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, 0x4ca1e0
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x2b4
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error
mov ecx, eax
call fcn.0040a3c0
push esi
mov ecx, eax
call fcn.00413a80
mov edx, str._from_RegDeleteKeyW
mov ecx, eax
call fcn.0040a3c0
push eax
call fcn.0040a730
add esp, 4
push dword [ebp - 0x14]
call edi
mov al, 1
jmp 0x41f357
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
call fcn.0044b850
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41f20e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x2bc
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error
mov ecx, eax
call fcn.0040a3c0
push edi
mov ecx, eax
call fcn.00413a80
mov edx, str._from_RegCreateKeyEx
mov ecx, eax
call fcn.0040a3c0
push eax
call fcn.0040a730
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x41f355
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f34b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f372
jmp 0x41f34b
lea ecx, [ebp - 0x48]
call fcn.0044b850
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41f2c2
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x2c1
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error
mov ecx, eax
call fcn.0040a3c0
push esi
mov ecx, eax
call fcn.00413a80
mov edx, str._from_RegOpenKeyEx
mov ecx, eax
call fcn.0040a3c0
push eax
call fcn.0040a730
mov edx, dword [ebp - 0x34]
add esp, 4
cmp edx, 8
jb 0x41f355
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f34b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f377
push edx
push ecx
call fcn.0045a3a4
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.00459e83
mov esp, ebp
pop ebp
ret
call fcn.004750dc
call fcn.004750dc
int3