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

Disassembly:
sub esp, 0xc20
mov eax, dword [0x4895f0]
xor eax, esp
mov dword [esp + 0xc1c], eax
push ebx
push esi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x429]
push ebx
push eax
mov dword [esp + 0x1c], ecx
xor esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x430], bl
call fcn.0044cf00
push 0x3ff
lea ecx, [esp + 0x35]
push ebx
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3c], bl
call fcn.0044cf00
push 0x3ff
lea edx, [esp + 0x841]
push ebx
push edx
mov dword [esp + 0x44], 0x400
mov byte [esp + 0x848], bl
call fcn.0044cf00
add esp, 0x24
lea eax, [esp + 0x14]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x423ee0
push ebp
push edi
jmp 0x423d80
push 0x400
lea ecx, [esp + 0x430]
push ebx
push ecx
call fcn.0044cf00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push 0x400
lea edx, [esp + 0x430]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebp, eax
cmp ebp, ebx
jne 0x423ec7
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x430]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x423eb0
push 0x400
lea edx, [esp + 0x30]
push ebx
push edx
mov dword [esp + 0x34], 0x400
call fcn.0044cf00
add esp, 0xc
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push str.Debugger
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423eb0
cmp dword [esp + 0x20], 1
jne 0x423eb0
push 0x400
lea ecx, [esp + 0x830]
push ecx
mov ecx, dword [esp + 0x20]
push 0x400
lea edx, [esp + 0x38]
push edx
call fcn.004233b0
test eax, eax
je 0x423eb0
mov edi, str.NULL
lea esi, [esp + 0x82c]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x423e70
lea ecx, [esp + 0x2c]
jmp 0x423e89
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
call fcn.004232d0
test eax, eax
jne 0x423eb0
lea ecx, [esp + 0x82c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004232d0
test eax, eax
jne 0x423eb0
mov edx, dword [esp + 0x10]
push str.Debugger
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x423eb0
add dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x423ecb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x423ecb
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], 1
cmp ebp, ebx
je 0x423d80
mov esi, dword [esp + 0x14]
pop edi
pop ebp
jmp 0x423ee4
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x423ef3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x423f02
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc24]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044ce74
add esp, 0xc20
ret