Function at 0x4196f0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421552
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x42b014]
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 - 0x434], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.00405cb0
push 0x4223dc
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00414220
push 0x422a00
push eax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
call fcn.00414220
add esp, 0x18
mov ecx, dword [eax]
or esi, 0xffffffff
mov edi, dword [ebp - 0x424]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x419835
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x419826
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x419826
push edx
call fcn.00414970
add esp, 4
mov dword [ebp - 0x43c], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x41981b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x43c]
add eax, 0x10
mov dword [ebp - 0x424], eax
jmp 0x419835
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x424]
call fcn.004096f0
mov edx, dword [ebp - 0x438]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419856
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419877
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push dword [ebp - 0x424]
push 0x104
push eax
push str.MobileGamePC
push 0x422a34
push 0x422a44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x428]
call fcn.00405cb0
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 4
cmp dword [eax - 0xc], 0
jne 0x4198e8
push 0xc
push str.MobileGamePC
lea ecx, [ebp - 0x428]
call fcn.004096f0
push str.SOFTWARETencent_
lea ecx, [ebp - 0x42c]
call fcn.00405cb0
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.004142f0
mov edx, dword [ebp - 0x42c]
add esp, 0xc
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419934
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x20019
push dword [ebp - 0x430]
lea ecx, [ebp - 0x448]
push 0x80000002
call fcn.00411ef0
mov edi, dword [ebp - 0x448]
test eax, eax
jne 0x419986
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 4
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push 0x422a78
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x430]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4199a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4199c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4199e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4199f2
push edi
call ebx
xor edi, edi
mov esi, dword [ebp - 0x434]
test edi, edi
je 0x4199ff
push edi
call ebx
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.0041e4c9
mov esp, ebp
pop ebp
ret