Function at 0x404010
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x4e56b4
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x10], 0
je 0x404287
push 0x39
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x4c]
push str.SOFTWAREWow6432NodemicrosoftWindowsCurrentVersionRun
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.00403120
mov dword [esp + 0x9c], 0
xor eax, eax
push 0x2d
mov dword [esp + 0x74], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
call fcn.00403120
mov byte [esp + 0x9c], 1
xor eax, eax
push 0x3f
mov dword [esp + 0x8c], 0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
call fcn.00403120
mov dword [esp + 0x9c], 2
lea esi, [esp + 0x48]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 3
mov dword [esp + 0x14], 0
lea ecx, [ecx]
cmp dword [esi + 0x14], 8
jb 0x40414a
mov eax, dword [esi]
jmp 0x40414c
mov eax, esi
lea ecx, [esp + 0x14]
push ecx
push 0x20006
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x404188
mov ecx, ebx
call fcn.00402b00
push eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
add esi, 0x18
dec edi
jne 0x404140
push 0x2d
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x1c]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.00403120
mov byte [esp + 0x9c], 3
xor eax, eax
push 0x3f
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], edi
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], ax
call fcn.00403120
mov byte [esp + 0x9c], 4
lea esi, [esp + 0x18]
mov edi, 2
lea ecx, [ecx]
cmp dword [esi + 0x14], 8
jb 0x40420a
mov eax, dword [esi]
jmp 0x40420c
mov eax, esi
lea ecx, [esp + 0x14]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
call ebp
test eax, eax
jne 0x404248
mov ecx, ebx
call fcn.00402b00
push eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
add esi, 0x18
dec edi
jne 0x404200
mov byte [esp + 0x9c], 2
lea eax, [esp + 0x18]
push fcn.00402a90
push 2
push 0x18
push eax
call fcn.004c57ec
mov dword [esp + 0x9c], 0xffffffff
lea eax, [esp + 0x48]
push fcn.00402a90
push 3
push 0x18
push eax
call fcn.004c57ec
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004c515f
add esp, 0x8c
ret