Function at 0x4b86e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x600eff
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x72d630]
xor eax, esp
mov dword [esp + 0x874], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x88c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x89c]
call fcn.00480050
test al, al
jne 0x4b8f36
mov byte [esp + 0x1b], al
push 0
or edi, 0xffffffff
mov eax, 0x6cca24
lea esi, [esp + 0x18]
call fcn.004728e0
mov dword [esp + 0x894], 0
mov eax, esi
lea ebp, [ebx + 8]
push eax
xor edi, edi
mov eax, ebp
call fcn.004730f0
or edi, 0xffffffff
cmp eax, edi
setne byte [esp + 0x1a]
mov dword [esp + 0x894], edi
mov ecx, esi
call fcn.004740c0
cmp byte [esp + 0x1a], 0
je 0x4b8784
mov byte [esp + 0x1b], 1
push 0
mov eax, str.__POIUYTREWQ_
lea esi, [esp + 0x20]
call fcn.004728e0
mov dword [esp + 0x894], 1
push 0
or edi, 0xffffffff
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.004728e0
mov byte [esp + 0x894], 2
push 0x744498
mov ecx, esi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004737a0
mov byte [esp + 0x8a0], 3
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004737a0
mov byte [esp + 0x8ac], 4
push ebp
push eax
lea eax, [esp + 0x64]
push eax
call fcn.004737a0
add esp, 0x24
mov byte [esp + 0x894], 6
lea ecx, [esp + 0x28]
call fcn.004740c0
mov byte [esp + 0x894], 7
lea ecx, [esp + 0x24]
call fcn.004740c0
mov byte [esp + 0x894], 8
mov ecx, esi
call fcn.004740c0
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x1c]
call fcn.004740c0
push 0
or edi, edi
mov eax, str.__POIUYTREWQ_
lea esi, [esp + 0x20]
call fcn.004728e0
mov byte [esp + 0x894], 0xa
push 0
or edi, 0xffffffff
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.004728e0
mov byte [esp + 0x894], 0xb
push 0x74449c
mov ecx, esi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004737a0
mov byte [esp + 0x8a0], 0xc
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004737a0
mov byte [esp + 0x8ac], 0xd
push ebp
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004737a0
add esp, 0x24
mov byte [esp + 0x894], 0xf
lea ecx, [esp + 0x28]
call fcn.004740c0
mov byte [esp + 0x894], 0x10
lea ecx, [esp + 0x24]
call fcn.004740c0
mov byte [esp + 0x894], 0x11
mov ecx, esi
call fcn.004740c0
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x1c]
call fcn.004740c0
lea ecx, [esp + 0x40]
call fcn.00472830
mov byte [esp + 0x894], 0x13
cmp byte [esp + 0x1b], 0
je 0x4b8a75
push 0
or edi, edi
mov eax, str._3.0
lea esi, [esp + 0x28]
call fcn.004728e0
mov byte [esp + 0x894], 0x14
push 0
or edi, 0xffffffff
mov eax, str.__POIUYTREWQ_
lea esi, [esp + 0x20]
call fcn.004728e0
mov byte [esp + 0x894], 0x15
push 0
or edi, edi
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.004728e0
mov byte [esp + 0x894], 0x16
push 0x74449c
mov ecx, esi
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.004737a0
mov byte [esp + 0x8a0], 0x17
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.004737a0
mov byte [esp + 0x8ac], 0x18
push ebp
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004737a0
mov byte [esp + 0x8b8], 0x19
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
call fcn.004737a0
add esp, 0x30
mov byte [esp + 0x894], 0x1a
lea edi, [esp + 0x40]
call fcn.00472a50
mov byte [esp + 0x894], 0x19
lea ecx, [esp + 0x28]
call fcn.004740c0
mov byte [esp + 0x894], 0x18
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov byte [esp + 0x894], 0x17
lea ecx, [esp + 0x38]
call fcn.004740c0
mov byte [esp + 0x894], 0x16
lea ecx, [esp + 0x34]
call fcn.004740c0
mov byte [esp + 0x894], 0x15
mov ecx, esi
call fcn.004740c0
mov byte [esp + 0x894], 0x14
lea ecx, [esp + 0x1c]
call fcn.004740c0
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x24]
call fcn.004740c0
push 0
or edi, 0xffffffff
mov eax, str._3.0
lea esi, [esp + 0x18]
call fcn.004728e0
mov byte [esp + 0x894], 0x1b
mov eax, esi
push eax
lea edi, [esp + 0x48]
call fcn.00472a90
mov byte [esp + 0x894], 0x13
mov ecx, esi
call fcn.004740c0
xor ebp, ebp
push ebp
or edi, 0xffffffff
mov eax, str.License
lea esi, [esp + 0x18]
call fcn.004728e0
mov byte [esp + 0x894], 0x1c
mov ecx, esi
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.004737a0
add esp, 0xc
mov byte [esp + 0x894], 0x1e
mov ecx, esi
call fcn.004740c0
push ebp
or edi, edi
mov eax, str.Evaluation_License
lea esi, [esp + 0x18]
call fcn.004728e0
mov byte [esp + 0x894], 0x1f
mov ecx, esi
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004737a0
add esp, 0xc
mov byte [esp + 0x894], 0x21
mov ecx, esi
call fcn.004740c0
lea edi, [ebx + 4]
mov eax, 0x74449c
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1a], 0
call fcn.00472a50
xor esi, esi
lea ebx, [ebx]
mov edx, dword [esi + 0x72de30]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x54]
call fcn.004221b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 0x72de2c]
push eax
call edi
test eax, eax
je 0x4b8c0a
mov edx, dword [esi + 0x72de30]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x58]
call fcn.004221b0
push eax
mov eax, dword [esi + 0x72de2c]
push eax
call edi
test eax, eax
je 0x4b8c0a
cmp byte [esp + 0x1b], 0
je 0x4b8ba3
mov edx, dword [esi + 0x72de30]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x4c]
call fcn.004221b0
push eax
mov eax, dword [esi + 0x72de2c]
push eax
call edi
test eax, eax
je 0x4b8bdb
mov edx, dword [esi + 0x72de30]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x50]
call fcn.004221b0
push eax
mov eax, dword [esi + 0x72de2c]
push eax
call edi
test eax, eax
je 0x4b8bef
add esi, 8
cmp esi, 0x20
jb 0x4b8b10
jmp 0x4b8c17
mov eax, 0x74449c
lea edi, [ebx + 4]
call fcn.00472a50
mov byte [esp + 0x1a], 1
jmp 0x4b8c17
mov eax, 0x744498
lea edi, [ebx + 4]
call fcn.00472a50
cmp byte [esp + 0x1b], 0
je 0x4b8c17
mov byte [esp + 0x1a], 1
jmp 0x4b8c17
mov eax, 0x74449c
lea edi, [ebx + 4]
call fcn.00472a50
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], ebp
call fcn.00472830
mov byte [esp + 0x894], 0x22
mov dword [esp + 0x14], ebp
jmp 0x4b8c44
mov ebp, dword [esp + 0x14]
cmp byte [esp + 0x1a], 0
je 0x4b8cd6
push 0
or edi, 0xffffffff
mov eax, str._3.0
lea esi, [esp + 0x2c]
call fcn.004728e0
mov byte [esp + 0x894], 0x23
mov edx, esi
push edx
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004737a0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x894], 0x24
lea eax, [ebx + 0x10]
call fcn.004221b0
push eax
mov eax, ecx
call fcn.004221b0
push eax
lea eax, [ebx + 4]
call fcn.004221b0
push eax
lea ecx, [esp + 0x3c]
push str.Software_1_2_3
push ecx
call fcn.00473260
add esp, 0x14
mov byte [esp + 0x894], 0x23
lea ecx, [esp + 0x50]
call fcn.004740c0
mov byte [esp + 0x894], 0x22
mov ecx, esi
call fcn.004740c0
jmp 0x4b8d03
lea eax, [ebx + 0x10]
call fcn.004221b0
push eax
lea eax, [ebx + 8]
call fcn.004221b0
push eax
lea eax, [ebx + 4]
call fcn.004221b0
push eax
lea edx, [esp + 0x3c]
push str.Software_1_2_3
push edx
call fcn.00473260
add esp, 0x14
mov esi, dword [ebp + 0x72de30]
lea eax, [esp + 0x30]
call fcn.004221b0
mov ebp, dword [ebp + 0x72de2c]
mov edi, eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
or ecx, 3
push ecx
push 0
push edi
push ebp
mov byte [ebx + 0x40], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 5
jne 0x4b8d4f
lea edx, [esp + 0x20]
push edx
or esi, 1
push esi
push 0
push edi
push ebp
mov byte [ebx + 0x40], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4b8d5f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4b8eb9
mov ecx, ebx
call fcn.004b9770
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
xor ebp, ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
push ecx
push ebp
push edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x3c], 0x80
mov dword [esp + 0x4c], 0x734
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
jne 0x4b8e98
inc ebp
cmp dword [esp + 0x24], 1
jne 0x4b8e64
push 0
or edi, 0xffffffff
lea eax, [esp + 0x58]
lea esi, [esp + 0x3c]
call fcn.004728e0
mov byte [esp + 0x894], 0x25
mov ecx, esi
call fcn.00472fb0
mov ecx, esi
call fcn.00472ef0
cmp dword [esp + 0x2c], 0
jne 0x4b8df6
mov byte [esp + 0x154], 0
or edi, 0xffffffff
lea eax, [esp + 0x154]
lea esi, [esp + 0x34]
call fcn.004740a0
mov byte [esp + 0x894], 0x26
mov ecx, esi
call fcn.00474750
mov ecx, esi
call fcn.00474690
lea ecx, [ebx + 0x18]
lea eax, [esp + 0x38]
call fcn.004b9850
mov edi, eax
mov eax, esi
call fcn.004741b0
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0x2c], 0x734
mov byte [esp + 0x894], 0x25
mov ecx, esi
call fcn.004740c0
mov byte [esp + 0x894], 0x22
lea ecx, [esp + 0x38]
call fcn.004740c0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
je 0x4b8db3
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x4b8ecd
push ebx
call fcn.004b9780
test al, al
jne 0x4b8f62
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x14], eax
cmp eax, 0x20
jb 0x4b8c40
mov byte [esp + 0x894], 0x21
lea ecx, [esp + 0x30]
call fcn.004740c0
mov byte [esp + 0x894], 0x1e
lea ecx, [esp + 0x4c]
call fcn.004740c0
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x48]
call fcn.004740c0
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x40]
call fcn.004740c0
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x3c]
call fcn.004740c0
mov dword [esp + 0x894], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.004740c0
xor al, al
mov ecx, dword [esp + 0x88c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x874]
xor ecx, esp
call fcn.005e038a
add esp, 0x884
ret 4
mov byte [esp + 0x894], 0x21
lea ecx, [esp + 0x30]
call fcn.004740c0
mov byte [esp + 0x894], 0x1e
lea ecx, [esp + 0x4c]
call fcn.004740c0
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x48]
call fcn.004740c0
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x40]
call fcn.004740c0
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x3c]
call fcn.004740c0
mov dword [esp + 0x894], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.004740c0
mov al, 1
jmp 0x4b8f38