Function at 0x4dc5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x561e0f
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x660038]
xor eax, esp
mov dword [esp + 0x874], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x88c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x89c]
call fcn.004a6cb0
test al, al
jne 0x4dce06
mov byte [esp + 0x1b], al
push 0
or edi, 0xffffffff
mov eax, 0x60db88
lea esi, [esp + 0x18]
call fcn.00494ae0
mov dword [esp + 0x894], 0
mov eax, esi
lea ebp, [ebx + 8]
push eax
xor edi, edi
mov eax, ebp
call fcn.004952d0
or edi, 0xffffffff
cmp eax, edi
setne byte [esp + 0x1a]
mov dword [esp + 0x894], edi
mov ecx, esi
call fcn.00494b70
cmp byte [esp + 0x1a], 0
je 0x4dc654
mov byte [esp + 0x1b], 1
push 0
mov eax, 0x6027a0
lea esi, [esp + 0x20]
call fcn.00494ae0
mov dword [esp + 0x894], 1
push 0
or edi, 0xffffffff
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x894], 2
push 0x67a7b4
mov ecx, esi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00495940
mov byte [esp + 0x8a0], 3
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00495940
mov byte [esp + 0x8ac], 4
push ebp
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00495940
add esp, 0x24
mov byte [esp + 0x894], 6
lea ecx, [esp + 0x28]
call fcn.00494b70
mov byte [esp + 0x894], 7
lea ecx, [esp + 0x24]
call fcn.00494b70
mov byte [esp + 0x894], 8
mov ecx, esi
call fcn.00494b70
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x1c]
call fcn.00494b70
push 0
or edi, edi
mov eax, 0x6027a0
lea esi, [esp + 0x20]
call fcn.00494ae0
mov byte [esp + 0x894], 0xa
push 0
or edi, 0xffffffff
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x894], 0xb
push 0x67a7b8
mov ecx, esi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00495940
mov byte [esp + 0x8a0], 0xc
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00495940
mov byte [esp + 0x8ac], 0xd
push ebp
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00495940
add esp, 0x24
mov byte [esp + 0x894], 0xf
lea ecx, [esp + 0x28]
call fcn.00494b70
mov byte [esp + 0x894], 0x10
lea ecx, [esp + 0x24]
call fcn.00494b70
mov byte [esp + 0x894], 0x11
mov ecx, esi
call fcn.00494b70
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x1c]
call fcn.00494b70
lea ecx, [esp + 0x40]
call fcn.004949f0
mov byte [esp + 0x894], 0x13
cmp byte [esp + 0x1b], 0
je 0x4dc945
push 0
or edi, edi
mov eax, str._3.0
lea esi, [esp + 0x28]
call fcn.00494ae0
mov byte [esp + 0x894], 0x14
push 0
or edi, 0xffffffff
mov eax, 0x6027a0
lea esi, [esp + 0x20]
call fcn.00494ae0
mov byte [esp + 0x894], 0x15
push 0
or edi, edi
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x894], 0x16
push 0x67a7b8
mov ecx, esi
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00495940
mov byte [esp + 0x8a0], 0x17
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.00495940
mov byte [esp + 0x8ac], 0x18
push ebp
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00495940
mov byte [esp + 0x8b8], 0x19
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
call fcn.00495940
add esp, 0x30
mov byte [esp + 0x894], 0x1a
lea edi, [esp + 0x40]
call fcn.00494c50
mov byte [esp + 0x894], 0x19
lea ecx, [esp + 0x28]
call fcn.00494b70
mov byte [esp + 0x894], 0x18
lea ecx, [esp + 0x2c]
call fcn.00494b70
mov byte [esp + 0x894], 0x17
lea ecx, [esp + 0x38]
call fcn.00494b70
mov byte [esp + 0x894], 0x16
lea ecx, [esp + 0x34]
call fcn.00494b70
mov byte [esp + 0x894], 0x15
mov ecx, esi
call fcn.00494b70
mov byte [esp + 0x894], 0x14
lea ecx, [esp + 0x1c]
call fcn.00494b70
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x24]
call fcn.00494b70
push 0
or edi, 0xffffffff
mov eax, str._3.0
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x894], 0x1b
mov eax, esi
push eax
lea edi, [esp + 0x48]
call fcn.00494c90
mov byte [esp + 0x894], 0x13
mov ecx, esi
call fcn.00494b70
xor ebp, ebp
push ebp
or edi, 0xffffffff
mov eax, str.License
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x894], 0x1c
mov ecx, esi
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00495940
add esp, 0xc
mov byte [esp + 0x894], 0x1e
mov ecx, esi
call fcn.00494b70
push ebp
or edi, edi
mov eax, str.Evaluation_License
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x894], 0x1f
mov ecx, esi
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.00495940
add esp, 0xc
mov byte [esp + 0x894], 0x21
mov ecx, esi
call fcn.00494b70
lea edi, [ebx + 4]
mov eax, 0x67a7b8
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1a], 0
call fcn.00494c50
xor esi, esi
lea ebx, [ebx]
mov edx, dword [esi + 0x660e8c]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x54]
call fcn.00407eb0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 0x660e88]
push eax
call edi
test eax, eax
je 0x4dcada
mov edx, dword [esi + 0x660e8c]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x58]
call fcn.00407eb0
push eax
mov eax, dword [esi + 0x660e88]
push eax
call edi
test eax, eax
je 0x4dcada
cmp byte [esp + 0x1b], 0
je 0x4dca73
mov edx, dword [esi + 0x660e8c]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x4c]
call fcn.00407eb0
push eax
mov eax, dword [esi + 0x660e88]
push eax
call edi
test eax, eax
je 0x4dcaab
mov edx, dword [esi + 0x660e8c]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x50]
call fcn.00407eb0
push eax
mov eax, dword [esi + 0x660e88]
push eax
call edi
test eax, eax
je 0x4dcabf
add esi, 8
cmp esi, 0x20
jb 0x4dc9e0
jmp 0x4dcae7
mov eax, 0x67a7b8
lea edi, [ebx + 4]
call fcn.00494c50
mov byte [esp + 0x1a], 1
jmp 0x4dcae7
mov eax, 0x67a7b4
lea edi, [ebx + 4]
call fcn.00494c50
cmp byte [esp + 0x1b], 0
je 0x4dcae7
mov byte [esp + 0x1a], 1
jmp 0x4dcae7
mov eax, 0x67a7b8
lea edi, [ebx + 4]
call fcn.00494c50
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.004949f0
mov byte [esp + 0x894], 0x22
mov dword [esp + 0x14], ebp
jmp 0x4dcb14
mov ebp, dword [esp + 0x14]
cmp byte [esp + 0x1a], 0
je 0x4dcba6
push 0
or edi, 0xffffffff
mov eax, str._3.0
lea esi, [esp + 0x2c]
call fcn.00494ae0
mov byte [esp + 0x894], 0x23
mov edx, esi
push edx
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00495940
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x894], 0x24
lea eax, [ebx + 0x10]
call fcn.00407eb0
push eax
mov eax, ecx
call fcn.00407eb0
push eax
lea eax, [ebx + 4]
call fcn.00407eb0
push eax
lea ecx, [esp + 0x3c]
push str.Software_1_2_3
push ecx
call fcn.00495410
add esp, 0x14
mov byte [esp + 0x894], 0x23
lea ecx, [esp + 0x50]
call fcn.00494b70
mov byte [esp + 0x894], 0x22
mov ecx, esi
call fcn.00494b70
jmp 0x4dcbd3
lea eax, [ebx + 0x10]
call fcn.00407eb0
push eax
lea eax, [ebx + 8]
call fcn.00407eb0
push eax
lea eax, [ebx + 4]
call fcn.00407eb0
push eax
lea edx, [esp + 0x3c]
push str.Software_1_2_3
push edx
call fcn.00495410
add esp, 0x14
mov esi, dword [ebp + 0x660e8c]
lea eax, [esp + 0x30]
call fcn.00407eb0
mov ebp, dword [ebp + 0x660e88]
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 + 0x3d], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 5
jne 0x4dcc1f
lea edx, [esp + 0x20]
push edx
or esi, 1
push esi
push 0
push edi
push ebp
mov byte [ebx + 0x3d], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4dcc2f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4dcd89
mov ecx, ebx
call fcn.004dd6d0
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 0x4dcd68
inc ebp
cmp dword [esp + 0x24], 1
jne 0x4dcd34
push 0
or edi, 0xffffffff
lea eax, [esp + 0x58]
lea esi, [esp + 0x3c]
call fcn.00494ae0
mov byte [esp + 0x894], 0x25
mov ecx, esi
call fcn.00495190
mov ecx, esi
call fcn.004950d0
cmp dword [esp + 0x2c], 0
jne 0x4dccc6
mov byte [esp + 0x154], 0
or edi, 0xffffffff
lea eax, [esp + 0x154]
lea esi, [esp + 0x34]
call fcn.00496270
mov byte [esp + 0x894], 0x26
mov ecx, esi
call fcn.00496950
mov ecx, esi
call fcn.00496890
lea ecx, [ebx + 0x18]
lea eax, [esp + 0x38]
call fcn.004dd7b0
mov edi, eax
mov eax, esi
call fcn.00496360
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0x2c], 0x734
mov byte [esp + 0x894], 0x25
mov ecx, esi
call fcn.00494b70
mov byte [esp + 0x894], 0x22
lea ecx, [esp + 0x38]
call fcn.00494b70
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 0x4dcc83
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x4dcd9d
push ebx
call fcn.004dd6e0
test al, al
jne 0x4dce32
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x14], eax
cmp eax, 0x20
jb 0x4dcb10
mov byte [esp + 0x894], 0x21
lea ecx, [esp + 0x30]
call fcn.00494b70
mov byte [esp + 0x894], 0x1e
lea ecx, [esp + 0x4c]
call fcn.00494b70
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x48]
call fcn.00494b70
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x40]
call fcn.00494b70
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x3c]
call fcn.00494b70
mov dword [esp + 0x894], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.00494b70
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.0054904e
add esp, 0x884
ret 4
mov byte [esp + 0x894], 0x21
lea ecx, [esp + 0x30]
call fcn.00494b70
mov byte [esp + 0x894], 0x1e
lea ecx, [esp + 0x4c]
call fcn.00494b70
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x48]
call fcn.00494b70
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x40]
call fcn.00494b70
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x3c]
call fcn.00494b70
mov dword [esp + 0x894], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.00494b70
mov al, 1
jmp 0x4dce08