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

Disassembly:
push 0xffffffffffffffff
push 0x45b4e1
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 8
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push 0x80000002
mov byte [esp + 0x2b], bl
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4035e9
push 0x104
lea ecx, [esp + 0x69]
push ebx
push ecx
xor ebp, ebp
mov byte [esp + 0x70], bl
call fcn.004423c0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x78]
push eax
push ebx
push ecx
mov dword [esp + 0x40], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4035d8
lea esi, [ebx + 0xf]
lea edi, [ebx + 0x10]
mov edi, edi
lea edx, [esp + 0x64]
push str.lupdater.exe
push edx
add ebp, 1
call fcn.00454cd6
add esp, 8
test eax, eax
jne 0x40356a
push 8
push str.Everyone
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.004054f0
mov dword [esp + 0x178], ebx
push 0x5e
push str.MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Optionslupdater.exe
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.004054f0
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x194], 1
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00405e10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0xffffffffffffffff
mov byte [esp + 0x1b4], 2
push ebx
lea edx, [esp + 0x88]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00405e10
mov byte [esp + 0x1b0], 1
call fcn.00403290
add esp, 0x38
cmp dword [esp + 0x44], edi
jb 0x403540
mov eax, dword [esp + 0x30]
push eax
call fcn.0043c477
add esp, 4
mov dword [esp + 0x178], 0xffffffff
cmp dword [esp + 0x60], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x40356a
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043c477
add esp, 4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 2
push ebx
lea eax, [esp + 0x70]
push eax
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4035ae
mov edx, dword [esp + 0x1c]
push str.debugger
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4035a3
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x78]
push edx
push ebp
push eax
mov dword [esp + 0x40], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x403470
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x17]
jmp 0x4035eb
mov al, bl
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0043c709
add esp, 0x168
ret