Function at 0x41e7f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fc60
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5bf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
push 0x24
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x34], ebx
call fcn.004b92c6
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41ea35
mov dword [edi], edi
mov dword [ebp - 0x38], edi
mov dword [edi + 4], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
mov edi, edi
push 0x80
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00404000
mov esi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x3c]
push ebx
push ebx
push ebx
sub ecx, esi
sar ecx, 1
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edx]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x40]
push esi
push ecx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x41e92a
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e8b0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403510
mov eax, dword [edi + 4]
lea edx, [ebp - 0x2c]
push edx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00419570
mov ecx, 0x9249248
sub ecx, dword [ebp - 0x34]
cmp ecx, 1
jb 0x41e920
inc dword [ebp - 0x34]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [ebp - 0x18], 8
jb 0x41e908
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x41e918
push esi
call fcn.004b8946
add esp, 4
inc dword [ebp - 0x40]
jmp 0x41e850
push str.list_T__too_long
call fcn.00469b17
cmp eax, 0x103
jne 0x41e9e8
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x41e945
push esi
call fcn.004b8946
add esp, 4
mov esi, dword [ebp - 0x4c]
push 0x24
mov dword [esi + 4], ebx
call fcn.004b92c6
add esp, 4
cmp eax, ebx
je 0x41e9c4
mov dword [esi], eax
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 4], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
cmp esi, eax
je 0x41e990
mov ecx, esi
call fcn.00418510
mov edx, dword [ebp - 0x34]
cmp edx, ebx
je 0x41e990
mov eax, dword [edi]
mov ecx, dword [esi]
mov ecx, dword [ecx]
push edx
push edi
push eax
lea edx, [ebp - 0x38]
push edx
push ecx
mov ecx, esi
call fcn.0040cbb0
lea ecx, [ebp - 0x38]
call fcn.00418510
mov eax, dword [ebp - 0x38]
push eax
call fcn.004b8946
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004b912a
push 0x5a0f40
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::bad_alloc.0
push edx
call fcn.004b9346
mov edi, dword [ebp - 0x4c]
push 0x24
mov dword [edi + 4], ebx
call fcn.004b92c6
add esp, 4
cmp eax, ebx
je 0x41ea2d
mov dword [edi], eax
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
cmp esi, ebx
je 0x41ea12
push esi
call fcn.004b8946
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00418510
mov eax, dword [ebp - 0x38]
push eax
call fcn.004b8946
add esp, 4
mov eax, edi
jmp 0x41e9a6
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x3c]
jmp 0x41e9ca
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x48], ebx
call fcn.004b912a
push 0x5a0f40
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], vtable.std::bad_alloc.0
push ecx
jmp 0x41e9e3