Function at 0x402b70
Capabilities:
Delete registry value
Query or enumerate registry value
Set 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 0x41805d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x424014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402bd0
sub edx, ecx
lea ecx, [ebp - 0x4c]
sar edx, 1
push edx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_
call fcn.00405170
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402c00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00404eb0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x402c77
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402da8
push edx
push ecx
call fcn.004068ce
add esp, 8
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push 0
push 0x20000010
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c], 4
cmovae eax, dword [ebp - 0x34]
push str.GlobalFlag
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
and dword [ebp - 0x18], 0xfffffeff
lea eax, [ebp - 0x34]
jne 0x402cd7
cmp dword [ebp - 0x20], 8
push str.GlobalFlag
cmovae eax, dword [ebp - 0x34]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
jmp 0x402cf8
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x18]
push 4
cmovae eax, dword [ebp - 0x34]
push ecx
push 4
push str.GlobalFlag
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 4
push ecx
push 0
mov esi, eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 0x20000010
push str.GlobalFlag
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test dword [ebp - 0x18], 0x100
jne 0x402d53
xor esi, esi
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
push str.VerifierDlls
cmovae eax, dword [ebp - 0x34]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x402d89
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dad
push edx
push ecx
call fcn.004068ce
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004066bd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040a6c0
call fcn.0040a6c0
int3