Function at 0x474e70
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5a4fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x64], ebx
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x64], 1
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
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 0x474f08
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
jmp 0x474f60
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 0x474f29
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 0x474f4a
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 + 0x28], 0x400
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x402
or eax, ecx
jge 0x474f8e
mov ecx, 0x402
lea eax, [esp + 0x1c]
call fcn.00403d50
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 + 0x38]
push ecx
push ebp
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esi, 1
cmp ebp, ebx
mov dword [esp + 0x20], esi
jne 0x474fbb
xor ecx, ecx
jmp 0x474fd5
mov ecx, ebp
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x474fc0
sub ecx, esi
sar ecx, 1
js 0x4751b0
cmp ecx, dword [ebp - 8]
jg 0x4751b0
cmp eax, ebx
mov dword [ebp - 0xc], ecx
mov word [ebp + ecx*2], bx
jne 0x475147
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00474bd0
add esp, 4
cmp eax, ebx
je 0x474f60
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
cmp ecx, ebx
jle 0x475038
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4751b0
cmp eax, ecx
jg 0x4751b0
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x475038
push 0x5c
lea edi, [esp + 0x18]
call fcn.00404400
push 0x11
push str.TencentQQPinyin_
lea eax, [esp + 0x1c]
push eax
call fcn.00403fc0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.00403ce0
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.00403ce0
add eax, 0x10
mov dword [esi], eax
lea esi, [esp + 0x44]
mov byte [esp + 0x6c], 2
call fcn.004751c0
add esp, 8
lea ecx, [esp + 0x34]
push ecx
mov edi, eax
mov byte [esp + 0x68], 4
call fcn.00475260
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x34]
push edx
push eax
lea ebx, [esp + 0x54]
mov byte [esp + 0x6c], 5
call fcn.004203d0
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 0x4750d9
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 0x4750f9
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 0x47511e
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 0x474f5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x474f5e
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 0x47516c
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 0x47518d
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
cmp edi, ebx
je 0x474f4a
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.00404550
int3