Function at 0x1003f370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f466
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x1007b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1003f3b0
mov eax, dword [esi]
jmp 0x1003f3b2
mov eax, esi
xor ecx, ecx
push 0x208
mov word [eax], cx
lea eax, [ebp - 0x218]
push ecx
push eax
call sub.VCRUNTIME140.dll_memset
push 0x20a
xor edi, edi
lea eax, [ebp - 0x424]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x42c], 0x104
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x428], 1
push eax
push 1
push edi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003f492
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
push edi
push str.Version
push dword [ebp - 0x460]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003f47e
cmp dword [ebp - 0x428], 1
jne 0x1003f47e
lea ecx, [ebp - 0x424]
call fcn.10043c70
test eax, eax
je 0x1003f47e
push 0xffffffffffffffff
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
mov edi, 1
push dword [ebp - 0x460]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1003f580
xor eax, eax
mov dword [ebp - 0x430], 7
mov dword [ebp - 0x434], 0
mov word [ebp - 0x444], ax
lea ecx, [ebp - 0x444]
mov dword [ebp - 4], eax
call fcn.10043a00
test eax, eax
je 0x1003f56a
xor eax, eax
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x444]
cmp dword [ebp - 0x430], 8
lea edx, [ebp - 0x45c]
cmovae ecx, dword [ebp - 0x444]
call fcn.10043e90
test eax, eax
je 0x1003f510
mov edi, 1
jmp 0x1003f535
cmp dword [ebp - 0x430], 8
lea ecx, [ebp - 0x444]
lea edx, [ebp - 0x45c]
cmovae ecx, dword [ebp - 0x444]
call fcn.10043f40
mov edi, eax
test edi, edi
je 0x1003f55f
cmp dword [ebp - 0x448], 8
lea ecx, [ebp - 0x45c]
lea eax, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x45c]
push ecx
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x45c]
call fcn.10002cc0
lea ecx, [ebp - 0x444]
mov dword [ebp - 4], 0xffffffff
call fcn.10002cc0
test edi, edi
je 0x1003f5d5
lea ecx, [ebp - 0x218]
call fcn.10043c70
test eax, eax
je 0x1003f5d5
test edi, edi
je 0x1003f5d5
cmp word [ebp - 0x218], 0
jne 0x1003f5a1
xor ecx, ecx
jmp 0x1003f5bf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003f5b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10002e00
mov eax, 1
jmp 0x1003f5e9
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1003f5e4
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret