Function at 0x47b070
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x601b90
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], ebx
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x64], 1
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
mov byte [esp + 0x74], 2
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x47b108
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
jmp 0x47b160
lea eax, [esi - 0x10]
mov byte [esp + 0x64], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47b129
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x64], bl
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b14a
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
xor ebx, ebx
mov dword [esp + 0x24], 0x400
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x402
or eax, ecx
jge 0x47b18e
mov ecx, 0x402
lea eax, [esp + 0x1c]
call fcn.00403540
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebp
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [esp + 0x24]
add esi, 1
cmp ecx, 0xffffffff
mov dword [esp + 0x20], esi
jne 0x47b1df
cmp ebp, ebx
jne 0x47b1c4
xor ecx, ecx
jmp 0x47b1e7
mov ecx, ebp
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x47b1d0
sub ecx, esi
sar ecx, 1
cmp ecx, ebx
jl 0x47b3f0
cmp ecx, dword [ebp - 8]
jg 0x47b3f0
mov dword [ebp - 0xc], ecx
mov word [ebp + ecx*2], bx
mov ecx, ebp
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x47b200
sub ecx, esi
sar ecx, 1
js 0x47b3f0
cmp ecx, dword [ebp - 8]
jg 0x47b3f0
cmp eax, ebx
mov dword [ebp - 0xc], ecx
mov word [ebp + ecx*2], bx
jne 0x47b387
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.0047ad90
add esp, 4
cmp eax, ebx
je 0x47b160
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
cmp ecx, ebx
jle 0x47b278
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x47b3f0
cmp eax, ecx
jg 0x47b3f0
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x47b278
push 0x5c
lea edi, [esp + 0x18]
call fcn.0040af90
push 0x11
push str.TencentQQPinyin_
lea eax, [esp + 0x1c]
push eax
call fcn.0040aee0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.0040a210
add eax, 0x10
mov dword [esi], eax
push ecx
lea eax, [ebp - 0x10]
mov byte [esp + 0x6c], 3
mov dword [esp + 0x38], esp
mov esi, esp
call fcn.0040a210
add eax, 0x10
mov dword [esi], eax
lea esi, [esp + 0x44]
mov byte [esp + 0x6c], 2
call fcn.0047b400
add esp, 8
lea ecx, [esp + 0x34]
push ecx
mov edi, eax
mov byte [esp + 0x68], 4
call fcn.00517200
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x34]
push edx
push eax
lea ebx, [esp + 0x54]
mov byte [esp + 0x6c], 5
call fcn.0041d0e0
mov byte [esp + 0x64], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b319
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b339
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b35e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b15e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47b15e
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b3ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x64], bl
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b3cd
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
cmp edi, ebx
je 0x47b14a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x80070057
call fcn.00403650
int3