Function at 0x4358c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584c86
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x868], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x810]
mov edi, dword [ebp + 0xc]
push 0x800
push 0
push eax
mov dword [ebp - 0x864], esi
call fcn.00556260
xor eax, eax
mov dword [ebp - 0x840], 0
add esp, 0xc
mov dword [ebp - 0x864], 0x800
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
mov dword [ebp - 4], eax
mov eax, edi
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x85c], edi
jb 0x435962
mov eax, dword [edi]
mov dword [ebp - 0x85c], eax
test ecx, ecx
je 0x435bd3
mov edx, eax
mov eax, dword [ebp - 0x85c]
cmp word [eax], 0x40
je 0x435987
cmp ecx, 1
je 0x43598b
add edx, 2
dec ecx
cmp word [edx], 0x40
jne 0x435978
mov eax, edx
jmp 0x43598d
xor eax, eax
test eax, eax
je 0x435bd3
sub eax, dword [ebp - 0x85c]
sar eax, 1
mov dword [ebp - 0x860], eax
cmp eax, 0xffffffff
je 0x435bd3
xor ecx, ecx
mov dword [ebp - 0x828], 0
cmp dword [edi + 0x10], eax
mov word [ebp - 0x828], cx
mov ecx, eax
cmovb ecx, dword [edi + 0x10]
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
jb 0x4359f0
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00425810
mov byte [ebp - 4], 1
xor eax, eax
mov edx, dword [ebp - 0x860]
mov dword [ebp - 0x858], 0
inc edx
mov word [ebp - 0x858], ax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
cmp eax, edx
jb 0x435c16
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x435a4d
mov edi, dword [edi]
push ecx
lea eax, [edi + edx*2]
push eax
lea ecx, [ebp - 0x858]
call fcn.00425810
mov ecx, dword [ebp - 0x868]
lea eax, [ebp - 0x860]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x860], 0
call fcn.004355a0
mov edi, dword [ebp - 0x860]
test edi, edi
je 0x435b62
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x85c]
push ecx
push 0x20019
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x435af5
mov eax, dword [ebp - 0x85c]
test eax, eax
jne 0x435b6c
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x85c]
push ecx
push 0x20119
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x435b62
mov ecx, dword [ebp - 0x85c]
test ecx, ecx
je 0x435b73
cmp dword [ebp - 0x844], 8
lea edx, [ebp - 0x864]
push edx
lea edx, [ebp - 0x810]
push edx
push 0
lea eax, [ebp - 0x858]
cmovae eax, dword [ebp - 0x858]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x435b62
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435b40
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.00425810
mov eax, dword [ebp - 0x85c]
test eax, eax
je 0x435b73
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x840]
mov dword [esi], 0
lea ecx, [ebp - 0x858]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x840], ax
movq xmm0, qword [ebp - 0x830]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
call fcn.004257b0
lea ecx, [ebp - 0x828]
call fcn.004257b0
jmp 0x435bec
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x840]
call fcn.004257b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553daa
mov esp, ebp
pop ebp
ret 8
call fcn.00426d30
int3