Function at 0x4178b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513eee
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x56cd6c]
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 esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
call fcn.004177f0
mov ecx, eax
test ecx, ecx
je 0x417af8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push edi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.004043a0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.00417b10
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417966
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
jne 0x417987
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040b020
mov esi, dword [ebp - 0x21c]
push 0x525468
push esi
call fcn.004bc443
add esp, 8
test eax, eax
jne 0x4179ea
add esi, 0xfffffff0
push esi
call fcn.00404810
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [ebx], eax
add esp, 4
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4179c2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x417ad8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x417ad8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049ffd0
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x224]
push str.SOFTWAREPCjiami
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x417a90
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417a52
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00405ac0
lea ecx, [ebp - 0x21c]
call fcn.004157d0
lea ecx, [ebp - 0x21c]
call fcn.00415720
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
push esi
call fcn.00404810
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [ebx], eax
add esp, 4
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417ab9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x417ad8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.004735b8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004046b0
int3