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

Disassembly:
push 0xffffffffffffffff
push 0x4616d1
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f344]
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 0x403c99
push 0x104
lea ecx, [esp + 0x69]
push ebx
push ecx
xor ebp, ebp
mov byte [esp + 0x70], bl
call fcn.00442eb0
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 0x403c88
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.00456e88
add esp, 8
test eax, eax
jne 0x403c1a
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.00406e20
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.00406e20
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.00407c00
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.00407c00
mov byte [esp + 0x1b0], 1
call fcn.00403940
add esp, 0x38
cmp dword [esp + 0x44], edi
jb 0x403bf0
mov eax, dword [esp + 0x30]
push eax
call fcn.0043e445
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 0x403c1a
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043e445
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 0x403c5e
mov edx, dword [esp + 0x1c]
push str.debugger
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x403c53
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 0x403b20
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x17]
jmp 0x403c9b
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.0043e436
add esp, 0x168
ret