Function at 0x415d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490ad8
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.00482270
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push edi
push esi
push edx
push ecx
push eax
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x102c], edx
mov dword [ebp - 0x1024], edi
mov dword [ebp - 0x1034], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [esi]
mov dword [ebp - 0x1030], eax
cmp esi, 1
jne 0x415fac
cmp dword [0x4cf900], 0
je 0x4161ae
cmp dword [0x4cf8fc], 0
je 0x4161ae
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x1014], eax
mov eax, 0x4a6204
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x415e41
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.00401690
add esp, 8
test eax, eax
je 0x415e51
push esi
push eax
lea ecx, [ebp - 0x1014]
call fcn.00401850
jmp 0x415e51
mov ebx, 0x4a6204
lea edi, [ebp - 0x1014]
call fcn.00401440
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x1014]
push 0x5c
push esi
call fcn.0046e96e
add esp, 8
test eax, eax
jne 0x415e72
or eax, 0xffffffff
jmp 0x415e76
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
lea esi, [ebp - 0x101c]
lea edx, [ebp - 0x1014]
call fcn.004013e0
mov esi, eax
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x1018], eax
mov ecx, 0x4a6218
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x415edd
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401690
add esp, 8
test eax, eax
je 0x415eed
push edi
push eax
lea ecx, [ebp - 0x1018]
call fcn.00401850
jmp 0x415eed
mov ebx, 0x4a6218
lea edi, [ebp - 0x1018]
call fcn.00401440
mov eax, dword [ebp - 0x1034]
mov edx, dword [ebp - 0x1024]
mov edi, dword [ebp - 0x1030]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [ebp - 0x102c]
push ecx
mov ecx, dword [ebp - 0x1020]
push edx
mov edx, dword [ebp - 0x1028]
push eax
mov eax, dword [esi]
mov esi, dword [ebp - 0x1018]
push ecx
push edx
push edi
push 0x38
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4a6238
push 0xffffffffffffffff
lea ecx, [ebp - 0x810]
push 0x400
push ecx
call fcn.0046e8cd
lea eax, [esi - 0x10]
add esp, 0x3c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415f6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x101c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415f94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4cf8fc]
test eax, eax
je 0x416183
lea ecx, [ebp - 0x810]
jmp 0x41617b
cmp esi, 4
jne 0x4161ae
cmp dword [0x4cf900], 0
je 0x4161ae
cmp dword [0x4cf8fc], 0
je 0x4161ae
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x1014], eax
mov ecx, 0x4a6204
mov dword [ebp - 4], esi
test ecx, 0xffff0000
jne 0x41601b
mov edx, ecx
movzx esi, dx
push 0
push esi
call fcn.00401690
add esp, 8
test eax, eax
je 0x41602b
push esi
push eax
lea ecx, [ebp - 0x1014]
call fcn.00401850
jmp 0x41602b
mov ebx, 0x4a6204
lea edi, [ebp - 0x1014]
call fcn.00401440
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x1014]
push 0x5c
push esi
call fcn.0046e96e
add esp, 8
test eax, eax
jne 0x41604c
or eax, 0xffffffff
jmp 0x416050
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
lea esi, [ebp - 0x101c]
lea edx, [ebp - 0x1014]
call fcn.004013e0
mov esi, eax
mov byte [ebp - 4], 6
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x1018], eax
mov eax, 0x4a6218
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x4160b5
mov ecx, eax
movzx edi, cx
push 0
push edi
call fcn.00401690
add esp, 8
test eax, eax
je 0x4160c5
push edi
push eax
lea ecx, [ebp - 0x1018]
call fcn.00401850
jmp 0x4160c5
mov ebx, 0x4a6218
lea edi, [ebp - 0x1018]
call fcn.00401440
mov edx, dword [ebp - 0x1034]
mov ecx, dword [ebp - 0x1024]
mov edi, dword [ebp - 0x1030]
mov byte [ebp - 4], 6
mov eax, dword [edx]
mov edx, dword [ebp - 0x102c]
push eax
mov eax, dword [ebp - 0x1020]
push ecx
mov ecx, dword [ebp - 0x1028]
push edx
mov edx, dword [esi]
mov esi, dword [ebp - 0x1018]
push eax
push ecx
push edi
push 0x3d
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4a62d8
push 0xffffffffffffffff
lea eax, [ebp - 0x1010]
push 0x400
push eax
call fcn.0046e8cd
lea eax, [esi - 0x10]
add esp, 0x3c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416146
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x101c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41616c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4cf8fc]
test eax, eax
je 0x416183
lea ecx, [ebp - 0x1010]
push ecx
push 0x20
call eax
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4161ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret