Function at 0x4346e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6578
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x672014]
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 edi, edx
mov dword [ebp - 0x4c], ecx
mov ebx, dword [ebp + 8]
push ecx
push 0x64
lea ecx, [ebp - 0x38]
call fcn.00434e40
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
sar eax, 1
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
push ecx
push eax
mov eax, dword [ebp - 0x4c]
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x434891
cmp eax, 0xea
jne 0x434781
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x434891
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.004354a0
jmp 0x434727
test eax, eax
jne 0x434727
inc esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x38]
push 0x20019
push eax
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
push dword [eax]
call fcn.00435b20
test eax, eax
jne 0x43486c
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x44]
call fcn.004344a0
test al, al
je 0x43485e
cmp dword [ebp - 0x50], 0
jbe 0x43485e
lea ecx, [ebp - 0x28]
call fcn.00407dfc
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x2c], 0
call fcn.004342c0
test al, al
je 0x434815
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
sete al
test al, al
jne 0x434815
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004352d0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push str.release
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434852
cmp dword [ebp - 0x58], 4
jne 0x434852
cmp dword [ebp - 0x2c], eax
jbe 0x434852
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00419400
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00407420
push ebx
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.004346e0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x434885
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
jmp 0x434727
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x434907
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
cmp eax, 0x7fffffff
jbe 0x4348b2
call fcn.005bcb11
add eax, eax
cmp eax, 0x1000
jb 0x4348e9
test cl, 0x1f
je 0x4348c5
call fcn.005bcb11
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4348d1
call fcn.005bcb11
sub ecx, eax
cmp ecx, 4
jae 0x4348dd
call fcn.005bcb11
cmp ecx, 0x23
jbe 0x4348e7
call fcn.005bcb11
mov ecx, eax
push ecx
call fcn.0046f3d1
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
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.005b5208
mov esp, ebp
pop ebp
ret