Function at 0x436070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f08bb
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x673f64]
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 - 0x870], edx
cmp dword [ecx + 0x14], 8
jb 0x4360ab
mov ecx, dword [ecx]
lea eax, [ebp - 0x868]
push eax
push 0x20219
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436372
push 0x64
push eax
mov dword [ebp - 0x86c], eax
lea eax, [ebp - 0x74]
push eax
call fcn.005ae810
add esp, 0xc
mov dword [ebp - 0x848], 0x32
lea eax, [ebp - 0x848]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push dword [ebp - 0x868]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x436366
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x860], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x860], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436150
sub ecx, edx
lea eax, [ebp - 0x74]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x860]
call fcn.004059d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x860]
mov edi, dword [ebp - 0x84c]
cmp edi, 8
mov esi, dword [ebp - 0x860]
mov edx, dword [ebp - 0x850]
cmovae ecx, esi
push 6
push str.regApp
push 0
call fcn.0040eb80
add esp, 0xc
test eax, eax
jne 0x4362dc
push 0x7d0
push eax
lea eax, [ebp - 0x844]
push eax
call fcn.005ae810
add esp, 0xc
mov dword [ebp - 0x864], 0x7d0
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x844]
push eax
push 0
lea eax, [ebp - 0x74]
push eax
push 0
push dword [ebp - 0x868]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4362d0
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x878], eax
mov word [ebp - 0x888], ax
lea eax, [ebp - 0x844]
mov dword [ebp - 0x874], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436220
sub eax, edx
lea ecx, [ebp - 0x888]
sar eax, 1
push eax
lea eax, [ebp - 0x844]
push eax
call fcn.004059d0
mov ecx, dword [ebp - 0x870]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x43627f
movups xmm0, xmmword [ebp - 0x888]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x878]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov word [ebp - 0x888], ax
jmp 0x436292
lea edx, [ebp - 0x888]
push edx
push eax
call fcn.00438fb0
mov edx, dword [ebp - 0x874]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4362d0
mov ecx, dword [ebp - 0x888]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4362c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43638d
push edx
push ecx
call fcn.0058a7f7
add esp, 8
mov esi, dword [ebp - 0x860]
mov edi, dword [ebp - 0x84c]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x436317
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x43630d
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43638d
push edi
push esi
call fcn.0058a7f7
add esp, 8
mov esi, dword [ebp - 0x86c]
lea eax, [ebp - 0x74]
push 0x64
push 0
inc esi
push eax
mov dword [ebp - 0x86c], esi
call fcn.005ae810
add esp, 0xc
mov dword [ebp - 0x848], 0x32
lea eax, [ebp - 0x848]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0x868]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x436120
push dword [ebp - 0x868]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.0058a7e9
mov esp, ebp
pop ebp
ret
call fcn.005b1b1f
int3