Function at 0x418670
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a4a06
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
xor ebx, ebx
push 0x37
mov edi, 0xf
push str.SoftwareDeezerMusicDownloaderRegDeezerMusicDownloader
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.004090e0
mov dword [esp + 0x2c8], ebx
mov eax, dword [esp + 0x64]
mov ebp, 0x10
cmp dword [esp + 0x78], ebp
jae 0x4186fb
lea eax, [esp + 0x64]
lea ecx, [esp + 0x18]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4188b1
push 0x1ff
lea edx, [esp + 0xc1]
push ebx
push edx
mov byte [esp + 0xc8], bl
call fcn.00455040
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push str.Value
push eax
mov dword [esp + 0x34], 0x200
call esi
test eax, eax
jne 0x4188b1
push edi
push str.TangTangLiuJun
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004090e0
lea eax, [esp + 0xbc]
mov byte [esp + 0x2c8], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418793
sub eax, edx
push eax
lea ecx, [esp + 0xc0]
push ecx
lea eax, [esp + 0x4c]
call fcn.00408fd0
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebp
jae 0x4187bc
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
call fcn.00417bd0
push 0x3f
lea edx, [esp + 0x81]
push ebx
push edx
mov byte [esp + 0x88], bl
call fcn.00455040
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push str.KeyValue
push eax
mov dword [esp + 0x34], 0x40
call esi
test eax, eax
je 0x41883a
cmp dword [esp + 0x40], ebp
jb 0x41881d
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00442977
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], ebp
jb 0x4188b1
mov edx, dword [esp + 0x48]
push edx
jmp 0x4188a9
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x2c]
mov ecx, edi
cmp esi, ebp
jae 0x41884c
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x7c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x418870
cmp dl, bl
je 0x41886c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418870
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x418850
xor eax, eax
jmp 0x418875
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x418881
mov dword [esp + 0x20], 1
cmp esi, ebp
jb 0x41888e
push edi
call fcn.00442977
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], ebp
jb 0x4188b1
mov eax, dword [esp + 0x48]
push eax
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4188c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x78], ebp
jb 0x4188d3
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0044e200
add esp, 0x2b8
ret