Function at 0x4a2090
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f2441
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x454]
mov edi, dword [esp + 0x45c]
mov dword [esp + 0x1c], ebp
xor ebx, ebx
mov dword [esp + 0x448], ebx
push 0x1ff
lea eax, [esp + 0x41]
push ebx
push eax
mov dword [esp + 0x2c], ebx
xor esi, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x48], bl
call sub.MSVCR90.dll_memset
push 0x1ff
lea ecx, [esp + 0x24d]
push ebx
push ecx
mov byte [esp + 0x254], bl
call sub.MSVCR90.dll_memset
push 1
push str.SeBackupPrivilege
call fcn.004913e0
mov eax, dword [esp + 0x478]
add esp, 0x20
lea edx, [esp + 0x28]
push edx
push 0xf003f
push ebx
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4a2184
push ebx
push str.SeBackupPrivilege
call fcn.004913e0
add esp, 8
mov dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x458]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x4a23dd
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x240]
push edx
mov edx, dword [esp + 0x30]
push ebx
mov eax, 0x200
push ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebp, eax
inc esi
mov dword [esp + 0x14], esi
cmp ebp, ebx
jne 0x4a21c5
inc dword [esp + 0x20]
cmp byte [esp + 0x3c], bl
je 0x4a229d
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_314]
mov esi, eax
mov byte [esp + 0x448], 1
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x448], 2
push 0x505cc4
push eax
lea edx, [esp + 0x40]
push edx
call fcn.00402a60
mov byte [esp + 0x454], 3
push esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004029d0
add esp, 0x18
mov byte [esp + 0x448], 4
mov eax, dword [eax]
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call sub.mfc90.dll_Ordinal_6154
mov byte [esp + 0x448], 3
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x448], 2
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x448], 1
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x448], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x3c], bl
mov byte [esp + 0x23c], bl
cmp ebp, 0x103
jne 0x4a2180
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x450], bl
je 0x4a23b3
mov edi, dword [esp + 0x1c]
mov esi, str.HKLM_
cmp edi, reloc.OLEAUT32.dll_SysReAllocString
je 0x4a22cb
mov esi, str.HKCU_
push str.SoftWareTrojanCut
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x448], 5
push str.StartUp
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00402a60
mov byte [esp + 0x454], 6
push esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00402a60
mov byte [esp + 0x460], 7
lea ecx, [esp + 0x470]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
call fcn.004029d0
add esp, 0x24
mov byte [esp + 0x448], 9
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x448], 0xa
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x448], 0xb
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x44c], 0xc
push ecx
lea edx, [esp + 0x460]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x450], 0xd
push edi
mov byte [esp + 0x454], 0xb
call fcn.00492e10
add esp, 0xc
mov byte [esp + 0x448], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ebx
push str.SeBackupPrivilege
call fcn.004913e0
add esp, 8
mov dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x458]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004e0148
add esp, 0x438
ret