Function at 0x411070
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580650
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5ed80c]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x40], esi
push 0x24
cmp dword [ecx], ebx
jne 0x41110b
mov dword [esi + 4], ebx
call fcn.0055b782
add esp, 4
cmp eax, ebx
je 0x4110e7
mov dword [esi], eax
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 4], eax
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.0055bc32
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
call fcn.0055b5ba
push 0x5cc520
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], vtable.std::bad_alloc.0
call fcn.0055b802
mov dword [ebp - 0x38], ebx
call fcn.0055b782
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4112f2
mov dword [edi], edi
mov dword [ebp - 0x3c], edi
mov dword [edi + 4], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], 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.00405a60
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x30]
push ebx
push ebx
push ebx
sub edx, esi
sar edx, 1
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x44]
push esi
push edx
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x41120a
xor edx, edx
mov eax, esi
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411190
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401c40
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
push ecx
push edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0040ee00
mov edx, 0x9249248
sub edx, dword [ebp - 0x38]
cmp edx, 1
jb 0x411200
inc dword [ebp - 0x38]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [ebp - 0x18], 8
jb 0x4111e8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0055ae44
add esp, 4
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x4111f8
push esi
call fcn.0055ae44
add esp, 4
inc dword [ebp - 0x44]
jmp 0x411130
push str.list_T__too_long
call fcn.00522d72
cmp eax, 0x103
jne 0x4112ad
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x411225
push esi
call fcn.0055ae44
add esp, 4
mov esi, dword [ebp - 0x40]
push 0x24
mov dword [esi + 4], ebx
call fcn.0055b782
add esp, 4
cmp eax, ebx
je 0x411289
mov dword [esi], eax
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 4], eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
cmp esi, ecx
je 0x411270
mov ecx, esi
call fcn.0040e940
mov edx, dword [ebp - 0x38]
cmp edx, ebx
je 0x411270
mov eax, dword [edi]
mov ecx, dword [esi]
mov ecx, dword [ecx]
push edx
push edi
push eax
lea edx, [ebp - 0x3c]
push edx
push ecx
mov ecx, esi
call fcn.0040a5f0
lea ecx, [ebp - 0x3c]
call fcn.0040e940
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0055ae44
add esp, 4
jmp 0x4110c7
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], ebx
call fcn.0055b5ba
push 0x5cc520
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], vtable.std::bad_alloc.0
call fcn.0055b802
mov edi, dword [ebp - 0x40]
push 0x24
mov dword [edi + 4], ebx
call fcn.0055b782
add esp, 4
cmp eax, ebx
je 0x411289
mov dword [edi], eax
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
cmp esi, ebx
je 0x4112d7
push esi
call fcn.0055ae44
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.0040e940
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0055ae44
add esp, 4
mov eax, edi
jmp 0x4110c9
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x48], ebx
call fcn.0055b5ba
push 0x5cc520
lea ecx, [ebp - 0x74]
push ecx
mov dword [ebp - 0x74], vtable.std::bad_alloc.0
call fcn.0055b802
int3