Function at 0x411f03
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xea94
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0xea6c], eax
lea ecx, [ebp - 0xea84]
mov dword [ebp - 0xea88], ebx
push ecx
push 0x20019
xor esi, esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x411f54
xor eax, eax
jmp 0x4121bf
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xea80]
mov dword [ebp - 0xea90], esi
push eax
lea eax, [ebp - 0x2718]
mov dword [ebp - 0xea80], 0x2710
push eax
push esi
push dword [ebp - 0xea84]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4121ac
lea eax, [ebp - 0x2718]
push eax
push dword [ebp - 0xea6c]
lea eax, [ebp - 0xea68]
push 0x6c643c
push 0x2710
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xea7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xea68]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412178
xor ecx, ecx
lea eax, [ebp - 0xea78]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x7538]
mov dword [ebp - 0xea8c], ecx
push eax
push ecx
jmp 0x412156
lea eax, [ebp - 0x7538]
push eax
lea eax, [ebp - 0x2718]
push eax
push dword [ebp - 0xea6c]
lea eax, [ebp - 0x4e28]
push 0x6c63f4
push 0x2710
push eax
call fcn.00402e0a
add esp, 0x18
lea eax, [ebp - 0xea74]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x4e28]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412134
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x4e28]
mov ecx, ebx
push eax
je 0x412069
call fcn.004115e3
jmp 0x41206e
call fcn.0041091a
xor ecx, ecx
mov dword [ebp - 0xea70], 0x2710
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0xea70]
mov ebx, ecx
push eax
lea eax, [ebp - 0xc358]
push eax
push ecx
push dword [ebp - 0xea74]
call esi
test eax, eax
jne 0x412126
mov edi, dword [ebp - 0xea88]
lea eax, [ebp - 0xc358]
push eax
lea eax, [ebp - 0x7538]
push eax
lea eax, [ebp - 0x2718]
push eax
push dword [ebp - 0xea6c]
lea eax, [ebp - 0x9c48]
push str._s_s_s_s
push 0x2710
push eax
call fcn.00402e0a
add esp, 0x1c
lea eax, [ebp - 0x9c48]
cmp dword [ebp + 0xc], 0
mov ecx, edi
push eax
je 0x4120ef
call fcn.004115e3
jmp 0x4120f4
call fcn.0041091a
xor eax, eax
mov dword [ebp - 0xea70], 0x2710
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xea70]
inc ebx
push eax
lea eax, [ebp - 0xc358]
push eax
push ebx
push dword [ebp - 0xea74]
call esi
test eax, eax
je 0x4120a5
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xea74]
call edi
mov ebx, dword [ebp - 0xea88]
mov eax, dword [ebp - 0xea8c]
inc eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0xea78]
mov dword [ebp - 0xea8c], eax
push ecx
lea ecx, [ebp - 0x7538]
push ecx
push eax
push dword [ebp - 0xea7c]
mov dword [ebp - 0xea78], 0x2710
call esi
test eax, eax
je 0x411ffe
push dword [ebp - 0xea7c]
call edi
mov eax, dword [ebp - 0xea90]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0xea80]
mov dword [ebp - 0xea80], 0x2710
push ecx
lea ecx, [ebp - 0x2718]
inc eax
push ecx
push eax
push dword [ebp - 0xea84]
mov dword [ebp - 0xea90], eax
call esi
test eax, eax
je 0x411f90
push dword [ebp - 0xea84]
call edi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 8