Function at 0x425100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5006
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2c], eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], edi
mov edx, dword [edi]
mov dword [ebp - 0x58], eax
call fcn.00482820
add esp, 4
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 0
cmp ecx, eax
je 0x42516e
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x425167
mov eax, dword [eax]
push edx
push eax
call fcn.00406c30
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4251af
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4251a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425885
push edx
push ecx
call fcn.004c3baf
add esp, 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x510d84
push dword [edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x4251e0
cmp dword [ebp - 0x30], 4
mov eax, dword [ebp - 0x34]
je 0x4251e5
mov eax, 1
test eax, eax
mov dword [ebp - 0x2c], 4
setne al
mov byte [esi + 0xcf], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x44]
push 0
push 0x510da4
push dword [eax]
call edi
test eax, eax
jne 0x42521e
cmp dword [ebp - 0x30], 4
mov eax, dword [ebp - 0x34]
je 0x425223
mov eax, 1
test eax, eax
push 0
setne al
push 0
mov byte [esi + 0xcc], al
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x44]
push 0
push 0x510db8
push dword [eax]
call edi
test eax, eax
jne 0x42526b
cmp dword [ebp - 0x30], 4
jne 0x42526b
mov eax, dword [ebp - 0x34]
jmp 0x42526d
xor eax, eax
test eax, eax
push 0
setne al
push 0
mov byte [esi + 0xcd], al
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor esi, esi
mov dword [ebp - 0x68], 0
xor edx, edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x174]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], edx
nop dword [eax + eax]
xor edi, edi
mov dword [ebp - 0x54], edi
push 0xb0
lea eax, [ebp - 0x174]
push edi
push eax
call fcn.004c6130
mov dword [ebp - 0x174], 0x51691c
mov dword [ebp - 0x164], 0x516914
mov dword [ebp - 0x104], edi
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], edi
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
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x174]
mov eax, dword [ebp - 0x58]
add esp, 4
or eax, 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00405020
mov eax, dword [ebp - 0x164]
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 - 0x164]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x168], eax
mov eax, dword [ebp - 0x174]
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 - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x178], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x174]
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 - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x178], eax
lea ecx, [ebp - 0x15c]
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 - 0x124], edi
mov dword [ebp - 0x120], edi
mov edx, 0x510ddc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x164]
call fcn.00405e40
push dword [ebp - 0x38]
lea ecx, [ebp - 0x164]
call fcn.00405a80
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00403e80
or dword [ebp - 0x58], 0x18
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x28]
call fcn.00403040
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x42545b
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425451
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425885
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], 7
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
push 0x2001f
push 0
push eax
mov eax, dword [ebp - 0x44]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4254ab
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x54], edi
lea ecx, [ebp - 0x28]
call fcn.00408a80
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 2
call fcn.004025a0
cmp dword [ebp - 0x2c], 0
jne 0x425628
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 4
mov eax, dword [eax + 0xa8]
add eax, dword [ebp - 0x34]
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0xb4], xmm0
movups xmm0, xmmword [eax + 0x20]
movd eax, xmm1
movups xmmword [ebp - 0xc4], xmm1
movzx eax, al
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0x510dfc
push edi
movups xmmword [ebp - 0xa4], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425537
cmp dword [ebp - 0x6c], 4
mov eax, dword [ebp - 0x70]
je 0x42553a
mov eax, dword [ebp - 0x30]
test eax, eax
mov dword [ebp - 0x2c], 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
setne byte [ebp - 0xc4]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0x510e0c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425571
cmp dword [ebp - 0x74], 4
mov eax, dword [ebp - 0x78]
je 0x425577
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 4
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x510e18
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4255ab
cmp dword [ebp - 0x5c], 4
mov eax, dword [ebp - 0x40]
je 0x4255b1
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa4], eax
cmp esi, dword [ebp - 0x48]
je 0x4255e4
movups xmm0, xmmword [ebp - 0xc4]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xa4]
movups xmmword [esi + 0x20], xmm0
add esi, 0x30
mov dword [ebp - 0x64], esi
jmp 0x4255fd
lea eax, [ebp - 0xc4]
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0042bac0
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
test edi, edi
je 0x42560f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x34]
inc dword [ebp - 0x38]
add eax, 0x30
mov dword [ebp - 0x34], eax
cmp eax, 0x150
jl 0x4252c0
jmp 0x425633
test edi, edi
je 0x425633
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x3c]
mov eax, esi
mov edx, dword [edi + 0xa8]
mov ecx, dword [edi + 0xac]
sub ecx, edx
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x68]
sub eax, edx
mov dword [ebp - 0x2c], edx
cmp eax, ecx
jne 0x425687
lea eax, [ebp - 0x68]
lea ecx, [edi + 0xa8]
cmp ecx, eax
je 0x425687
mov eax, dword [ecx + 4]
mov dword [ecx], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 8], edx
mov edx, eax
mov dword [ecx + 4], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x60], edx
xor esi, esi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
push eax
mov eax, dword [ebp - 0x44]
push 0x2001f
push esi
push 0x510e24
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x4256c6
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 0xb
test ecx, ecx
jne 0x4256dc
lea ecx, [edi + 0x48]
lea edx, [ebp - 0x54]
call fcn.0048c1f0
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x38], 0
test esi, esi
je 0x425744
cmp dword [esi], 0
je 0x425737
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x42570c
lea ecx, [eax + 1]
jmp 0x42577e
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x42573d
push 0
push dword [esi]
lea ecx, [ebp - 0x38]
push ecx
push 0x2001f
push 0
push 0x510e44
push dword [ebp - 0x40]
call eax
jmp 0x42575b
cmp dword [esi + 4], 0
jne 0x425744
mov ecx, 1
jmp 0x42575d
lea ecx, [ebp - 0x38]
push ecx
push 0x2001f
push 0
push 0x510e44
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x42577e
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x425771
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0xb
test ecx, ecx
jne 0x425791
lea ecx, [edi + 0x54]
lea edx, [ebp - 0x54]
call fcn.0048c1f0
mov ecx, edi
call fcn.004264c0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x101f
push dword [edi + 4]
call esi
push 0
push 0
push 0x1200
push eax
call esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x4257d4
nop
push 0
push 0
push 0x101c
push dword [edi + 4]
call esi
sub dword [ebp - 0x3c], 1
jne 0x4257c0
mov ecx, dword [edi + 0xac]
xor eax, eax
mov esi, dword [edi + 0xa8]
mov dword [ebp - 0x5c], ecx
cmp esi, ecx
je 0x42581b
nop dword [eax]
cmp byte [esi], 0
je 0x425814
mov ecx, eax
inc eax
mov dword [ebp - 0x40], eax
lea eax, [esi + 4]
push eax
push ecx
push 0x1061
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x5c]
add esi, 0x30
cmp esi, ecx
jne 0x4257f0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x425829
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x425868
mov eax, dword [ebp - 0x48]
sub eax, ecx
sar eax, 4
imul eax, eax, 0xaaaaaaab
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 4
cmp edx, 0x1000
jb 0x42585e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42588a
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 4
call fcn.004cecff
call fcn.004cecff
int3