Function at 0x4e19d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x56830f
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x874], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x88c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x89c]
call fcn.004ab890
test al, al
jne 0x4e2226
mov byte [esp + 0x1b], al
push 0
or edi, 0xffffffff
mov eax, 0x613f90
lea esi, [esp + 0x18]
call fcn.004993c0
mov dword [esp + 0x894], 0
mov eax, esi
lea ebp, [ebx + 8]
push eax
xor edi, edi
mov eax, ebp
call fcn.00499bd0
or edi, 0xffffffff
cmp eax, edi
setne byte [esp + 0x1a]
mov dword [esp + 0x894], edi
mov ecx, esi
call fcn.00499450
cmp byte [esp + 0x1a], 0
je 0x4e1a74
mov byte [esp + 0x1b], 1
push 0
mov eax, 0x608a6c
lea esi, [esp + 0x20]
call fcn.004993c0
mov dword [esp + 0x894], 1
push 0
or edi, 0xffffffff
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.004993c0
mov byte [esp + 0x894], 2
push 0x6831f4
mov ecx, esi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0049a280
mov byte [esp + 0x8a0], 3
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0049a280
mov byte [esp + 0x8ac], 4
push ebp
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0049a280
add esp, 0x24
mov byte [esp + 0x894], 6
lea ecx, [esp + 0x28]
call fcn.00499450
mov byte [esp + 0x894], 7
lea ecx, [esp + 0x24]
call fcn.00499450
mov byte [esp + 0x894], 8
mov ecx, esi
call fcn.00499450
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x1c]
call fcn.00499450
push 0
or edi, edi
mov eax, 0x608a6c
lea esi, [esp + 0x20]
call fcn.004993c0
mov byte [esp + 0x894], 0xa
push 0
or edi, 0xffffffff
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.004993c0
mov byte [esp + 0x894], 0xb
push 0x6831f8
mov ecx, esi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0049a280
mov byte [esp + 0x8a0], 0xc
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0049a280
mov byte [esp + 0x8ac], 0xd
push ebp
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0049a280
add esp, 0x24
mov byte [esp + 0x894], 0xf
lea ecx, [esp + 0x28]
call fcn.00499450
mov byte [esp + 0x894], 0x10
lea ecx, [esp + 0x24]
call fcn.00499450
mov byte [esp + 0x894], 0x11
mov ecx, esi
call fcn.00499450
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x1c]
call fcn.00499450
lea ecx, [esp + 0x40]
call fcn.004992d0
mov byte [esp + 0x894], 0x13
cmp byte [esp + 0x1b], 0
je 0x4e1d65
push 0
or edi, edi
mov eax, str._3.0
lea esi, [esp + 0x28]
call fcn.004993c0
mov byte [esp + 0x894], 0x14
push 0
or edi, 0xffffffff
mov eax, 0x608a6c
lea esi, [esp + 0x20]
call fcn.004993c0
mov byte [esp + 0x894], 0x15
push 0
or edi, edi
mov eax, str.SOFTWARE_
lea esi, [esp + 0x18]
call fcn.004993c0
mov byte [esp + 0x894], 0x16
push 0x6831f8
mov ecx, esi
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0049a280
mov byte [esp + 0x8a0], 0x17
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.0049a280
mov byte [esp + 0x8ac], 0x18
push ebp
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0049a280
mov byte [esp + 0x8b8], 0x19
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
call fcn.0049a280
add esp, 0x30
mov byte [esp + 0x894], 0x1a
lea edi, [esp + 0x40]
call fcn.00499530
mov byte [esp + 0x894], 0x19
lea ecx, [esp + 0x28]
call fcn.00499450
mov byte [esp + 0x894], 0x18
lea ecx, [esp + 0x2c]
call fcn.00499450
mov byte [esp + 0x894], 0x17
lea ecx, [esp + 0x38]
call fcn.00499450
mov byte [esp + 0x894], 0x16
lea ecx, [esp + 0x34]
call fcn.00499450
mov byte [esp + 0x894], 0x15
mov ecx, esi
call fcn.00499450
mov byte [esp + 0x894], 0x14
lea ecx, [esp + 0x1c]
call fcn.00499450
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x24]
call fcn.00499450
push 0
or edi, 0xffffffff
mov eax, str._3.0
lea esi, [esp + 0x18]
call fcn.004993c0
mov byte [esp + 0x894], 0x1b
mov eax, esi
push eax
lea edi, [esp + 0x48]
call fcn.00499570
mov byte [esp + 0x894], 0x13
mov ecx, esi
call fcn.00499450
xor ebp, ebp
push ebp
or edi, 0xffffffff
mov eax, str.License
lea esi, [esp + 0x18]
call fcn.004993c0
mov byte [esp + 0x894], 0x1c
mov ecx, esi
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0049a280
add esp, 0xc
mov byte [esp + 0x894], 0x1e
mov ecx, esi
call fcn.00499450
push ebp
or edi, edi
mov eax, str.Evaluation_License
lea esi, [esp + 0x18]
call fcn.004993c0
mov byte [esp + 0x894], 0x1f
mov ecx, esi
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0049a280
add esp, 0xc
mov byte [esp + 0x894], 0x21
mov ecx, esi
call fcn.00499450
lea edi, [ebx + 4]
mov eax, 0x6831f8
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1a], 0
call fcn.00499530
xor esi, esi
lea ebx, [ebx]
mov edx, dword [esi + 0x668e94]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x54]
call fcn.00408130
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 0x668e90]
push eax
call edi
test eax, eax
je 0x4e1efa
mov edx, dword [esi + 0x668e94]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x58]
call fcn.00408130
push eax
mov eax, dword [esi + 0x668e90]
push eax
call edi
test eax, eax
je 0x4e1efa
cmp byte [esp + 0x1b], 0
je 0x4e1e93
mov edx, dword [esi + 0x668e94]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x4c]
call fcn.00408130
push eax
mov eax, dword [esi + 0x668e90]
push eax
call edi
test eax, eax
je 0x4e1ecb
mov edx, dword [esi + 0x668e94]
lea ecx, [esp + 0x20]
push ecx
or edx, 0x20019
push edx
push ebp
lea eax, [esp + 0x50]
call fcn.00408130
push eax
mov eax, dword [esi + 0x668e90]
push eax
call edi
test eax, eax
je 0x4e1edf
add esi, 8
cmp esi, 0x20
jb 0x4e1e00
jmp 0x4e1f07
mov eax, 0x6831f8
lea edi, [ebx + 4]
call fcn.00499530
mov byte [esp + 0x1a], 1
jmp 0x4e1f07
mov eax, 0x6831f4
lea edi, [ebx + 4]
call fcn.00499530
cmp byte [esp + 0x1b], 0
je 0x4e1f07
mov byte [esp + 0x1a], 1
jmp 0x4e1f07
mov eax, 0x6831f8
lea edi, [ebx + 4]
call fcn.00499530
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.004992d0
mov byte [esp + 0x894], 0x22
mov dword [esp + 0x14], ebp
jmp 0x4e1f34
mov ebp, dword [esp + 0x14]
cmp byte [esp + 0x1a], 0
je 0x4e1fc6
push 0
or edi, 0xffffffff
mov eax, str._3.0
lea esi, [esp + 0x2c]
call fcn.004993c0
mov byte [esp + 0x894], 0x23
mov edx, esi
push edx
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0049a280
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x894], 0x24
lea eax, [ebx + 0x10]
call fcn.00408130
push eax
mov eax, ecx
call fcn.00408130
push eax
lea eax, [ebx + 4]
call fcn.00408130
push eax
lea ecx, [esp + 0x3c]
push str.Software_1_2_3
push ecx
call fcn.00499d40
add esp, 0x14
mov byte [esp + 0x894], 0x23
lea ecx, [esp + 0x50]
call fcn.00499450
mov byte [esp + 0x894], 0x22
mov ecx, esi
call fcn.00499450
jmp 0x4e1ff3
lea eax, [ebx + 0x10]
call fcn.00408130
push eax
lea eax, [ebx + 8]
call fcn.00408130
push eax
lea eax, [ebx + 4]
call fcn.00408130
push eax
lea edx, [esp + 0x3c]
push str.Software_1_2_3
push edx
call fcn.00499d40
add esp, 0x14
mov esi, dword [ebp + 0x668e94]
lea eax, [esp + 0x30]
call fcn.00408130
mov ebp, dword [ebp + 0x668e90]
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 0x4e203f
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 0x4e204f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4e21a9
mov ecx, ebx
call fcn.004e2af0
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 0x4e2188
inc ebp
cmp dword [esp + 0x24], 1
jne 0x4e2154
push 0
or edi, 0xffffffff
lea eax, [esp + 0x58]
lea esi, [esp + 0x3c]
call fcn.004993c0
mov byte [esp + 0x894], 0x25
mov ecx, esi
call fcn.00499a90
mov ecx, esi
call fcn.004999d0
cmp dword [esp + 0x2c], 0
jne 0x4e20e6
mov byte [esp + 0x154], 0
or edi, 0xffffffff
lea eax, [esp + 0x154]
lea esi, [esp + 0x34]
call fcn.0049abc0
mov byte [esp + 0x894], 0x26
mov ecx, esi
call fcn.0049b2a0
mov ecx, esi
call fcn.0049b1e0
lea ecx, [ebx + 0x18]
lea eax, [esp + 0x38]
call fcn.004e2bd0
mov edi, eax
mov eax, esi
call fcn.0049acb0
mov dword [esp + 0x1c], pe_nt_image_headers32
mov dword [esp + 0x2c], 0x734
mov byte [esp + 0x894], 0x25
mov ecx, esi
call fcn.00499450
mov byte [esp + 0x894], 0x22
lea ecx, [esp + 0x38]
call fcn.00499450
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 0x4e20a3
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x4e21bd
push ebx
call fcn.004e2b00
test al, al
jne 0x4e2252
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x14], eax
cmp eax, 0x20
jb 0x4e1f30
mov byte [esp + 0x894], 0x21
lea ecx, [esp + 0x30]
call fcn.00499450
mov byte [esp + 0x894], 0x1e
lea ecx, [esp + 0x4c]
call fcn.00499450
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x48]
call fcn.00499450
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x40]
call fcn.00499450
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x3c]
call fcn.00499450
mov dword [esp + 0x894], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.00499450
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.0054eee2
add esp, 0x884
ret 4
mov byte [esp + 0x894], 0x21
lea ecx, [esp + 0x30]
call fcn.00499450
mov byte [esp + 0x894], 0x1e
lea ecx, [esp + 0x4c]
call fcn.00499450
mov byte [esp + 0x894], 0x13
lea ecx, [esp + 0x48]
call fcn.00499450
mov byte [esp + 0x894], 0x12
lea ecx, [esp + 0x40]
call fcn.00499450
mov byte [esp + 0x894], 9
lea ecx, [esp + 0x3c]
call fcn.00499450
mov dword [esp + 0x894], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.00499450
mov al, 1
jmp 0x4e2228