Function at 0x1001e3e0
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058c63
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x10079214]
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 eax, dword [ebp + 8]
mov edi, 1
push 0x210
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10031950
add esp, 0xc
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x224]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20219
push 0
push str.SoftwareTencentQQPCMgr
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x224], 0
call esi
test eax, eax
jne 0x1001e4a3
mov ebx, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], 0x200
jmp 0x1001e4eb
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push eax
push 0x20119
push 0
push str.SoftwareTencentQQPCMgr
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x1001e76c
mov ebx, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], 0x100
lea eax, [ebp - 0x224]
mov dword [ebp - 0x23c], ebx
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 0x210
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.InstallDir
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001e544
mov eax, dword [ebp - 0x228]
cmp eax, 1
je 0x1001e532
cmp eax, 2
jne 0x1001e544
cmp dword [ebp - 0x224], 0
jne 0x1001e544
xor eax, eax
mov word [ebp - 0x220], ax
push str.sysdeepopt.ini
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001e58c
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1001e773
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0
jmp 0x1001e773
lea eax, [ebp - 0x220]
push eax
push 0
push str.count
push str.service
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, 1
mov dword [ebp - 0x228], eax
cmp eax, ebx
jl 0x1001e748
call fcn.10005540
test eax, eax
je 0x1001e7a5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 2
call fcn.10005540
test eax, eax
je 0x1001e7a5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x238]
push ebx
push str.service_d
push eax
call fcn.10004e90
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
add esp, 0xc
or eax, ecx
jge 0x1001e639
push 0x105
lea ecx, [ebp - 0x224]
call fcn.1000a000
mov esi, dword [ebp - 0x224]
cmp dword [esi - 8], 0x105
jl 0x1001e79b
mov edi, dword [ebp - 0x238]
xor eax, eax
mov dword [esi - 0xc], 0x105
mov word [esi + 0x20a], ax
lea eax, [ebp - 0x220]
push eax
push 0x104
push esi
push 0x1005a6b8
push str.name
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.10038873
add esp, 8
test eax, eax
js 0x1001e79b
cmp eax, dword [esi - 8]
jg 0x1001e79b
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x240]
push esi
push dword [eax]
call fcn.10038a2a
add esp, 8
test eax, eax
je 0x1001e701
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001e6d1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001e6ed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, dword [ebp - 0x228]
jle 0x1001e5b8
mov edi, 1
jmp 0x1001e748
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 2
or ebx, 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001e729
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001e742
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x1001e773
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0
jmp 0x1001e773
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x230], 0
mov eax, edi
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.1002deb9
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10004830
push 0x80004005
call fcn.10004830
int3