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

Disassembly:
push 0x240
mov eax, 0x46b531
call fcn.0042dc0b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x21c]
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x24c], eax
call fcn.0040699e
mov eax, 0x104
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
call fcn.0040c993
lea ecx, [ebp - 0x238]
call fcn.0040699e
lea ecx, [ebp - 0x228]
call fcn.0040699e
lea ecx, [ebp - 0x234]
call fcn.0040699e
push 4
push str.IN_Operations::_DetermineIsKeyOrValue_:_Entering__DetermineIsKeyOrValue__
mov ecx, 0x493f4c
mov byte [ebp - 4], 4
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x230], edi
call fcn.0040c5b8
lea eax, [ebp - 0x230]
mov esi, 0x46f9b8
push eax
push esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00414d8f
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.00413753
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov ebx, 0x487527
jmp 0x415a67
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x238]
call fcn.00413753
lea eax, [ebp - 0x230]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00414d8f
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.00413753
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00406c57
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.00413872
pop ecx
pop ecx
test al, al
jne 0x415a19
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x22c]
mov esi, dword [ebp - 0x238]
mov eax, dword [eax - 0xc]
sub eax, dword [esi - 0xc]
dec eax
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00413e8b
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 7
call fcn.00413753
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
push dword [eax - 0xc]
call fcn.00406be3
push dword [esi - 0xc]
mov ebx, eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x230], ebx
call fcn.00406be3
mov dword [ebp - 0x220], eax
test eax, eax
je 0x415d0f
cmp dword [ebp + 0x10], 0
lea eax, [ebp - 0x224]
push eax
push 9
pop eax
mov ecx, 0x109
cmove ecx, eax
push ecx
push edi
push ebx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415d0f
push edi
push edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea eax, [ebp - 0x23c]
push edi
push edi
push edi
push edi
push edi
push eax
push edi
push edi
push edi
push dword [ebp - 0x224]
call ebx
test eax, eax
je 0x415bda
push eax
lea eax, [ebp - 0x21c]
push str.RegQueryInfoKey___failed._Error:__d
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x415b83
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406aae
mov eax, dword [ebp - 0x21c]
push 7
mov esi, 0x493f4c
push eax
mov ecx, esi
call fcn.0040c5b8
push dword [ebp - 0x230]
push str.IN_Operations::_DetermineIsKeyOrValue_:_Error_getting_number_of_subkeys_of__s
lea eax, [ebp - 0x21c]
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x415bc6
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406aae
push 4
push dword [ebp - 0x21c]
mov ecx, esi
call fcn.0040c5b8
jmp 0x415d0f
mov esi, edi
cmp dword [ebp - 0x23c], esi
jbe 0x415c35
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0x104
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x415c35
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x220]
call fcn.00435a9e
pop ecx
pop ecx
test eax, eax
je 0x415ca6
inc esi
cmp esi, dword [ebp - 0x23c]
jb 0x415be4
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x240]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x224]
call ebx
test eax, eax
je 0x415cab
push eax
lea eax, [ebp - 0x21c]
push str.RegQueryInfoKey___failed._Error:__d
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x415c87
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406aae
mov eax, dword [ebp - 0x21c]
push 7
mov esi, 0x493f4c
push eax
mov ecx, esi
call fcn.0040c5b8
push dword [ebp - 0x230]
push str.IN_Operations::_DetermineIsKeyOrValue_:_Error_getting_number_of_values_in__s
jmp 0x415b9d
xor edi, edi
inc edi
jmp 0x415d0f
mov esi, edi
cmp dword [ebp - 0x240], esi
jbe 0x415d0f
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x415d0f
test eax, eax
jne 0x415d0f
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
call fcn.00435a9e
pop ecx
pop ecx
test eax, eax
je 0x415d0c
inc esi
cmp esi, dword [ebp - 0x240]
jb 0x415cb5
jmp 0x415d0f
push 2
pop edi
cmp dword [ebp - 0x224], 0
je 0x415d24
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov ecx, dword [ebp - 0x238]
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00406c57
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00406c57
mov eax, edi
call fcn.0042dbb5
ret