Function at 0x458880
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d3506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x754
push ebx
push esi
push edi
xor ebx, ebx
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, eax
mov dword [esp + 0x1c], edi
mov eax, dword [0x4f6040]
mov dword [esp + 0x768], ebx
cmp eax, ebx
je 0x4588f6
mov eax, dword [0x4f6038]
xor esi, esi
cmp eax, ebx
jle 0x4588f6
push esi
mov ecx, 0x4f6030
call fcn.0049c140
cmp eax, ebx
je 0x4588ec
push 1
mov ecx, eax
call fcn.00458e90
mov eax, dword [0x4f6038]
inc esi
cmp esi, eax
jl 0x4588d4
mov eax, dword [0x4f6034]
push eax
call fcn.004bd4c4
push 0x80
call fcn.004bd49b
add esp, 8
mov ecx, 0x4f6030
mov dword [0x4f6034], eax
mov dword [0x4f6038], ebx
mov dword [0x4f603c], 0x1f
mov dword [0x4f6044], 0x40
mov dword [0x4f6040], 1
call fcn.00455940
mov ecx, 0x4f6030
call fcn.00455df0
push 0x4f01ec
lea ecx, [esp + 0x24]
call fcn.00454e90
lea ecx, [esp + 0x20]
mov byte [esp + 0x768], 1
push ecx
mov ecx, 0x4f6030
call fcn.00458dd0
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x768], 0
call fcn.00455de0
cmp esi, ebx
je 0x45899d
push esi
mov ecx, 0x4f6030
call fcn.00458f30
push eax
mov ecx, 0x4f6030
call fcn.00458ec0
mov ecx, dword [0x4f6038]
xor eax, eax
cmp ecx, ebx
jle 0x4589cc
cmp eax, ecx
jge 0x4589bc
cmp eax, ebx
jl 0x4589bc
mov edx, dword [0x4f6034]
mov ecx, dword [edx + eax*4]
jmp 0x4589be
xor ecx, ecx
mov dword [ecx + 0x14], ebx
mov ecx, dword [0x4f6038]
inc eax
cmp eax, ecx
jl 0x4589ad
xor esi, esi
cmp ecx, ebx
jle 0x4589f6
cmp esi, ecx
jge 0x4589e4
cmp esi, ebx
jl 0x4589e4
mov eax, dword [0x4f6034]
mov ecx, dword [eax + esi*4]
jmp 0x4589e6
xor ecx, ecx
call fcn.00454ed0
mov ecx, dword [0x4f6038]
inc esi
cmp esi, ecx
jl 0x4589d6
lea ecx, [esp + 0x90]
push 0x105
push ecx
xor esi, esi
push ebx
push 0x80000000
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x458d1d
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
cmp byte [esp + 0x94], 0x2e
jne 0x458bb9
mov dl, byte [0x4f55a8]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x345]
mov byte [esp + 0x344], dl
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x344]
push eax
push ecx
mov edi, 0x105
push edx
push 0x80000000
mov dword [esp + 0x28], edi
call ebp
mov al, byte [esp + 0x344]
test al, al
je 0x458cf0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x344]
push eax
push ecx
push 0x80000000
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x458cf0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x554]
push edx
push ecx
push str.shellopencommand
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x458ba9
lea edx, [esp + 0x554]
push edx
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [esp + 0x554]
push str.acdsee.exe
push eax
call fcn.004a8fec
add esp, 8
test eax, eax
je 0x458ba9
lea ecx, [esp + 0x94]
lea edx, [esp + 0x44c]
push ecx
push str._sUndoClass
push edx
call ebx
mov al, byte [0x4f55a8]
mov ecx, 0x41
mov byte [esp + 0x248], al
xor eax, eax
lea edi, [esp + 0x249]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x23c]
push ecx
lea eax, [esp + 0x450]
push edx
push eax
push 0x80000000
mov dword [esp + 0x28], 0x105
call ebp
test eax, eax
jne 0x458b72
lea ecx, [esp + 0x44c]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov al, byte [esp + 0x23c]
test al, al
je 0x458ba9
lea edx, [esp + 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0x9c]
push 1
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x458cf0
push 5
lea eax, [esp + 0x98]
push str.ACDSee.
push eax
call fcn.004a9930
add esp, 0xc
test eax, eax
jne 0x458bef
lea ecx, [esp + 0x94]
push ecx
push 0x80000000
call fcn.00470870
add esp, 8
dec esi
jmp 0x458cf0
lea edx, [esp + 0x94]
lea eax, [esp + 0x19c]
push edx
push str._s_shell
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x19c]
mov dword [esp + 0x14], 0
push ecx
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x458cf0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x44]
xor esi, esi
push 0x50
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x458ce1
lea edx, [esp + 0x44]
lea eax, [esp + 0x1ec]
push edx
push str._scommand
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x65c]
lea eax, [esp + 0x1ec]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
mov dword [esp + 0x2c], 0x105
call ebp
test eax, eax
jne 0x458cc9
lea edx, [esp + 0x65c]
push edx
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [esp + 0x65c]
push str.acdsee.exe
push eax
call fcn.004a8fec
add esp, 8
test eax, eax
je 0x458cc9
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.00470870
add esp, 8
dec esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x44]
inc esi
push 0x50
push eax
push esi
push ecx
call edi
test eax, eax
je 0x458c50
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x94]
inc esi
push 0x105
push eax
push esi
push 0x80000000
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x458a2a
mov edi, dword [esp + 0x20]
xor ebx, ebx
pop ebp
cmp edi, ebx
je 0x458d25
mov eax, edi
jmp 0x458d31
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0x760]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x760
ret