Function at 0x401a80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405170
push 0x402448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4e4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x358], bl
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x357]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x358]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x254]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1f0], 0xff
mov dword [ebp - 0x120], 0x64
mov byte [ebp - 0x11c], bl
mov dword [ebp - 0x124], ebx
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x32
xor eax, eax
lea edi, [ebp - 0x1ec]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x35c], 0xc7
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x1ec]
push ecx
mov edx, dword [ebp - 0x124]
push edx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x401b65
mov dword [ebp - 0x124], ebx
jmp 0x401b6b
inc dword [ebp - 0x124]
mov byte [ebp - 0x4ec], bl
mov ecx, 0x63
xor eax, eax
lea edi, [ebp - 0x4eb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x64
xor eax, eax
lea edi, [ebp - 0x4ec]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x1ec]
lea edx, [ebp - 0x4ec]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x4ec]
mov edi, str.SoftwareTencent_bugReportQQ
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push ebx
lea ecx, [ebp - 0x4ec]
push ecx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b11
xor esi, esi
mov dword [ebp - 0x4f0], esi
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x254]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x1f0]
push ecx
lea edx, [ebp - 0x358]
push edx
push esi
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x4f4], eax
cmp eax, 0x103
jne 0x401c6b
mov ecx, dword [ebp - 0x1c]
push ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov edx, dword [ebp - 0x258]
push edx
call esi
jmp 0x401b11
push str.InstallDir
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401c90
lea ecx, [ebp - 0x254]
push ecx
call fcn.00401420
add esp, 4
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x358]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x19
xor eax, eax
lea edi, [ebp - 0x254]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1f0], 0xff
mov dword [ebp - 0x120], 0x64
inc esi
jmp 0x401c15