Function at 0x427871
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43f954
call fcn.004311b8
sub esp, 0xa0
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
push 1
lea eax, [ebp - 0x18]
pop esi
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x427b0f
lea eax, [ebp - 0x26]
mov esi, 0x44049c
mov edi, 0x440494
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x4c], edi
call fcn.00401581
lea eax, [ebp - 0x25]
push ebx
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x74], edi
call fcn.00401581
mov esi, 0x400
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0040b189
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 4
call fcn.004016f0
mov ebx, eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
mov dword [edi + 8], ebx
call fcn.0040b189
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 5
call fcn.004016f0
lea ecx, [ebp - 0x14]
mov dword [edi + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push 0
push dword [ebp - 0x18]
call edi
mov ebx, eax
lea ecx, [ebp - 0x44]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.0040b479
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040b479
test bl, bl
je 0x427af1
cmp dword [ebp - 0x10], esi
jae 0x427995
cmp dword [ebp - 0x14], esi
jb 0x427a1d
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
push dword [ebp - 0x14]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040b189
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 6
call fcn.004016f0
mov dword [ebx + 8], eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040b189
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 7
call fcn.004016f0
lea ecx, [ebp - 0x14]
mov dword [ebx + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0040b479
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.0040b479
cmp dword [ebp - 0x1c], 2
je 0x427a29
cmp dword [ebp - 0x1c], 1
jne 0x427a39
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.00410f05
test eax, eax
je 0x427a9f
inc dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0040b189
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.004016f0
mov dword [ebp - 0x24], eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040b189
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.004016f0
lea ecx, [ebp - 0x14]
mov dword [ebx + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x42795d
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
push 0
push eax
mov ecx, esi
mov dword [esi], 0x44049c
mov dword [esi + 0x20], 0x440494
call fcn.0040b9d3
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0040191f
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040191f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004282b0
mov eax, esi
jmp 0x427b33
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0040191f
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040191f
push 1
pop esi
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push esi
push eax
push 0x44dbd4
call fcn.00410ecd
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], esi
call fcn.004282b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8