Function at 0x4305e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x47ee3b
call fcn.00459afc
sub esp, 0x510
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x3c], esi
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], 0x104
mov dword [ebp - 0x34], eax
call fcn.00403696
mov byte [ebp - 4], 2
cmp dword [ebp + 0x24], 0x10
mov eax, dword [ebp + 0x10]
jae 0x430628
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x20]
push 0x48460c
push eax
call fcn.00401ada
add esp, 0xc
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430892
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x51c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x430892
mov eax, dword [ebp - 0x1c]
add dword [ebp + 0x44], eax
mov dword [ebp - 0x18], ebx
cmp eax, ebx
jbe 0x430892
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x31c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x38], 0xff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x430883
lea ecx, [ebp - 0x14]
call fcn.00403696
mov byte [ebp - 4], 3
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c7d1
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], 0xf
call fcn.004012f2
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x11c]
call fcn.0040a5ff
mov byte [ebp - 4], 5
push dword [eax]
lea ecx, [ebp - 0x60]
call fcn.00401867
mov byte [ebp - 4], 4
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x11c], eax
je 0x430724
push dword [ebp - 0x11c]
call fcn.0045bfdc
pop ecx
push edi
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a699
mov byte [ebp - 4], 6
push 0x48935c
push eax
call fcn.0040a87b
pop ecx
pop ecx
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004208c9
cmp byte [ebp - 0xd], bl
je 0x4307cb
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a699
mov byte [ebp - 4], 7
mov eax, dword [eax]
push ebx
add esi, 4
push eax
mov ecx, esi
call fcn.0040a3c3
cmp eax, 0xffffffff
sete byte [ebp - 0xd]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004208c9
cmp byte [ebp - 0xd], bl
je 0x4307cb
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea eax, [ebp - 0x24]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a699
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.004064b8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004208c9
push 0x4884b0
mov ecx, esi
call fcn.0040c7d1
cmp dword [ebp + 0x20], ebx
je 0x430829
push 0x48688c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00427a99
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
push ecx
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00427a3d
add esp, 0x18
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x60]
call fcn.0040173a
mov byte [ebp - 4], 9
push ebx
push edi
lea ecx, [ebp - 0x98]
call fcn.004013ee
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x7c]
call fcn.004013ee
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.nothing
call fcn.00401a15
mov byte [ebp - 4], 0xb
sub esp, 0x1c
lea eax, [ebp - 0x60]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.0040183e
mov byte [ebp - 4], 0xc
push dword [ebp - 0x34]
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.00430a77
add dword [ebp + 0x44], eax
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.004013ee
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004208c9
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x430691
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004208c9
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.004013ee
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp + 0x28]
call fcn.004013ee
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x40