Function at 0x48c1f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcb07
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xd4], ecx
xor edi, edi
lea eax, [ebp - 0x194]
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor esi, esi
mov dword [ebp - 0xe0], esi
push 0xb0
lea eax, [ebp - 0x194]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.004c6130
mov dword [ebp - 0x194], 0x51691c
mov dword [ebp - 0x184], 0x516914
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x17c]
or edi, 1
lea ecx, [ebp - 0x194]
mov dword [ebp - 0xa0], edi
push eax
call fcn.00405020
mov eax, dword [ebp - 0x184]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x188], eax
mov eax, dword [ebp - 0x194]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x198], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x194]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x198], eax
lea ecx, [ebp - 0x17c]
call fcn.00404e00
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], esi
mov edx, 0x51cdc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x184]
call fcn.00405e40
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x184]
call fcn.00405a80
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x17c]
call fcn.00403e80
or edi, 0x18
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.00403040
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48c3f3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48c3e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c84f
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push ecx
push 0x2001f
push 0
push eax
mov eax, dword [ebp - 0xac]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x48c44b
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0xe0], esi
lea ecx, [ebp - 0x40]
call fcn.00408a80
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0
call fcn.004025a0
test edi, edi
jne 0x48c828
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 4
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
push edi
push str.Enable
push esi
call ebx
test eax, eax
jne 0x48c4a5
cmp dword [ebp - 0xb0], 4
mov eax, dword [ebp - 0xb4]
je 0x48c4aa
mov eax, 1
mov edi, dword [0x548754]
test eax, eax
mov dword [ebp - 0xa0], edi
setne al
mov dword [ebp - 0x9c], 4
mov byte [ebp - 0xd0], al
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0
push str.FgColor
push esi
call ebx
test eax, eax
jne 0x48c503
cmp dword [ebp - 0xb8], 4
jne 0x48c503
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa0], eax
mov ebx, dword [0x548750]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x9c], 4
push eax
lea eax, [ebp - 0xc0]
push eax
push 0
push str.BgColor
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48c549
cmp dword [ebp - 0xc0], 4
jne 0x48c549
mov ebx, dword [ebp - 0xc4]
mov edx, str.Type
mov ecx, esi
call fcn.00482bc0
cmp eax, 0xa
ja case.default.0x48c55e
jmp dword [eax*4 + 0x48c870]
xor edi, edi
jmp 0x48c5ad
mov edi, 1
jmp 0x48c5ad
mov edi, 2
jmp 0x48c5ad
mov edi, 3
jmp 0x48c5ad
mov edi, 4
jmp 0x48c5ad
mov edi, 5
jmp 0x48c5ad
mov edi, 6
jmp 0x48c5ad
mov edi, 7
jmp 0x48c5ad
mov edi, 8
jmp 0x48c5ad
mov edi, 9
jmp 0x48c5ad
mov edi, 0xa
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 4
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0
push str.MatchType
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x48c5f6.2
cmp dword [ebp - 0xc8], 4
jne case.0x48c5f6.2
mov eax, dword [ebp - 0xcc]
cmp eax, 4
ja case.default.0x48c5f6
jmp dword [eax*4 + 0x48c89c]
mov dword [ebp - 0x9c], 0
jmp 0x48c637
mov dword [ebp - 0x9c], 1
jmp 0x48c637
mov dword [ebp - 0x9c], 3
jmp 0x48c637
mov dword [ebp - 0x9c], 4
jmp 0x48c637
mov dword [ebp - 0x9c], 2
push ecx
mov edx, esi
lea ecx, [ebp - 0x98]
call fcn.00482820
add esp, 4
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x48c657
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004164a0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00408d20
or dword [ebp - 0xa4], 0x20
mov byte [ebp - 4], 0xb
cmp edi, 9
jne 0x48c688
mov edi, 3
mov ebx, 0x80808080
push ecx
push dword [ebp - 0xd0]
lea eax, [ebp - 0x28]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x80]
push ebx
push edi
push dword [ebp - 0x9c]
push eax
call fcn.0048bc40
mov edi, dword [ebp - 0xa4]
or edi, 0x40
mov ebx, dword [ebp - 0xd4]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
push ecx
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x48c6d5
mov ecx, eax
call fcn.0041a810
add dword [ebx + 4], 0x40
jmp 0x48c6dd
push eax
mov ecx, ebx
call fcn.00485e40
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.0041a240
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x48c703
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x48c703
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x48c737
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48c72d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c84f
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x48c781
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48c777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c84f
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x48c7b9
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48c7af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c84f
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 8
jb 0x48c80b
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48c801
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c84f
push edx
push ecx
call fcn.004c3baf
add esp, 8
test esi, esi
je 0x48c816
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0xa8]
jmp 0x48c250
push str.bad_FilterType_
jmp 0x48c859
test esi, esi
je 0x48c833
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret
call fcn.004cecff
push str.bad_MatchType_
lea ecx, [ebp - 0x1c]
call fcn.0048a020
push 0x538b78
lea eax, [ebp - 0x1c]
push eax
call fcn.004c5b2b
nop
lds ecx, gs:[eax]
imul eax, ebp, -982515640
dec eax
add byte [edi - 0x3b], dh
dec eax
add byte [esi - 0x3b], bh
dec eax
add byte [ebp - 0x73ffb73b], al
lds ecx, [eax]
xchg ebx, eax
lds ecx, [eax]
lcall 0x48c5, 0xa10048c5
add byte [eax - 50313019], ch
lds ecx, [eax]
or esi, eax
dec eax
add byte [0x150048c6], ch
invalid