Function at 0x4b0660
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x62c
mov eax, dword [esp + 0x630]
mov ecx, dword [esp + 0x634]
push ebx
push esi
push edi
xor ebx, ebx
push edx
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0x438]
mov word [eax], bx
mov dword [ecx], ebx
mov dword [esp + 0x20], ebx
call fcn.004af0d0
add esp, 8
lea eax, [esp + 0x14]
push eax
mov ecx, edi
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4b06c1
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x62c
ret 0xc
push ebp
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x230]
push eax
mov eax, dword [esp + 0x20]
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
mov ebp, 0x208
push eax
mov dword [esp + 0x30], esi
mov word [esp + 0x24c], bx
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
mov edi, 1
jne 0x4b08d7
lea esp, [esp]
cmp word [esp + 0x24], bx
je 0x4b0722
cmp dword [esp + 0x10], ebx
je 0x4b0722
add dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x230]
push edx
mov edx, dword [esp + 0x20]
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
push edx
mov dword [esp + 0x30], esi
mov word [esp + 0x24c], bx
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add edi, 1
cmp eax, ebx
je 0x4b0710
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x4b08d7
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
cmp byte [ecx + 1], bl
jne 0x4b077c
call fcn.004af060
call fcn.0069d16b
cdq
idiv edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
mov word [esp + 0x22c], bx
xor ebp, ebp
jmp 0x4b07a0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x230]
push ecx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x4b0820
mov edi, dword [esp + 0x648]
mov ecx, dword [edi]
xor esi, esi
cmp ecx, ebx
je 0x4b0887
lea eax, [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b080a
cmp dx, bx
je 0x4b0806
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b080a
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4b07e4
xor eax, eax
jmp 0x4b080f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4b0820
mov ecx, dword [edi + esi*4 + 4]
add esi, 1
cmp ecx, ebx
jne 0x4b07e0
jmp 0x4b0887
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
cmp byte [ecx + 1], bl
jne 0x4b086b
push ebx
call fcn.0069c84d
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
xor esi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
shl eax, 0x12
xor esi, eax
push esi
call fcn.0069d15e
mov edx, dword fs:[0x2c]
mov eax, dword [edx]
add esp, 4
mov byte [eax + 1], 1
call fcn.0069d16b
cdq
idiv dword [esp + 0x1c]
add ebp, 1
cmp ebp, 5
jb 0x4b07a0
cmp dword [esp + 0x20], ebx
jne 0x4b08d7
cmp word [esp + 0x24], bx
je 0x4b08d7
cmp dword [esp + 0x10], ebx
je 0x4b08d7
mov esi, dword [esp + 0x640]
lea edx, [esp + 0x24]
call fcn.004011d0
lea ecx, [esp + 0x22c]
push ecx
call fcn.0069c8f5
mov edx, dword [esp + 0x648]
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x62c
ret 0xc
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x62c
ret 0xc