Function at 0x52df80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e4b3
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x59a0a0]
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 - 4], 0
mov esi, 1
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], ebx
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push eax
push 0x2001f
push edi
push str.SOFTWAREAndroidTBox
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x21c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x52e250
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
push 0x2001f
push str.SOFTWARETencent
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], edi
call fcn.00404f00
test eax, eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x248], eax
jne 0x52e1df
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor esi, esi
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049e130
add esp, 0xc
mov dword [ebp - 0x224], 0x103
lea eax, [ebp - 0x25c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x52e161
push str.MobileGamePC
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x52e15b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401ff0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x23c]
call fcn.00411620
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x52e15b
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x52e157
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
inc esi
jmp 0x52e090
mov ecx, edx
call edi
inc esi
jmp 0x52e090
mov ebx, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x238]
cmp ebx, edi
je 0x52e1d9
mov eax, edi
xor edi, edi
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x224], eax
test eax, eax
je 0x52e1d3
mov esi, ebx
mov ecx, dword [esi]
mov eax, 1
sub ecx, 0x10
sub eax, dword [ecx + 0xc]
or eax, dword [ecx + 8]
jge 0x52e1a1
push 0
mov ecx, esi
call fcn.00402c70
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [esi]
cmovae eax, dword [ebp + 8]
push eax
call fcn.004a689d
add esp, 8
test eax, eax
jne 0x52e1c9
inc edi
add esi, 4
cmp edi, dword [ebp - 0x224]
jb 0x52e186
jmp 0x52e1d3
mov dword [ebp - 0x220], 0
mov edi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x230]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x52e1f6
push eax
call esi
mov dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x52e20d
push eax
call esi
mov dword [ebp - 0x244], 0
test ebx, ebx
je 0x52e230
push ecx
mov edx, edi
mov ecx, ebx
call fcn.00415790
mov eax, dword [ebp - 0x234]
add esp, 4
sub eax, ebx
sar eax, 2
push eax
push ebx
call fcn.004149e0
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x52e23d
push eax
call esi
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x52e24a
push eax
call esi
mov esi, dword [ebp - 0x220]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x52e265
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00403010
mov eax, esi
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.0049aa22
mov esp, ebp
pop ebp
ret 0x18