Function at 0x41fa7f
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x482d38
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4c058c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x4c058c]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
xor ebx, ebx
xor eax, eax
push ebx
mov word [esp + 0x5c], ax
mov esi, 0x104
push esi
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
call fcn.0040c4a0
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x41fb0d
lea eax, [esp + 0x58]
push esi
push ebx
push eax
call fcn.00411dd0
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x68], esi
jae 0x41fb2b
lea eax, [esp + 0x58]
xor ecx, ecx
mov word [eax + 0x208], cx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xd8], 1
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
jae 0x41fb66
lea eax, [esp + 0x58]
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x4c]
push ecx
push eax
push dword [esp + 0x34]
push dword [esp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x41fd93
cmp dword [esp + 0x6c], 8
mov edi, dword [esp + 0x58]
mov byte [esp + 0x17], bl
jae 0x41fba1
lea edi, [esp + 0x58]
call fcn.004231d8
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x41fbb5
lea eax, [esp + 0x58]
lea ecx, [esp + 0x90]
call fcn.00413200
mov byte [esp + 0xd8], 2
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x90]
add esi, 0x40
push eax
lea edi, [esp + 0x58]
mov dword [esp + 0x34], esi
call fcn.00422274
mov edi, dword [eax]
mov byte [esp + 0xd8], 1
lea esi, [esp + 0x90]
call fcn.0040c150
mov eax, dword [esp + 0x20]
cmp edi, dword [eax + 0x44]
je 0x41fc27
mov edi, dword [edi + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
cmp eax, dword [edi + 4]
ja 0x41fc82
jb 0x41fd93
mov eax, dword [esp + 0x28]
cmp eax, dword [edi]
ja 0x41fc82
jmp 0x41fd93
push 0x20
call fcn.0046416f
pop ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0xd8], 3
cmp ecx, ebx
je 0x41fc5b
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov byte [ecx + 0x18], 1
mov edi, ecx
jmp 0x41fc5d
xor edi, edi
mov byte [esp + 0xd8], 1
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x41fd93
mov esi, dword [ebp + 0x14]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x74]
call fcn.00413200
mov byte [esp + 0xd8], 4
lea eax, [esp + 0x74]
push eax
mov eax, 0x496b80
call fcn.004054c0
push ebx
lea eax, [esp + 0x5c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.00407500
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x41fcc8
mov eax, esi
lea ecx, [esp + 0x24]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fd75
push dword [ebp + 0x14]
mov ebx, dword [esp + 0x28]
push dword [esp + 0x24]
mov ecx, edi
call fcn.0041f9c6
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
cmp dword [esp + 0x6c], 8
mov edi, dword [esp + 0x58]
jae 0x41fd15
lea edi, [esp + 0x58]
call fcn.004231d8
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x41fd29
lea eax, [esp + 0x58]
lea ecx, [esp + 0xac]
call fcn.00413200
mov byte [esp + 0xd8], 5
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xac]
call fcn.00422177
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov byte [esp + 0xd8], 4
lea esi, [esp + 0xac]
call fcn.0040c150
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x41fd82
cmp byte [esp + 0x17], bl
je 0x41fd82
push edi
call fcn.00463bcc
pop ecx
mov byte [esp + 0xd8], 1
lea esi, [esp + 0x74]
call fcn.0040c150
inc dword [esp + 0x1c]
cmp dword [esp + 0x38], ebx
je 0x41fb4f
mov byte [esp + 0xd8], bl
lea esi, [esp + 0x44]
call fcn.00407870
or dword [esp + 0xd8], 0xffffffff
lea esi, [esp + 0x58]
call fcn.0040c150
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00463bd7
mov esp, ebp
pop ebp
ret 0x10