Function at 0x42c940
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 0x4ad248
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x4e006c]
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 0x4c6ed0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
call fcn.00407d50
mov dword [ebp - 4], esi
lea ecx, [ebp - 0xc8]
push 0xf
xor eax, eax
mov dword [ebp - 0xb8], esi
push 0x4c6ee4
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
call fcn.00407d50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
push 0xc
xor eax, eax
mov dword [ebp - 0xa0], esi
push str.mbamtray.exe
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407d50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
push 0x18
xor eax, eax
mov dword [ebp - 0x88], esi
push 0x4c44cc
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.00407d50
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.0043eb00
push fcn.00405100
push 4
push 0x18
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 5
push eax
call fcn.0046a859
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.00407d50
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
cmp edi, eax
je 0x42ce81
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.004150d0
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push esi
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x38]
push eax
call fcn.00415840
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42cb1c
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x38]
push eax
call fcn.00415840
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 0x42cd7a
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 0x42cd0b
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x59], 1
call fcn.0045b1b0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42cb9a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x45c
mov ecx, eax
call fcn.00408660
mov edx, str.:_Found_IFEO_key__trying_to_delete:
mov ecx, eax
call fcn.0040be10
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x42cbe4
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.0040d910
add esp, 4
push eax
call fcn.0040c180
mov byte [ebp - 4], 7
add esp, 4
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x42cc38
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cc2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cee0
push edx
push ecx
call fcn.0046a609
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.0045b1b0
test esi, esi
jne 0x42ccaa
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42cc6c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x460
mov ecx, eax
call fcn.00408660
mov edx, str.:_Successfully_deleted_IFEO_key
jmp 0x42cde7
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42ccb9
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x464
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error
mov ecx, eax
call fcn.0040be10
push esi
mov ecx, eax
call fcn.004084b0
mov edx, str._calling_RegDeleteKeyW
jmp 0x42cde7
cmp esi, 2
je 0x42ce35
lea ecx, [ebp - 0x78]
call fcn.0045b1b0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42cd2b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x469
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error
mov ecx, eax
call fcn.0040be10
push esi
mov ecx, eax
call fcn.004084b0
mov edx, str._calling_RegQueryValueEx
jmp 0x42cde7
cmp esi, 2
je 0x42ce35
lea ecx, [ebp - 0x78]
call fcn.0045b1b0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42cd9a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x46e
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error
mov ecx, eax
call fcn.0040be10
push esi
mov ecx, eax
call fcn.004084b0
mov edx, str._calling_RegOpenKeyEx
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov byte [ebp - 4], 7
add esp, 4
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x42ce35
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ce2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cee0
push edx
push ecx
call fcn.0046a609
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 0x42ce75
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ce6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cee0
push edx
push ecx
call fcn.0046a609
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x60]
jne 0x42cac2
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x42ceb7
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cead
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cee0
push edx
push ecx
call fcn.0046a609
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.0043c8a0
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.0046a0e8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0048552c
int3