Function at 0x425c20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x34
lea eax, [esp + 4]
push ebx
push edi
push eax
xor ebx, ebx
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionPerflib009
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00425bc0
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
jne 0x425c5e
pop edi
xor eax, eax
pop ebx
add esp, 0x34
ret
inc edi
push esi
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x28]
mov esi, eax
push edx
lea eax, [esp + 0x38]
push esi
push eax
push ebx
push str.Counters
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov al, byte [esi]
mov dword [esp + 0x14], ebx
test al, al
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
je 0x425fec
mov edi, dword [esp + 0x44]
mov ebx, dword [sym.imp.MSVCRT.dll__itoa]
mov eax, edi
push ebp
or al, 1
mov dword [esp + 0x30], eax
lea edx, [esp + 0x10]
push edx
push 0x461b80
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [esp + 0x30], 0
lea ebp, [esi + eax + 1]
je 0x425d87
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str.Process
push ebp
call esi
add esp, 8
test eax, eax
jne 0x425d8d
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x425d3f
mov edi, 0x461b74
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push 0xa
push eax
push ecx
call ebx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1c], 1
mov esi, edi
mov edx, ecx
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x425f6e
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov eax, edi
or al, 2
test ax, ax
je 0x425e2f
push str.Process_Address_Space
push ebp
call esi
add esp, 8
test eax, eax
jne 0x425e2f
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x425de7
mov edi, 0x461b74
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push 0xa
push eax
push ecx
call ebx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], 1
mov esi, edi
mov edx, ecx
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x425f6e
mov eax, edi
or al, 4
test ax, ax
je 0x425ed1
push str.Thread
push ebp
call esi
add esp, 8
test eax, eax
jne 0x425ed1
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x425e89
mov edi, 0x461b74
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push 0xa
push eax
push ecx
call ebx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x24], 1
mov esi, edi
mov edx, ecx
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x425f6e
mov eax, edi
or al, 8
test ax, ax
je 0x425f72
push str.Thread_Details
push ebp
call esi
add esp, 8
test eax, eax
jne 0x425f72
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x425f2b
mov edi, 0x461b74
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push 0xa
push eax
push ecx
call ebx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x28], 1
mov esi, edi
mov edx, ecx
mov edi, 0x46bcc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x48]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + ebp + 1]
mov al, byte [eax + ebp + 1]
test al, al
jne 0x425cc1
mov ebx, dword [esp + 0x18]
pop ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
mov edx, edi
add esp, 4
or edx, 1
test dx, dx
pop esi
je 0x425fbc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov ebx, eax
mov ecx, edi
or ecx, 2
test cx, cx
je 0x425fca
or ebx, dword [esp + 0x18]
mov edx, edi
or edx, 4
test dx, dx
je 0x425fd8
or ebx, dword [esp + 0x1c]
or edi, 8
test di, di
je 0x425fe4
or ebx, dword [esp + 0x20]
mov eax, ebx
pop edi
pop ebx
add esp, 0x34
ret
mov edi, dword [esp + 0x44]
jmp 0x425f8e