Function at 0x47f970
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5db3a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
mov al, byte [esp + 0x2a4]
push ebx
xor ebx, ebx
push esi
cmp al, bl
push edi
mov esi, ecx
mov dword [esp + 0xc], ebx
je 0x47fada
call fcn.005c006c
mov eax, dword [eax + 8]
lea ecx, [esp + 0x19c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x54]
mov dword [esp + 0x48], 0x5ecdf0
mov dword [esp + 0x4c], 0x5ecde8
call fcn.004018e0
mov edi, 1
mov dword [esp + 0xc], edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00401950
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x2ac], edi
call fcn.00401a40
mov edx, dword [esp + 0x48]
mov byte [esp + 0x2a8], 2
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x48], 0x5ecdd4
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 4]
lea edx, [eax - 0xc]
mov dword [esp + eax + 0x44], edx
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x19c]
mov edx, dword [ecx + 4]
push eax
lea ecx, [esp + edx + 0x4c]
call fcn.0048f9c0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xc]
mov ebx, 3
push eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x2ac], ebx
lea ecx, [esp + edx + 0x4c]
call fcn.0048fe90
mov eax, dword [eax]
mov byte [esp + 0x2a8], 4
push eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x4c]
call fcn.0048f9c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2a8], bl
call fcn.0059d7fd
mov eax, dword [esp + 0x48]
lea edx, [esp + 0xc]
push edx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x4c]
call fcn.0048fe30
lea ecx, [esp + 0xc]
call fcn.0059d7fd
mov edx, dword [esp + 0x48]
lea ecx, [esi + 0xc0]
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x4c]
push eax
push str.PreviousVersionPath
call fcn.00497cc0
lea ecx, [esp + 0x54]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.004019c0
jmp 0x47fdb4
lea ecx, [esp + 0x88]
push ecx
push str.EtxMgr.Application
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
je 0x47faf8
xor al, al
jmp 0x47fdb6
lea edx, [esp + 0x74]
push ebp
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
push str.LocalServer32
lea ecx, [esp + 0x48]
call fcn.0059d86b
mov edi, eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x2ac], 5
push ecx
lea ecx, [esp + 0x84]
call fcn.0059d86b
mov ebp, eax
push 0x660af4
lea ecx, [esp + 0x80]
mov byte [esp + 0x2b0], 6
call fcn.0059d86b
push ebp
lea edx, [esp + 0x88]
push eax
push edx
mov byte [esp + 0x2b8], 7
call fcn.0059da2c
push edi
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x2b4], 8
push eax
call fcn.0059da2c
lea ecx, [esp + 0x84]
mov byte [esp + 0x2ac], 0xd
call fcn.0059d7fd
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2ac], 0xc
call fcn.0059d7fd
lea ecx, [esp + 0x80]
mov byte [esp + 0x2ac], 0xb
call fcn.0059d7fd
lea ecx, [esp + 0x44]
mov byte [esp + 0x2ac], 0xa
call fcn.0059d7fd
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push edx
push OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop ebp
jne 0x47fda0
mov ecx, 0x40
lea edi, [esp + 0x99]
mov byte [esp + 0x98], bl
lea edx, [esp + 0x84]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x44]
lea ecx, [esp + 0x98]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push ebx
push ebx
push eax
mov dword [esp + 0x5c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
mov edi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x47fda0
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0x5ecdf0
mov dword [esp + 0x1c], 0x5ecde8
call fcn.004018e0
mov dword [esp + 0xc], 2
push ebx
lea ecx, [esp + 0x1c]
call fcn.00401950
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2ac], 0xf
call fcn.00401a40
mov edx, dword [esp + 0x18]
mov byte [esp + 0x2a8], 0x10
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x18], 0x5ecdd4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
lea edx, [eax - 0xc]
mov dword [esp + eax + 0x14], edx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x98]
mov edx, dword [ecx + 4]
push eax
lea ecx, [esp + edx + 0x1c]
call fcn.0048f9c0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
mov bl, 0x11
push eax
mov edx, dword [ecx + 4]
mov byte [esp + 0x2ac], bl
lea ecx, [esp + edx + 0x1c]
call fcn.0048fe90
mov eax, dword [eax]
mov byte [esp + 0x2a8], 0x12
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x1c]
call fcn.0048f9c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2a8], bl
call fcn.0059d7fd
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x70]
push edx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x1c]
call fcn.0048fe30
lea ecx, [esp + 0x70]
call fcn.0059d7fd
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0xc0]
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x1c]
push eax
push str.PreviousVersionPath
call fcn.00497cc0
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a8], 0x16
call fcn.0059d7fd
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a8], 0x15
call fcn.0059d7fd
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a8], 0x14
call fcn.0059d7fd
mov byte [esp + 0x2a8], 0x13
lea ecx, [esp + 0x2c]
call fcn.0059d7fd
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a8], 0xa
call fcn.0059d7fd
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.0059d7fd
mov al, 1
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a0
ret 4