Function at 0x435830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5847c6
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.00556180
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 0x4358d2
mov eax, dword [edi]
mov dword [ebp - 0x85c], eax
test ecx, ecx
je 0x435b43
mov edx, eax
mov eax, dword [ebp - 0x85c]
cmp word [eax], 0x40
je 0x4358f7
cmp ecx, 1
je 0x4358fb
add edx, 2
dec ecx
cmp word [edx], 0x40
jne 0x4358e8
mov eax, edx
jmp 0x4358fd
xor eax, eax
test eax, eax
je 0x435b43
sub eax, dword [ebp - 0x85c]
sar eax, 1
mov dword [ebp - 0x860], eax
cmp eax, 0xffffffff
je 0x435b43
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 0x435960
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00425790
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 0x435b86
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x4359bd
mov edi, dword [edi]
push ecx
lea eax, [edi + edx*2]
push eax
lea ecx, [ebp - 0x858]
call fcn.00425790
mov ecx, dword [ebp - 0x868]
lea eax, [ebp - 0x860]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x860], 0
call fcn.00435510
mov edi, dword [ebp - 0x860]
test edi, edi
je 0x435ad2
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 0x435a65
mov eax, dword [ebp - 0x85c]
test eax, eax
jne 0x435adc
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 0x435ad2
mov ecx, dword [ebp - 0x85c]
test ecx, ecx
je 0x435ae3
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 0x435ad2
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435ab0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.00425790
mov eax, dword [ebp - 0x85c]
test eax, eax
je 0x435ae3
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.00425730
lea ecx, [ebp - 0x828]
call fcn.00425730
jmp 0x435b5c
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.00425730
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.00553cca
mov esp, ebp
pop ebp
ret 8
call fcn.00426cb0
int3