Function at 0x4fc8ae
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x144
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc30
push ebx
push esi
push edi
push ebp
push dword [esp + 0x158]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x4fc8e5
mov eax, 0x12
jmp 0x4fd395
mov esi, dword [esp + 0x15c]
xor eax, eax
mov edi, esi
mov ecx, 0x30c
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x100]
cmp eax, 1
je 0x4fc915
cmp eax, 2
je 0x4fca87
mov eax, 0xe
jmp 0x4fd395
xor eax, eax
cmp byte [ebx + 0x181], al
je 0x4fc955
mov ebp, dword [ebx + 0x182]
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll__llseek]
mov edi, 0xc30
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, edi
je 0x4fca3b
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, 8
jmp 0x4fd395
push 0
push ebx
call sub.MSVCRT.dll__access
add esp, 8
cmp eax, 0xffffffff
jne 0x4fc96f
mov eax, 0xf
jmp 0x4fd395
lea eax, [ebx + 0x196]
lea ecx, [ebx + 0x18a]
push eax
push ecx
push ebx
call fcn.00500fcb
add esp, 0xc
push ebx
call fcn.00500fc0
add esp, 4
mov dword [ebx + 0x186], eax
test al, 6
je 0x4fc9b2
push 0
push ebx
call fcn.00500fb1
add esp, 8
test eax, eax
jne 0x4fc9b2
mov eax, 3
jmp 0x4fd395
xor edi, edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
mov ebp, eax
jne 0x4fc92e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x4fca31
test byte [ebx + 0x1aa], 0x10
jne 0x4fca27
lea eax, [esp + 0xa0]
push 1
push edi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4fc9b4
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0xa0]
push 1
push edi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x4fc9f2
jmp 0x4fc9b4
mov eax, 0x25
jmp 0x4fd395
mov eax, 7
jmp 0x4fd395
cmp byte [ebx + 0x181], 0
jne 0x4fcb88
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
test eax, eax
je 0x4fca5d
mov eax, 6
jmp 0x4fd395
mov eax, dword [ebx + 0x186]
test al, 6
je 0x4fcb88
push eax
push ebx
call fcn.00500fb1
add esp, 8
test eax, eax
jne 0x4fcb88
mov eax, 3
jmp 0x4fd395
xor edi, edi
mov al, byte [edi + ebx]
test al, al
je 0x4fcaab
movsx eax, al
push eax
inc edi
call sub.MSVCRT.dll_toupper
add esp, 4
add al, 7
cmp edi, 0x32
mov byte [esp + edi + 0xbb], al
jl 0x4fca89
lea eax, [esp + 0xf0]
push str.softwareclasses_vdsp
mov byte [esp + edi + 0xc0], 0
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp byte [ebx], 0x3a
jne 0x4fcb06
xor eax, eax
cmp byte [ebx + 4], 0x3a
je 0x4fcae8
mov cl, byte [eax + ebx + 4]
mov byte [esp + eax + 0xf0], cl
inc eax
cmp byte [eax + ebx + 4], 0x3a
jne 0x4fcad5
mov byte [esp + eax + 0xf0], 0
add eax, ebx
lea ecx, [esp + 0xbc]
add eax, 5
push eax
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0xf0]
push eax
push ecx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4fcb2c
mov eax, 0x2a
jmp 0x4fd395
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
push esi
lea eax, [esp + 0xc4]
push ecx
push 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4fcb5c
mov eax, 0x2b
jmp 0x4fd395
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4fcb74
mov eax, 0x2c
jmp 0x4fd395
cmp dword [esp + 0x14], 0xc30
je 0x4fcb88
mov eax, 0x2d
jmp 0x4fd395
xor edx, edx
mov al, byte [edx + esi]
mov edi, esi
sub edi, edx
add edi, 0xc2f
mov cl, byte [edi]
mov byte [edx + esi], cl
add edx, 2
mov byte [edi], al
cmp edx, 0x616
jb 0x4fcb8a
mov eax, 4
movsx ecx, byte [eax + esi]
inc eax
add dword [esp + 0x18], ecx
cmp eax, 0xc30
jb 0x4fcbae
mov eax, dword [esp + 0x18]
cmp dword [esi], eax
je 0x4fcbd0
mov eax, 0x26
jmp 0x4fd395
lea edi, [ebx + 0x104]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x137]
push edi
push ecx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push eax
push str.38810806
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4fcc08
mov eax, 0xd
jmp 0x4fd395
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x3bc]
push eax
push edi
push ecx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push eax
push str.SAA_482
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4fcc3a
mov eax, 0xd
jmp 0x4fd395
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x41e]
push eax
push edi
push ecx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push eax
push str.YAP00667
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4fcc6c
mov eax, 0xd
jmp 0x4fd395
lea ebp, [esi + 5]
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x38]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x6b]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x9e]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0xd1]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call fcn.005008fc
add esp, 0xc
lea ebp, [esi + 0x104]
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x141]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x174]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x1a7]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x1da]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x20d]
call fcn.005008fc
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x240]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x273]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x2a6]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x2d9]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x30c]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x33f]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x372]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x3a5]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
add ebx, 0x106
push ebp
call fcn.005008fc
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add esp, 0xc
sub dword [esi + 0x3a8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3ac], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
sub dword [esi + 0x3b0], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
sub dword [esi + 0x3b4], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3b8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3c6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3ca], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3ce], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3d2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3d6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3da], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3de], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3e2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3e6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3ea], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3ee], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3f2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3f6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3fa], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3fe], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x402], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x406], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x40a], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x40e], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x412], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x416], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x41a], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x428], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x42c], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x430], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x434], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x438], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x43c], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x440], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x444], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x448], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x44c], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x450], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
mov ecx, dword [esi + 0x5f8]
add dword [esi + 0x454], eax
mov al, byte [edi]
movsx ebp, byte [ebx]
movsx edx, al
imul edx, ebp
sub ecx, edx
cmp ecx, 1
jne 0x4fd383
imul byte [ebx]
sub byte [esi + 0x5f0], al
mov al, byte [edi]
imul byte [ebx]
sub byte [esi + 0x5f1], al
mov al, byte [edi]
imul byte [ebx]
sub byte [esi + 0x5f2], al
mov al, byte [edi]
imul byte [ebx]
sub byte [esi + 0x5f3], al
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x5f4], eax
mov eax, dword [esi + 0x5f8]
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
sub eax, ecx
lea ebp, [esi + 0x608]
mov dword [esi + 0x5f8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
lea ecx, [esp + 0x1c]
sub dword [esi + 0x5fc], eax
push ecx
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x60e]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call fcn.005008fc
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add esp, 0xc
lea ebp, [esi + 0x69f]
sub dword [esi + 0x697], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
lea ecx, [esp + 0x1c]
sub dword [esi + 0x69b], eax
push ecx
push edi
push ebp
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call fcn.005008fc
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add esp, 0xc
sub dword [esi + 0x6a5], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
lea ebx, [esi + 0x61d]
lea eax, [esp + 0x1c]
push eax
sub dword [esi + 0x6a9], ecx
push edi
push ebx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x65a]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x6ad]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x6f4]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
lea ebx, [esi + 0x726]
push eax
push edi
push ebx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x776]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x7da]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x82a]
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
add esi, 0x87a
push ebx
call fcn.005008fc
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push esi
call fcn.00500f6e
lea eax, [esp + 0x1c]
push 0
push eax
push esi
call fcn.005008fc
add esp, 0xc
push dword [esp + 0x158]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x144
ret