Function at 0x426e60
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0b38
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x4e506c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x7c], esi
lea ecx, [ebp - 0xe0]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x58], esi
xor eax, eax
movq qword [ebp - 0x20], xmm0
push 0x4cd878
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
call fcn.004078c0
mov dword [ebp - 4], esi
lea ecx, [ebp - 0xc8]
push 0xc
xor eax, eax
mov dword [ebp - 0xb8], esi
push str.mbamtray.exe
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
call fcn.004078c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
push 0xf
xor eax, eax
mov dword [ebp - 0xa0], esi
push 0x4caed0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.004078c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
push 0x18
xor eax, eax
mov dword [ebp - 0x88], esi
push str.MBAMInstallerService.exe
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.004078c0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x80]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x1c], esi
push eax
mov dword [ebp - 0x18], esi
call fcn.0043c340
push fcn.00404c50
push 4
push 0x18
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 5
push eax
call fcn.0046e5f3
push 0x4a
xor eax, eax
mov dword [ebp - 0x44], esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.004078c0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
cmp edi, eax
je 0x4273a1
mov byte [ebp - 4], 7
or esi, 1
xor eax, eax
mov dword [ebp - 0x7c], esi
xor ecx, ecx
mov word [ebp - 0x38], ax
mov dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x44]
mov eax, esi
add eax, dword [edi + 0x10]
mov dword [ebp - 0x28], 0
setb cl
mov dword [ebp - 0x24], 7
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040b9e0
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push esi
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x38]
push eax
call fcn.0040c200
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42703c
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x38]
push eax
call fcn.0040c200
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x58]
push ecx
push 0x2011f
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x42729a
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
push str.Debugger
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x58]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42722b
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x59], 1
call fcn.0045e700
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4270ba
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 0x488
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Found_IFEO_key__trying_to_delete:
mov ecx, eax
call fcn.0040f6d0
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x427104
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004104f0
add esp, 4
push eax
call fcn.0040fa40
mov byte [ebp - 4], 7
add esp, 4
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x427158
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42714e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427400
push edx
push ecx
call fcn.0046e3a3
add esp, 8
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.0045e700
test esi, esi
jne 0x4271ca
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42718c
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 0x48c
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Successfully_deleted_IFEO_key
jmp 0x427307
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4271d9
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 0x490
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._calling_RegDeleteKeyW
jmp 0x427307
cmp esi, 2
je 0x427355
lea ecx, [ebp - 0x78]
call fcn.0045e700
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42724b
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 0x495
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._calling_RegQueryValueEx
jmp 0x427307
cmp esi, 2
je 0x427355
lea ecx, [ebp - 0x78]
call fcn.0045e700
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4272ba
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 0x49a
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._calling_RegOpenKeyEx
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 7
add esp, 4
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x427355
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42734b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427400
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov esi, dword [ebp - 0x80]
mov byte [ebp - 4], 6
and esi, 0xfffffffe
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x427395
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42738b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427400
push edx
push ecx
call fcn.0046e3a3
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x60]
jne 0x426fe2
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x4273d7
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4273cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427400
push edx
push ecx
call fcn.0046e3a3
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.004398f0
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046de82
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004892fc
int3