Function at 0x4ec530
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x600620
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], 0
push 0x4008
mov dword [esp + 0x20], 0x1000
call fcn.005d1ef5
mov ebp, eax
add esp, 4
mov dword [esp + 0x38], ebp
test ebp, ebp
jne 0x4ec5ca
push eax
call fcn.005d2367
lea eax, [ebx - 0x10]
add esp, 4
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ec83c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4ec83c
push 0x4008
push 0
push ebp
call fcn.005da970
mov ecx, dword [esp + 0x28]
lea esi, [ecx + ebp]
add esp, 0xc
lea edi, [esi + 0x1000]
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
push str.SOFTWARETencentQQPinyin
mov byte [esp + 0x54], 2
push SysReAllocStringLen
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ec65c
mov eax, dword [esp + 0x14]
mov ecx, 0x1000
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1c]
push ecx
push ebp
lea edx, [esp + 0x28]
push edx
push 0
push str.Acc20
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ec64d
cmp dword [esp + 0x20], 3
je 0x4ec662
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ec65c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
jmp 0x4ec595
call fcn.00492d60
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push eax
push edx
mov ecx, esi
mov edx, ebp
call fcn.00492ac0
add esp, 0xc
test eax, eax
jne 0x4ec697
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ec691
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
jmp 0x4ec82b
mov eax, dword [esp + 0x24]
push 0x1ffe
push edi
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, edi
lea edi, [esp + 0x18]
call fcn.00403760
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], 0
jne 0x4ec6d4
lea esi, [esp + 0x28]
call fcn.00406200
push ebp
jmp 0x4ec82b
lea ecx, [esp + 0x14]
call fcn.00403890
lea ecx, [esp + 0x24]
call fcn.00403890
lea ecx, [esp + 0x20]
call fcn.00403890
mov byte [esp + 0x44], 5
mov eax, dword [esi - 0xc]
lea ecx, [esi + eax*2]
cmp esi, ecx
mov ebp, esi
mov dword [esp + 0x34], ecx
jae 0x4ec802
cmp ebp, ecx
mov eax, ebp
mov ebx, ebp
jae 0x4ec726
cmp word [ebx], 0xa
je 0x4ec71f
add ebx, 2
cmp ebx, ecx
jb 0x4ec710
jmp 0x4ec726
cmp ebx, ecx
lea ebp, [ebx + 2]
jb 0x4ec728
mov ebp, ecx
cmp ebx, eax
jbe 0x4ec7fa
cmp word [ebx - 2], 0xd
jne 0x4ec73a
add ebx, 0xfffffffe
cmp ebx, eax
jbe 0x4ec7fa
sub ebx, eax
push eax
sar ebx, 1
lea eax, [esp + 0x18]
call fcn.004037a0
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jle 0x4ec7c9
push 0x3d
push esi
call fcn.005d33c4
add esp, 8
test eax, eax
je 0x4ec7c9
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x4ec7c9
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
call fcn.0041a270
lea edi, [esp + 0x24]
mov byte [esp + 0x44], 6
call fcn.0040ab90
mov bl, 5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], bl
call fcn.00403870
lea ecx, [esi + 1]
lea esi, [esp + 0x30]
lea edx, [esp + 0x14]
call fcn.00409f40
lea edi, [esp + 0x20]
mov byte [esp + 0x44], 7
call fcn.0040ab90
mov ecx, esi
mov byte [esp + 0x44], bl
call fcn.00403870
jmp 0x4ec7e4
lea eax, [esp + 0x14]
lea edi, [esp + 0x24]
call fcn.0040ab90
mov edx, 0x6244e0
lea edi, [esp + 0x20]
call fcn.00403760
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.004c5790
mov ecx, dword [esp + 0x34]
cmp ebp, ecx
jb 0x4ec708
lea ecx, [esp + 0x20]
call fcn.00403870
lea ecx, [esp + 0x24]
call fcn.00403870
lea ecx, [esp + 0x14]
call fcn.00403870
lea esi, [esp + 0x28]
call fcn.00406200
mov edx, dword [esp + 0x38]
push edx
call fcn.005d2367
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00403870
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4