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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push ebx
push edi
push dword [ebp + 0x24]
mov edi, ecx
push dword [ebp + 0x20]
lea ecx, [ebp - 0x230]
push dword [ebp + 0x1c]
call fcn.00419368
lea eax, [ebp - 4]
push eax
push 9
xor ebx, ebx
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x419109
xor eax, eax
inc eax
jmp 0x419362
push esi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x419345
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x4191e5
cmp dword [ebp + 0x14], 3
je 0x4191e5
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea esi, [eax - 1]
mov dword [ebp + 0x24], ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x124]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x104
mov byte [ebp - 0x124], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4191d5
lea eax, [ebp - 0x230]
mov dword [0x46424c], eax
mov ecx, dword [edi + 0x14]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 3
call fcn.00405839
add dword [0x464240], 1
adc dword [0x464244], ebx
cmp eax, 5
je 0x419334
cmp eax, 7
je 0x419334
cmp eax, 8
je 0x419334
cmp eax, ebx
je 0x419334
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x4191df
cmp eax, ebx
jne 0x41932a
cmp esi, ebx
je 0x4191e5
dec esi
jmp 0x41914d
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x419355
cmp dword [ebp + 0x14], 1
jne 0x4191ff
cmp byte [ebp + 0x18], bl
je 0x419355
dec eax
mov dword [ebp - 0x20], 0xfffffffe
mov dword [ebp - 8], eax
mov dword [ebp + 0x24], ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 8]
mov esi, 0x104
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x41931d
cmp dword [ebp + 0x14], 1
je 0x4192a0
lea eax, [ebp - 0x230]
mov dword [0x46424c], eax
mov ecx, dword [edi + 0x14]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 3
call fcn.00405839
add dword [0x464240], 1
adc dword [0x464244], ebx
cmp eax, 5
je 0x419334
cmp eax, 7
je 0x419334
cmp eax, 8
je 0x419334
cmp eax, ebx
je 0x419334
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x419338
cmp eax, ebx
jne 0x419340
cmp byte [ebp + 0x18], bl
je 0x41931d
cmp byte [ebp - 0x228], bl
mov eax, 0x459b44
jne 0x4192b7
mov eax, 0x4575d8
lea ecx, [ebp - 0x124]
push ecx
push eax
lea eax, [ebp - 0x228]
push eax
push str._s_s_s
lea eax, [ebp - 0x334]
push esi
push eax
call fcn.0040aa6c
mov esi, dword [ebp + 0xc]
add esp, 0x18
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 0x20]
mov ecx, edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.004190c0
cmp eax, 5
je 0x419334
cmp eax, 7
je 0x419334
cmp eax, 8
je 0x419334
cmp eax, ebx
je 0x419334
cmp byte [esi], bl
jne 0x419345
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
jne 0x419345
cmp dword [ebp - 8], ebx
je 0x419345
dec dword [ebp - 8]
jmp 0x41920d
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x4191e5
mov esi, eax
jmp 0x419348
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x419345
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x419361
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 0x20