Function at 0x7cde7571
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
lea edi, [ebx + 0xc]
mov dword [ebx], 0x7cd75d50
mov dword [ebx + 4], 0x7cd75d30
mov dword [ebx + 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x1c]
mov dword [ebp - 4], eax
push ecx
push eax
movsd dword es:[edi], dword [esi]
push eax
push eax
push dword [ebp + 0x14]
lea esi, [ebx + 0x24]
mov dword [ecx], eax
mov dword [ebx + 0x28], eax
mov dword [esi], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
call fcn.7cde5b10
xor edi, edi
push esi
push edi
push 0x7cd75ca0
push edi
push dword [ebp + 0x14]
call fcn.7cde5b10
cmp eax, edi
jl 0x7cde760c
mov eax, dword [esi]
cmp eax, edi
je 0x7cde760c
cmp word [eax], di
je 0x7cde760c
lea eax, [ebx + 0x28]
mov dword [ebx + 0x20], 1
push eax
push edi
push 0x7cd75cc0
push edi
push dword [ebp + 0x14]
call fcn.7cde5b10
jmp 0x7cde7656
mov eax, dword [esi]
cmp eax, edi
je 0x7cde7622
cmp eax, 0x7ce4f774
je 0x7cde7620
push eax
call fcn.7cd8701a
pop ecx
mov dword [esi], edi
lea esi, [ebx + 0x38]
push esi
push edi
push 0x7cd75ce8
push edi
push dword [ebp + 0x14]
call fcn.7cde5b10
cmp eax, edi
jl 0x7cde7653
cmp dword [esi], 0x7ce4f774
jne 0x7cde764a
mov dword [ebx + 0x20], 2
jmp 0x7cde7656
mov dword [ebx + 0x20], 3
jmp 0x7cde7656
mov dword [ebx + 0x20], edi
push 2
lea eax, [ebp - 0x210]
pop esi
push 0x100
push eax
push edi
push 0x7cd75ac8
push edi
mov dword [ebx + 0x34], esi
push dword [ebp + 0x14]
call fcn.7cde5c90
cmp eax, edi
jl 0x7cde773e
cmp word [ebp - 0x210], di
je 0x7cde773e
lea eax, [ebp - 0x210]
push 0x7cd75ad8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cde76ae
mov dword [ebx + 0x34], 1
jmp 0x7cde773e
lea eax, [ebp - 0x210]
mov dword [ebx + 0x34], edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x210]
lea ecx, [ebp - 0x210]
cmp dx, di
je 0x7cde76dd
cmp dx, 0x5c
je 0x7cde76dd
mov dx, word [ecx + esi]
add ecx, esi
jmp 0x7cde76ca
cmp word [ecx], di
jne 0x7cde771e
lea eax, [eax + eax + 6]
push eax
call fcn.7cd8702d
cmp eax, edi
pop ecx
mov dword [ebx + 0x30], eax
je 0x7cde773e
push dword [0x7ce4c164]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
call esi
mov eax, dword [ebx + 0x30]
mov word [eax + 2], 0x5c
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebx + 0x30]
add eax, 4
push eax
call esi
jmp 0x7cde773e
lea eax, [eax + eax + 2]
push eax
call fcn.7cd8702d
cmp eax, edi
pop ecx
mov dword [ebx + 0x30], eax
je 0x7cde773e
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x210]
push 0x100
push eax
push edi
push 0x7cd75b00
push edi
push dword [ebp + 0x14]
mov dword [ebx + 0x2c], edi
call fcn.7cde5c90
cmp eax, edi
jl 0x7cde777b
cmp word [ebp - 0x210], 0x59
je 0x7cde7774
cmp word [ebp - 0x210], 0x79
jne 0x7cde777b
mov dword [ebx + 0x2c], 1
lea eax, [ebx + 0x40]
push eax
lea eax, [ebx + 0x3c]
push edi
push eax
push 0x7cd75b28
push dword [ebp + 0x14]
call fcn.7cde5e1a
cmp eax, edi
mov esi, 0x80040152
jl 0x7cde77a0
or dword [ebx + 0x54], 1
jmp 0x7cde77a8
cmp eax, esi
jne 0x7cde77a8
or dword [ebx + 0x54], 2
lea eax, [ebx + 0x48]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0x44]
push eax
push 0x7cd75b50
push dword [ebp + 0x14]
call fcn.7cde5e1a
cmp eax, edi
jl 0x7cde77d3
cmp dword [ebp - 4], edi
jne 0x7cde77d3
or dword [ebx + 0x54], 4
jmp 0x7cde77db
cmp eax, esi
jne 0x7cde77db
or dword [ebx + 0x54], 8
cmp dword [0x7ce4f784], edi
jne 0x7cde790d
mov ecx, 0x7ce4f6f0
call fcn.7ce2d132
cmp dword [0x7ce4f784], edi
jne 0x7cde7903
lea eax, [ebp - 0xc]
push eax
push 0x7cd75ba0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
jne 0x7cde7903
mov eax, dword [ebx + 0x58]
cmp eax, edi
je 0x7cde7827
push eax
call fcn.7cd8701a
pop ecx
mov eax, dword [ebx + 0x60]
lea esi, [ebx + 0x60]
cmp eax, edi
je 0x7cde783a
push eax
call fcn.7cd8701a
pop ecx
mov dword [esi], edi
lea eax, [ebx + 0x5c]
push eax
lea eax, [ebx + 0x58]
push edi
push eax
push 0x7cd75bd0
push dword [ebp - 0xc]
call fcn.7cde5e1a
cmp eax, edi
jge 0x7cde785e
lea eax, [ebx + 0x58]
push edi
push eax
call fcn.7cde5f4c
lea eax, [ebx + 0x64]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x7cd75c00
push dword [ebp - 0xc]
call fcn.7cde5e1a
cmp eax, edi
jge 0x7cde7888
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
call fcn.7cde5f4c
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x7cd75c30
mov dword [ebp + 0xc], 4
push dword [ebp - 0xc]
call esi
cmp eax, edi
jne 0x7cde78c4
cmp dword [ebp - 8], 4
jne 0x7cde78c4
cmp dword [ebp + 0xc], 4
jne 0x7cde78c4
mov eax, dword [ebp - 0x10]
mov dword [0x7ce4c168], eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x7cd75c68
push dword [ebp - 0xc]
call esi
cmp eax, edi
jne 0x7cde78fa
cmp dword [ebp - 8], 4
jne 0x7cde78fa
cmp dword [ebp + 0xc], 4
jne 0x7cde78fa
mov eax, dword [ebp - 0x10]
mov dword [0x7ce4c16c], eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x7ce4f6f0
call fcn.7ce2d33d
lea eax, [ebp + 0xc]
lea esi, [ebx + 0x4c]
push eax
lea eax, [ebp - 8]
push esi
push eax
push edi
push 0x7cd75b78
push dword [ebp + 0x14]
mov dword [ebp + 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x7cde793f
cmp dword [ebp - 8], 4
jne 0x7cde793f
cmp dword [ebp + 0xc], 4
je 0x7cde7946
mov eax, dword [0x7ce4c168]
mov dword [esi], eax
lea eax, [ebx + 0x50]
push eax
push 1
push 0x7cd75d08
push edi
push dword [ebp + 0x14]
call fcn.7cde5b10
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10