Function at 0x4f3ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5cc9b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x210], 0
push 0x100
push 0
mov dword [ebp - 0x1bc], 0x11c
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
call fcn.00518890
add esp, 0xc
mov dword [ebp - 0xa4], 0x10000
xor eax, eax
mov dword [ebp - 0xa8], eax
push 1
push 0x80
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 0x80
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
mov byte [ebp - 0x204], 0
sete al
xor ebx, ebx
mov byte [edi + 0x44], al
lea eax, [ebp - 0x200]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4f416b
mov esi, dword [ebp - 0x200]
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x1f4], 4
push eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.CurrentMajorVersionNumber
push esi
call ebx
test eax, eax
jne 0x4f4160
cmp dword [ebp - 0x1f8], 4
jne 0x4f4160
mov eax, dword [ebp - 0x1fc]
mov dword [edi + 0x38], eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x1fc], 4
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push str.CurrentMinorVersionNumber
push dword [ebp - 0x200]
call ebx
test eax, eax
jne 0x4f4160
cmp dword [ebp - 0x1f8], 4
jne 0x4f4160
mov eax, dword [ebp - 0x1f4]
mov dword [edi + 0x3c], eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1f4], 0xa
push eax
lea eax, [ebp - 0x1fc]
push eax
push 0
push str.CurrentBuildNumber
push dword [ebp - 0x200]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f4160
cmp dword [ebp - 0x1fc], 1
jne 0x4f4160
mov eax, dword [ebp - 0x1f4]
cmp eax, 0xb
jae 0x4f46b9
lea ecx, [ebp - 0x10]
mov byte [ebp + eax - 0x10], 0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f40b5
sub ecx, edx
lea eax, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041fee0
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005074c0
mov edx, dword [ebp - 0x2c]
add esp, 8
mov bl, al
cmp edx, 0x10
jb 0x4f4114
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f410a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46af
push edx
push ecx
call fcn.004b9160
add esp, 8
test bl, bl
je 0x4f4160
mov eax, dword [ebp - 0x1f8]
mov dword [edi + 0x40], eax
lea eax, [ebp - 0x208]
push eax
push 0x59db08
push dword [ebp - 0x200]
call fcn.004f4770
mov ebx, dword [ebp - 0x204]
add esp, 0xc
test al, al
movzx ebx, bl
mov eax, dword [ebp - 0x208]
mov ecx, 1
cmovne ebx, ecx
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x204], ebx
test esi, esi
je 0x4f416b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, str.kernel32.dll
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f4190
sub ecx, edx
sar ecx, 1
push ecx
push str.kernel32.dll
lea ecx, [ebp - 0x40]
call fcn.0041ffd0
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.0050b530
push eax
call fcn.00507620
add esp, 8
lea ecx, [ebp - 0x88]
mov bl, al
call fcn.00416700
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4f4213
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4f4209
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46b4
push edx
push ecx
call fcn.004b9160
add esp, 8
test bl, bl
je 0x4f469c
mov ebx, dword [ebp - 0x1d4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
test bl, 1
je 0x4f424a
push 6
push str.Debug_
lea ecx, [ebp - 0x28]
call fcn.0041fc00
test bl, 4
je 0x4f425e
push 8
push str.Patched_
lea ecx, [ebp - 0x28]
call fcn.0041fc00
test bl, 2
je 0x4f4272
push 0xb
push str.Prerelease_
lea ecx, [ebp - 0x28]
call fcn.0041fc00
test bl, 8
je 0x4f4286
push 8
push str.Private_
lea ecx, [ebp - 0x28]
call fcn.0041fc00
test bl, 0x20
je 0x4f429a
push 8
push str.Special_
lea ecx, [ebp - 0x28]
call fcn.0041fc00
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4f4309
lea ecx, [eax - 1]
mov dword [ebp - 0x70], 0
cmp eax, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
cmovb ecx, eax
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0041fee0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4f431b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f42fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46c8
push edx
push ecx
call fcn.004b9160
add esp, 8
jmp 0x4f431b
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x60], xmm0
mov eax, dword [ebp - 0x1d0]
and eax, 0x40004
mov dword [ebp - 0x44], 0xf
cmp eax, 0x40004
jne 0x4f4358
movq xmm0, qword [str.Windows_NT]
mov ax, word [0x59da10]
mov dword [ebp - 0x48], 0xa
movq qword [ebp - 0x58], xmm0
mov word [ebp - 0x50], ax
mov byte [ebp - 0x4e], 0
jmp 0x4f437d
mov eax, dword [str.Unknown]
mov dword [ebp - 0x58], eax
mov ax, word [0x55aa64]
mov word [ebp - 0x54], ax
mov al, byte [0x55aa66]
mov dword [ebp - 0x48], 7
mov byte [ebp - 0x52], al
mov byte [ebp - 0x51], 0
cmp byte [ebp - 0x204], 0
jne 0x4f43ad
mov ecx, dword [ebp - 0x1e8]
mov eax, ecx
shr eax, 0x10
mov dword [edi + 0x38], eax
movzx eax, cx
mov ecx, dword [ebp - 0x1e4]
mov dword [edi + 0x3c], eax
mov eax, ecx
shr eax, 0x10
mov dword [edi + 0x40], eax
movzx eax, cx
jmp 0x4f43b3
mov eax, dword [ebp - 0x20c]
push eax
lea eax, [ebp - 0x88]
push 0x59db10
push eax
lea esi, [edi + 0x1c]
call fcn.0050ceb0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00417170
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x4f440a
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f4400
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46be
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x4f4421
mov ebx, dword [ebp - 0x210]
mov ecx, 0x5556ff
jmp 0x4f44c4
cmp dword [ebp - 0x5c], 0x10
mov eax, 0x2820
mov dword [ebp - 0x40], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 2
mov byte [ebp - 0x3e], 0
call fcn.0041fc00
push 1
push 0x5973e8
lea ecx, [ebp - 0xa0]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.0041fc00
lea ecx, [ebp - 0x28]
mov ebx, 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 0x10
jb 0x4f44cc
mov esi, dword [esi]
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
push esi
push dword [edi + 0x40]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push eax
lea eax, [ebp - 0x88]
push str._s__u._u._u._s_s
push eax
call fcn.0050ceb0
add esp, 0x20
lea ecx, [edi + 4]
push eax
call fcn.00417170
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x4f4537
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f452d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46c3
push edx
push ecx
call fcn.004b9160
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
test bl, 4
je 0x4f4597
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4f4585
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f457b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46c3
push edx
push ecx
call fcn.004b9160
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test bl, 2
je 0x4f45f1
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x4f45d6
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f45cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46c3
push edx
push ecx
call fcn.004b9160
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
test bl, 1
je 0x4f462a
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4f462a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f4620
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46c3
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4f465a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f4650
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46c8
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x4f469c
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f4692
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f46c8
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00514f0c
mov esp, ebp
pop ebp
ret 4
call fcn.0051bb5f
call fcn.0051bb5f
call fcn.0051503c
call fcn.0051bb5f
call fcn.0051bb5f
call fcn.0051bb5f
int3