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

Disassembly:
push 0xffffffffffffffff
push 0x56a2d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov eax, dword [0x5d2d10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 2
push ecx
push 0xf003f
push ebx
push str.SoftwareClassesCLSID_OBJID.Pro7
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x46e2d0
lea edx, [esp + 0x30]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
push ebx
push edx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x48], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46e2c9
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
push eax
call fcn.00530d18
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x46e2c9
xor esi, esi
cmp ecx, ebx
jle 0x46e270
mov al, byte [esi + eax]
lea ecx, [esp + 0x28]
dec al
push eax
push esi
call fcn.005310d5
mov eax, dword [esp + 0x28]
inc esi
cmp esi, dword [eax - 8]
jl 0x46e256
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
push edx
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
push edx
push ecx
push str._lx__x__x__lx__x
push eax
call fcn.00515758
add esp, 0x1c
cmp eax, 5
jne 0x46e2b5
cmp dword [esp + 0x14], ebx
je 0x46e2b9
cmp dword [esp + 0x10], ebx
je 0x46e2b9
mov ecx, edi
call fcn.0046e170
test eax, eax
jne 0x46e2c9
jmp 0x46e2b9
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x1c]
push edx
call ebp
cmp dword [esp + 0x14], ebx
jl 0x46e320
mov eax, dword [esp + 0x70]
push 0x5c6d14
push eax
call fcn.00514e99
add esp, 8
test eax, eax
je 0x46e318
cmp dword [esp + 0x14], ebx
jne 0x46e2ff
lea ecx, [esp + 0x20]
push ecx
call fcn.00515905
add esp, 4
mov edx, dword [esp + 0x70]
push edx
call fcn.0051564e
mov ecx, dword [esp + 0x18]
add esp, 4
add ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x46e320
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x10], ebx
jl 0x46e370
mov eax, dword [esp + 0x74]
push 0x5c6d14
push eax
call fcn.00514e99
add esp, 8
test eax, eax
je 0x46e368
cmp dword [esp + 0x10], ebx
jne 0x46e34f
lea ecx, [esp + 0x18]
push ecx
call fcn.00515905
add esp, 4
mov edx, dword [esp + 0x74]
push edx
call fcn.0051564e
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x46e370
mov dword [esp + 0x10], 0xffffffff
cmp dword [esp + 0x18], ebx
jne 0x46e383
lea eax, [esp + 0x18]
push eax
call fcn.00515905
add esp, 4
mov ecx, dword [0x5d2d10]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push str._lx__x__x__lx__x
push ecx
mov byte [esp + 0x84], 3
call fcn.00528823
add esp, 0x1c
lea edx, [esp + 0x1c]
xor edi, edi
push ebx
push edx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareClassesCLSID_OBJID.Pro7
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x46e42f
mov eax, dword [esp + 0x24]
xor esi, esi
cmp dword [eax - 8], ebx
jle 0x46e40a
mov al, byte [esi + eax]
lea ecx, [esp + 0x24]
inc al
push eax
push esi
call fcn.005310d5
mov eax, dword [esp + 0x24]
inc esi
cmp esi, dword [eax - 8]
jl 0x46e3f0
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x24]
push 1
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x46e428
mov edi, 1
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 2
call fcn.00530b8f
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 1
call fcn.00530b8f
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], bl
call fcn.00530b8f
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x60]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 8