Function at 0x41ec10
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x539dc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x244], 0
mov eax, dword [0x5ab980]
mov dword [esp + 0x24], 0x200
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24c]
mov byte [esp + 0x244], 3
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41eee4
mov ecx, dword [esp + 0x250]
mov eax, dword [ecx - 8]
test eax, eax
je 0x41eee4
lea edx, [esp + 0x24c]
push edx
call fcn.0041f9c0
lea eax, [esp + 0x254]
push eax
call fcn.0041f9c0
mov ecx, dword [esp + 0x254]
push 0x20019
push ecx
call fcn.0041e3a0
mov edx, dword [esp + 0x260]
push 0x20006
push edx
mov ebp, eax
call fcn.0041e3a0
add esp, 0x18
mov dword [esp + 0x14], eax
test ebp, ebp
jne 0x41ecce
or esi, 0xffffffff
jmp 0x41ee7e
test eax, eax
jne 0x41ed4d
mov eax, dword [0x5ab980]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x250]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
mov byte [esp + 0x250], 4
call fcn.0041f330
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x244], 3
lea ecx, [esp + 0x10]
jne 0x41ed44
call fcn.005128e4
jmp 0x41ee73
call fcn.005128e4
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.0041eaf0
add esp, 8
test eax, eax
jl 0x41ee70
lea edx, [esp + 0x30]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edx
push 0
push 0
lea eax, [esp + 0x30]
push 0
lea ecx, [esp + 0x4c]
push eax
push ecx
push 0
push ebp
mov edi, 1
call ebx
mov esi, eax
test esi, esi
jne 0x41ee73
lea edx, [esp + 0x3c]
lea eax, [esp + 0x24c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00512b79
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x248], 5
call fcn.00512a1d
lea ecx, [esp + 0x20]
mov byte [esp + 0x244], 3
call fcn.005128e4
lea edx, [esp + 0x3c]
lea eax, [esp + 0x250]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00512b79
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 6
call fcn.00512a1d
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 3
call fcn.005128e4
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00512659
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x250], 7
call fcn.00512659
mov byte [esp + 0x24c], 3
call fcn.0041ec10
add esp, 8
test eax, eax
jl 0x41ee70
lea ecx, [esp + 0x30]
lea edx, [esp + 0x24]
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x4c]
mov eax, edi
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x44], 0x200
inc edi
call ebx
mov esi, eax
test esi, esi
je 0x41ed8e
jmp 0x41ee73
or esi, 0xffffffff
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41ee89
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x41ee93
xor esi, esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 2
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 1
call fcn.005128e4
lea ecx, [esp + 0x24c]
mov byte [esp + 0x244], 0
call fcn.005128e4
lea ecx, [esp + 0x250]
mov dword [esp + 0x244], 0xffffffff
call fcn.005128e4
mov eax, esi
jmp 0x41ef34
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 2
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 1
call fcn.005128e4
lea ecx, [esp + 0x24c]
mov byte [esp + 0x244], 0
call fcn.005128e4
lea ecx, [esp + 0x250]
mov dword [esp + 0x244], 0xffffffff
call fcn.005128e4
or eax, 0xffffffff
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x238
ret