Function at 0x10015b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100817ce
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], 0
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10015fdc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push str.Capabiliti
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push str.SOFTWAREXDImageShow_ses
push eax
call fcn.10007310
add esp, 0xc
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10015fe6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push str.eredApplic
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str.SOFTWARERegist_sations
push eax
call fcn.10007310
sub esp, 8
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push dword [ebp - 0x2c]
push SysReAllocString
call fcn.10001820
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x10015c98
test esi, esi
je 0x10015c98
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015c70
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.XDImageShow
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x10015ca3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x14
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push esi
push SysReAllocString
call fcn.10001820
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x10015ce7
push 0x18
push str.XDImageShow
push 1
push 0
push str.ApplicationName
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x10015cf3
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call eax
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 2
push eax
mov edx, 0x1009352c
lea ecx, [ebp - 0x34]
call fcn.1001ace0
add esp, 4
push str.___0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.1000c1f0
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
mov dword [ebp - 0x38], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015d47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
sub esp, 0x14
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push esi
push SysReAllocString
call fcn.10001820
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x10015da8
test ebx, ebx
je 0x10015da8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015d80
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push str.ApplicationIcon
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x10015db5
push edi
call ebx
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015ddb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x14
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push esi
push SysReAllocString
call fcn.10001820
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x10015e1f
push 0xa
push 0x1009202c
push 1
push 0
push str.ApplicationDescription
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x10015e26
push edi
call ebx
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10015ff0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push str.Associati
push esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push str._sFile_sons
push eax
call fcn.10007310
mov edi, dword [ebp - 0x24]
push ecx
push edi
push SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.10001820
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
cmp ebx, eax
je 0x10015f57
or esi, 0xffffffff
mov edi, eax
push ebx
mov edx, str.XDImageShow.
lea ecx, [ebp - 0x38]
call fcn.1001ace0
or dword [ebp - 0x34], 1
add esp, 4
push ebx
mov edx, 0x10093674
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.1001ace0
add esp, 4
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10015f0e
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x30], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10015ee5
sub edx, dword [ebp - 0x30]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015f28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015f46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, edi
jne 0x10015ea7
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
or ebx, 0xffffffff
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10015f75
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10015f84
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015fa2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10015fbe
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
int3