Function at 0x40aeb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3b60
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x519074]
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 edi, dword [0x520118]
xor ebx, ebx
mov esi, dword [0x520114]
mov dword [ebp - 0x478], 0
cmp esi, edi
je 0x40af15
nop word [eax + eax]
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
add esi, 4
cmp esi, edi
jne 0x40af00
mov esi, dword [0x520114]
mov edi, dword [0x520124]
mov dword [0x520118], esi
mov esi, dword [0x520120]
cmp esi, edi
je 0x40af45
nop dword [eax + eax]
mov ecx, esi
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
add esi, 4
cmp esi, edi
jne 0x40af30
mov esi, dword [0x520120]
lea eax, [ebp - 0x478]
mov dword [0x520124], esi
push eax
push 0x20019
push 0
push 0x4fe024
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b3eb
push 0x200
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00499430
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00499430
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x488]
add esp, 0x18
mov dword [ebp - 0x488], 0x200
mov dword [ebp - 0x474], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push dword [ebp - 0x478]
call edi
cmp eax, 0x103
je 0x40b333
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x42c], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b016
sub eax, edx
lea ecx, [ebp - 0x440]
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00455070
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x410]
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
lea edx, [ecx + 2]
mov word [ebp - 0x428], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b065
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.00455070
lea edx, [ebp - 0x440]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x470]
call fcn.00458850
mov esi, eax
lea edx, [ebp - 0x428]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x458]
call fcn.00458850
push esi
push eax
sub esp, 0xc
mov byte [ebp - 4], 3
mov eax, esp
mov dword [eax], 0x4fe094
mov dword [eax + 4], 0x1c
mov ecx, dword [0x520490]
call fcn.0041f810
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x444]
cmp edx, 0x10
jb 0x40b114
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b10a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b486
push edx
push ecx
call fcn.00476085
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
cmp edx, 0x10
jb 0x40b16d
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b163
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b486
push edx
push ecx
call fcn.00476085
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
cmp edx, 8
jb 0x40b1cc
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b1c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b486
push edx
push ecx
call fcn.00476085
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp edx, 8
jb 0x40b230
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b226
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b486
push edx
push ecx
call fcn.00476085
add esp, 8
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x480]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x480]
mov eax, dword [0x520118]
push ecx
cmp dword [0x52011c], eax
je 0x40b26f
mov ecx, eax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
add dword [0x520118], 4
jmp 0x40b27a
push eax
mov ecx, 0x520114
call fcn.00420f10
lea ecx, [ebp - 0x480]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x484]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x484]
mov eax, dword [0x520124]
push ecx
cmp dword [0x520128], eax
je 0x40b2cc
mov ecx, eax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
add dword [0x520124], 4
jmp 0x40b2d7
push eax
mov ecx, 0x520120
call fcn.00420f10
lea ecx, [ebp - 0x484]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea eax, [ebp - 0x488]
mov dword [ebp - 0x488], 0x200
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x474], 0x200
push eax
push 0
push 0
lea eax, [ebp - 0x474]
inc ebx
push eax
lea eax, [ebp - 0x410]
push eax
push ebx
push dword [ebp - 0x478]
call edi
cmp eax, 0x103
jne 0x40aff0
push dword [ebp - 0x478]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x520114]
cmp eax, dword [0x520118]
jne 0x40b3e7
mov eax, dword [0x520120]
cmp eax, dword [0x520124]
jne 0x40b3e7
sub esp, 0xc
mov eax, esp
mov dword [eax], 0x4fe160
mov dword [eax + 4], 0x8b
mov ecx, dword [0x520490]
call fcn.0041f860
push 0x4fe1f8
lea ecx, [ebp - 0x47c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 4
mov dword [ebp - 4], 8
call fcn.004760bd
add esp, 4
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
test eax, eax
je 0x40b3d1
push 0x30
push eax
push 0x7eb
push dword [0x520110]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x47c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, 0xfffffffe
jmp 0x40b46a
xor eax, eax
jmp 0x40b46a
sub esp, 0xc
mov eax, esp
mov dword [eax], 0x4fe0c0
mov dword [eax + 4], 0x41
mov ecx, dword [0x520490]
call fcn.0041f860
push 0x4fe110
lea ecx, [ebp - 0x474]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 4
mov dword [ebp - 4], 6
call fcn.004760bd
add esp, 4
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
test eax, eax
je 0x40b45b
push 0x30
push eax
push 0x7eb
push dword [0x520110]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x474]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
or eax, 0xffffffff
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.00476066
mov esp, ebp
pop ebp
ret
call fcn.004a3cba
int3