Function at 0x45be20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566c89
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
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 - 0xa8], ebx
push 0x24
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa0], ebx
call fcn.004b92c6
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x45c0ab
mov dword [edi], edi
mov dword [ebp - 0xa4], edi
mov dword [edi + 4], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x94], ebx
push 0x80
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
call fcn.00404000
mov esi, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
lea edx, [ebp - 0xc8]
push edx
mov edx, dword [ebp - 0xb0]
push ebx
push ebx
push ebx
sub ecx, esi
sar ecx, 1
lea eax, [ebp - 0x98]
push eax
mov eax, dword [edx]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 0x94]
push esi
push ecx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x45bf9a
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 0x45bf14
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 - 0xa4]
mov byte [ebp - 4], 2
call fcn.00419570
mov ecx, 0x9249248
sub ecx, dword [ebp - 0xa0]
cmp ecx, 1
jb 0x45bf90
inc dword [ebp - 0xa0]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [ebp - 0x18], 8
jb 0x45bf75
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x45bf85
push esi
call fcn.004b8946
add esp, 4
inc dword [ebp - 0x94]
jmp 0x45be93
push str.list_T__too_long
call fcn.00469b17
cmp eax, 0x103
jne 0x45c07d
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x45bfb5
push esi
call fcn.004b8946
add esp, 4
mov esi, dword [ebp - 0xac]
push 0x24
mov dword [esi + 4], ebx
call fcn.004b92c6
add esp, 4
cmp eax, ebx
je 0x45c04a
mov dword [esi], eax
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 4], eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp esi, eax
je 0x45c010
mov ecx, esi
call fcn.00418510
mov edx, dword [ebp - 0xa0]
cmp edx, ebx
je 0x45c010
mov eax, dword [edi]
mov ecx, dword [esi]
mov ecx, dword [ecx]
push edx
push edi
push eax
lea edx, [ebp - 0xa4]
push edx
push ecx
mov ecx, esi
call fcn.0040cbb0
lea esp, [esp]
lea ecx, [ebp - 0xa4]
call fcn.00418510
mov eax, dword [ebp - 0xa4]
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
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x98], ebx
call fcn.004b912a
push 0x5a0f40
lea edx, [ebp - 0xcc]
push edx
mov dword [ebp - 0xcc], vtable.std::bad_alloc.0
call fcn.004b9346
push 1
push str.mailru::reg_keyT_0_::subkeys
push str.C:_trunkSputnikLib_reg_key.hpp
push 0x10a
push eax
lea ecx, [ebp - 0x90]
call fcn.00403e00
push 0x5a15c8
lea eax, [ebp - 0x90]
push eax
call fcn.004b9346
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xa8], ebx
call fcn.004b912a
push 0x5a0f40
lea edx, [ebp - 0xd8]
push edx
mov dword [ebp - 0xd8], vtable.std::bad_alloc.0
call fcn.004b9346
int3