Function at 0x10013570
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046d28
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1005a750]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100132e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
cmovae eax, dword [ebp - 0x64]
push eax
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], 0
call fcn.1000ea90
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100135e5
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.1000e760
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x20], 8
jb 0x10013608
push dword [ebp - 0x34]
call fcn.1001a916
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x80]
push esi
push eax
mov dword [ebp - 0x24], 0
call fcn.10013390
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.1000ef00
cmp dword [ebp - 0x6c], 8
jb 0x10013644
push dword [ebp - 0x80]
call fcn.1001a916
add esp, 4
mov esi, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
mov ecx, esi
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jbe 0x100136d0
mov ebx, dword [ebp - 0x68]
push ebx
push edi
lea ecx, [edi + 0x18]
mov edx, esi
call fcn.10017c70
mov esi, dword [ebp - 0x18]
add esp, 8
lea edi, [esi - 0x18]
cmp edi, esi
je 0x100136ad
cmp dword [edi + 0x14], 8
jb 0x10013690
push dword [edi]
call fcn.1001a916
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
add edi, 0x18
cmp edi, esi
jne 0x10013680
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub esi, 0x18
mov ecx, esi
mov dword [ebp - 0x18], esi
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
ja 0x10013667
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 5
cmp edi, esi
je 0x1001376e
xor eax, eax
mov dword [ebp - 0x20], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.1000f1c0
push 0x10051a08
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.10010030
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.1000fa70
cmp dword [ebp - 0x6c], 8
jb 0x10013749
push dword [ebp - 0x80]
call fcn.1001a916
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x20], 8
jb 0x1001375e
push dword [ebp - 0x34]
call fcn.1001a916
add esp, 4
add edi, 0x18
cmp edi, esi
jne 0x100136f0
cmp dword [ebp - 0x38], 8
mov esi, dword [ebp - 0x4c]
jae 0x10013771
lea esi, [ebp - 0x4c]
cmp dword [ebp - 0x50], 8
lea edi, [ebp - 0x64]
cmovae edi, dword [ebp - 0x64]
test esi, esi
je 0x10013789
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x1001378b
xor eax, eax
lea eax, [eax*2 + 4]
push eax
push esi
push 1
push edi
push 0x10051a0c
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0x38], 8
jb 0x100137b8
push dword [ebp - 0x4c]
call fcn.1001a916
add esp, 4
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
test esi, esi
je 0x1001382b
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x1001380d
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x100137f0
push dword [esi]
call fcn.1001a916
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x100137e0
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1001a916
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x50], 8
jb 0x1001383c
push dword [ebp - 0x64]
call fcn.1001a916
add esp, 4
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.1001a15e
mov esp, ebp
pop ebp
ret 8