Function at 0x419658
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push 0x104
lea eax, [ebp - 0x460]
push eax
push dword [ebp + 8]
call fcn.004033ef
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
add esp, 0xc
and dword [ebp - 0x10], 4
je 0x419691
push str.Open
jmp 0x4196a5
test al, 8
je 0x41969c
push 0x44e634
jmp 0x4196a5
test al, 0x10
je 0x4196b0
push str.Print
lea eax, [ebp - 0x30]
push eax
call fcn.0042e637
pop ecx
pop ecx
push ebx
push esi
push edi
xor edi, edi
mov ebx, 0x46bec0
mov esi, 0x4714e0
mov edx, dword [ebp - 0xc]
push 0x3b
push edx
call fcn.0041211b
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4196db
sub eax, edx
sar eax, 1
inc eax
push eax
jmp 0x4196e0
push 0x104
push edx
push ebx
call fcn.0042e6ca
add esp, 0xc
cmp word [0x46bec0], di
je 0x419bf7
push ebx
lea eax, [ebp - 0x50]
push 0x44e620
push eax
call fcn.00401644
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
lea eax, [ebp - 0x50]
push eax
push 0x80000000
call fcn.00404e59
add esp, 0x30
test eax, eax
jne 0x419b07
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x44d7e0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x208
call fcn.00404f45
add esp, 0x18
test eax, eax
jne 0x419761
cmp word [ebp - 0x258], di
jne 0x4197af
test byte [ebp + 0x10], 1
je 0x4197a5
lea eax, [ebp - 0x4e]
push eax
lea eax, [ebp - 0x258]
push str._sfile
push eax
call fcn.00401644
lea eax, [ebp - 0x258]
push eax
call fcn.004120c3
push eax
lea eax, [ebp - 0x258]
push eax
push 1
push edi
push 0x44d7e0
push dword [ebp + 0xc]
call fcn.00405055
add esp, 0x28
jmp 0x4197af
test byte [ebp + 0x10], 2
jne 0x419c0f
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], edi
je 0x419885
lea eax, [ebp - 0x258]
push eax
push str._sDefaultIcon
push esi
call fcn.00401644
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push esi
push 0x80000000
call fcn.00404e59
add esp, 0x30
test eax, eax
jne 0x419885
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push 0x44d7e0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
call fcn.00404f45
add esp, 0x18
test eax, eax
jne 0x41984f
cmp word [0x4714e0], di
je 0x41984f
test byte [ebp + 0x10], 2
je 0x41987c
lea eax, [ebp - 0x460]
push eax
push esi
call fcn.0042e51d
test eax, eax
pop ecx
pop ecx
jne 0x41987c
push 0x44d7e0
push dword [ebp + 0xc]
call fcn.0040511c
pop ecx
pop ecx
jmp 0x41987c
test byte [ebp + 0x10], 1
je 0x41987c
lea eax, [ebp - 0x460]
push eax
call fcn.004120c3
push eax
lea eax, [ebp - 0x460]
push eax
push 1
push edi
push 0x44d7e0
push dword [ebp + 0xc]
call fcn.00405055
add esp, 0x1c
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x258]
push eax
push str._sShell_sCommand
push esi
call fcn.00401644
add esp, 0x10
test byte [ebp + 0x10], 0x10
mov eax, 0x44e5e0
jne 0x4198ae
mov eax, 0x44d7e0
push eax
lea eax, [ebp - 0x460]
push eax
push str.__s__s____1_
push ebx
call fcn.00401644
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push esi
push 0x80000000
call fcn.00404e59
add esp, 0x34
test eax, eax
jne 0x419b07
test byte [ebp + 0x10], 1
je 0x41997a
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push 0x44d7e0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
call fcn.00404f45
add esp, 0x18
test eax, eax
jne 0x41995a
cmp word [0x4714e0], di
je 0x41995a
push esi
push ebx
call fcn.0042e51d
test eax, eax
pop ecx
pop ecx
je 0x41995a
push edi
push edi
push edi
push edi
push str.AkelUndo
push dword [ebp + 0xc]
call fcn.00404f45
add esp, 0x18
test eax, eax
je 0x41995a
push dword [ebp - 4]
push esi
push dword [ebp - 8]
push edi
push str.AkelUndo
push dword [ebp + 0xc]
call fcn.00405055
add esp, 0x18
push ebx
call fcn.004120c3
push eax
push ebx
push 1
push edi
push 0x44d7e0
push dword [ebp + 0xc]
call fcn.00405055
add esp, 0x1c
jmp 0x419afe
test byte [ebp + 0x10], 2
je 0x419afe
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push str.AkelUndo
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
call fcn.00404f45
add esp, 0x18
test eax, eax
jne 0x4199d9
cmp word [0x4714e0], di
je 0x4199ca
push dword [ebp - 4]
push esi
push dword [ebp - 8]
push edi
push 0x44d7e0
push dword [ebp + 0xc]
call fcn.00405055
add esp, 0x18
push str.AkelUndo
push dword [ebp + 0xc]
call fcn.0040511c
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push 0x44d7e0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
call fcn.00404f45
add esp, 0x18
test eax, eax
jne 0x419afe
cmp word [0x4714e0], di
je 0x419a1c
push esi
push ebx
call fcn.0042e51d
test eax, eax
pop ecx
pop ecx
jne 0x419afe
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x258]
push eax
push str._sShell_s
push esi
call fcn.00401644
lea eax, [ebp + 0xc]
push eax
push 8
push edi
push esi
push 0x80000000
call fcn.00404ee4
add esp, 0x24
test eax, eax
jne 0x419afe
push str.Command
push dword [ebp + 0xc]
call fcn.00405169
pop ecx
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x258]
push eax
push str._sShell
push esi
call fcn.00401644
lea eax, [ebp + 0xc]
push eax
push 8
push edi
push esi
push 0x80000000
call fcn.00404ee4
add esp, 0x20
test eax, eax
jne 0x419afe
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
call fcn.00405169
pop ecx
pop ecx
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x419afe
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
push 8
push edi
lea eax, [ebp - 0x258]
push eax
push 0x80000000
call fcn.00404ee4
add esp, 0x14
test eax, eax
jne 0x419afe
push str.Shell
push dword [ebp + 0xc]
call fcn.00405169
pop ecx
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], edi
je 0x419bf7
lea eax, [ebp - 0x50]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts_s
push ebx
call fcn.00401644
lea eax, [ebp + 0xc]
push eax
push 3
push edi
push ebx
push 0x80000001
call fcn.00404ee4
add esp, 0x20
test eax, eax
jne 0x419bf7
test byte [ebp + 0x10], 1
je 0x419b93
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push edi
push str.Application
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
call fcn.00404f45
add esp, 0x18
test eax, eax
jne 0x419bee
cmp word [0x46bec0], di
je 0x419b8c
push dword [ebp - 4]
push ebx
push dword [ebp - 8]
push edi
push str.AkelUndo
push dword [ebp + 0xc]
call fcn.00405055
add esp, 0x18
push str.Application
jmp 0x419be4
test byte [ebp + 0x10], 2
je 0x419bee
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push edi
push str.AkelUndo
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
call fcn.00404f45
add esp, 0x18
test eax, eax
jne 0x419bee
cmp word [0x46bec0], di
je 0x419bdf
push dword [ebp - 4]
push ebx
push dword [ebp - 8]
push edi
push str.Application
push dword [ebp + 0xc]
call fcn.00405055
add esp, 0x18
push str.AkelUndo
push dword [ebp + 0xc]
call fcn.0040511c
pop ecx
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
cmp ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
je 0x419c18
cmp word [eax], di
jne 0x4196bf
jmp 0x419c18
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret