Function at 0x460a10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x728
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x724], eax
mov ecx, dword [esp + 0x734]
mov eax, dword [esp + 0x72c]
mov edx, dword [esp + 0x738]
push ebx
xor ebx, ebx
cmp byte [eax], 0x2e
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x740]
push esi
mov esi, dword [esp + 0x738]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
je 0x460a7d
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x724]
xor ecx, esp
call fcn.0055953b
add esp, 0x728
ret
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x460a64
push ebp
push edi
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x587fe5
mov ebp, edi
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x460b15
cmp dword [esp + 0x28], 4
jbe 0x460b15
lea edx, [esp + 0x134]
push esi
push edx
call fcn.00566c26
add esp, 8
test eax, eax
je 0x460b15
push str.Backup
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00460740
add esp, 0xc
cmp esi, ebx
je 0x460b2e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x460b62
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x460b40
sub eax, edx
je 0x460b62
mov edx, dword [esp + 0x20]
push str.Content_Type
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00460740
add esp, 0xc
cmp edi, ebx
je 0x460b73
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov di, word [esp + 0x750]
cmp di, bx
mov dword [esp + 0x14], ebx
jl 0x460c0f
push esi
push str._sDefaultIcon
lea ecx, [esp + 0x33c]
push 0x400
push ecx
call fcn.0055d12d
add esp, 0x10
push ebx
push ebx
push 0x2001f
push ebx
push ebx
lea edx, [esp + 0x348]
push edx
push SysReAllocString
lea ecx, [esp + 0x2c]
call fcn.00401240
test eax, eax
jne 0x460d14
movsx eax, di
mov edi, dword [esp + 0x18]
push eax
push edi
push str._s__d
lea ecx, [esp + 0x340]
push 0x400
push ecx
call fcn.0055d12d
push ebx
lea edx, [esp + 0x34c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00460740
add esp, 0x20
lea ecx, [esp + 0x10]
call fcn.00401210
mov ebp, dword [esp + 0x10]
jmp 0x460c13
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push esi
push SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x460c57
xor eax, eax
cmp ebp, ebx
je 0x460c47
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x460c69
cmp ebp, ebx
je 0x460c62
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x460d3b
mov eax, dword [esp + 0x2c]
push ebx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00460740
add esp, 0xc
cmp edi, ebx
je 0x460d21
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x460c90
sub eax, edx
je 0x460d21
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push str.shellopencommand
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401240
test eax, eax
jne 0x460d0b
push 0x103
lea edx, [esp + 0x35]
push ebx
push edx
mov byte [esp + 0x3c], bl
call fcn.00559e10
push 0x590888
push edi
lea eax, [esp + 0x44]
push str.__s____s_
push eax
call fcn.0055d0b0
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00460740
add esp, 0x28
lea ecx, [esp + 0x10]
call fcn.00401210
lea ecx, [esp + 0x10]
call fcn.00402260
jmp 0x460d39
lea ecx, [esp + 0x10]
call fcn.00401210
lea ecx, [esp + 0x10]
call fcn.00402260
xor al, al
jmp 0x460d3b
lea ecx, [esp + 0x10]
call fcn.00401210
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x460d39
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x734]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0055953b
add esp, 0x728
ret