Function at 0x457ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfa13
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x647bb0]
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
cmp ecx, 1
jne 0x4580f7
push 0x2a
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x15c]
push str.SOFTWAREWOW6432NodeTencentMobileGamePC_
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
call fcn.0045edb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x160], 0
movq qword [ebp - 0x168], xmm0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
push ecx
cmovae eax, dword [ebp - 0x15c]
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x458085
mov ecx, dword [ebp - 0x14c]
mov ebx, bind
mov dword [ebp - 0x12c], eax
mov eax, ebx
sub eax, ecx
cmp eax, 2
jb 0x458113
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
push 2
cmovae eax, dword [ebp - 0x15c]
push 0x634f38
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x198]
call fcn.00462050
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
cmp dword [ebp - 0x184], 0x10
lea eax, [ebp - 0x198]
push ecx
cmovae eax, dword [ebp - 0x198]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x458041
push 0xff
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x12c], 0xff
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push str.InstallPath
push dword [ebp - 0x1b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x458031
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x170], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457cb6
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x180]
call fcn.0045edb0
mov byte [ebp - 4], 4
mov eax, ebx
mov ecx, dword [ebp - 0x170]
sub eax, ecx
cmp eax, 0x16
jb 0x458113
cmp dword [ebp - 0x16c], 0x10
lea eax, [ebp - 0x180]
push 0x16
cmovae eax, dword [ebp - 0x180]
push 0x634f48
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x128]
call fcn.00462050
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x114]
mov eax, edx
mov ecx, dword [ebp - 0x118]
sub eax, ecx
cmp eax, 1
jb 0x457d5b
inc ecx
lea esi, [ebp - 0x128]
cmp edx, 0x10
mov dword [ebp - 0x118], ecx
push ecx
cmovae esi, dword [ebp - 0x128]
push esi
lea eax, [esi + 1]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x22
jmp 0x457d77
sub esp, 0xc
mov byte [ebp - 0x1bc], 0
push dword [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x128]
call fcn.004607a0
push 5
mov dword [ebp - 0x1d4], 0
lea ecx, [ebp - 0x1d4]
push str..exe_
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
call fcn.0045edb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x144]
push 4
mov dword [ebp - 0x144], 0
push str..exe
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
call fcn.0045edb0
push 0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x128]
call fcn.0045d2e0
mov esi, eax
cmp esi, 0xffffffff
je 0x457e5b
mov edi, dword [ebp - 0x1c4]
nop
cmp dword [ebp - 0x1c0], 0x10
lea ecx, [ebp - 0x1d4]
push edi
cmovae ecx, dword [ebp - 0x1d4]
push ecx
push dword [ebp - 0x134]
lea ecx, [ebp - 0x128]
push esi
call fcn.0045eb40
mov edi, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x128]
lea eax, [edi + esi]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0045d2e0
mov esi, eax
cmp esi, 0xffffffff
jne 0x457e10
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x457e99
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457e8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458021
push edx
push ecx
call fcn.005bb0da
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1c0]
cmp edx, 0x10
jb 0x457ed7
mov ecx, dword [ebp - 0x1d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457ecd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458021
push edx
push ecx
call fcn.005bb0da
add esp, 8
mov ecx, dword [ebp - 0x118]
sub ebx, ecx
cmp ebx, 0x15
jb 0x458113
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x15
cmovae eax, dword [ebp - 0x128]
push str.__vm_100__startpkg_co
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x144]
call fcn.00462050
mov byte [ebp - 4], 9
lea edx, [ebp - 0x144]
cmp dword [ebp - 0x130], 0x10
cmovae edx, dword [ebp - 0x144]
sub esp, 0x18
mov esi, esp
mov ecx, edx
mov dword [esi], 0
lea edi, [ecx + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457f50
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0045edb0
call fcn.004579a0
mov edx, dword [ebp - 0x130]
add esp, 0x18
cmp edx, 0x10
jb 0x457fa4
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457f9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458021
push edx
push ecx
call fcn.005bb0da
add esp, 8
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x457fda
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457fd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458021
push edx
push ecx
call fcn.005bb0da
add esp, 8
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x458031
mov ecx, dword [ebp - 0x180]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458027
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x458027
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005bb0da
add esp, 8
push dword [ebp - 0x1b8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x458047
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x184]
cmp edx, 0x10
jb 0x4580a8
mov ecx, dword [ebp - 0x198]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458079
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x458079
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005bb0da
add esp, 8
jmp 0x4580a8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x456590
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, str._n____Please_install_the_emulator_properly_n
mov ecx, eax
call fcn.0045fda0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x1b4]
call esi
lea ecx, [ebp - 0x168]
call fcn.0045c5b0
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x4580f7
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4580ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4580ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005bb0da
add esp, 8
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.005badf4
mov esp, ebp
pop ebp
ret
call fcn.0044c9a0
int3