Function at 0x10032c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4136
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x1011449c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x658]
call fcn.10066190
push 1
lea ecx, [ebp - 0x658]
mov dword [ebp - 4], 0
call fcn.1006a020
lea eax, [ebp - 0x650]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x650], xmm0
call fcn.100535e0
add esp, 4
test al, al
jne 0x10032cc3
mov esi, 1
jmp 0x10032f1a
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x420]
push eax
push str.CLSID_s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10032f50
mov esi, eax
add esp, 0x10
test esi, esi
js 0x10032f0f
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x654]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x218]
mov esi, 0x80004005
push eax
push 0x80000000
call edi
test eax, eax
jne 0x10032f0f
push eax
push str.desk_band_name
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x658]
call fcn.100672b0
cmp dword [ebp - 0x630], 0
mov byte [ebp - 4], 1
jne 0x10032d74
push 0xf
push str.DeskBandToolset
lea ecx, [ebp - 0x640]
call fcn.10011460
mov edx, dword [ebp - 0x62c]
lea ecx, [ebp - 0x640]
cmp edx, 8
cmovae ecx, dword [ebp - 0x640]
lea eax, [ecx + 2]
mov dword [ebp - 0x65c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032d93
sub ecx, dword [ebp - 0x65c]
lea eax, [ebp - 0x640]
sar ecx, 1
cmp edx, 8
cmovae eax, dword [ebp - 0x640]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push 0
push dword [ebp - 0x654]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x654]
neg eax
sbb eax, eax
and esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 0
call fcn.10008e10
test esi, esi
js 0x10032f0f
lea eax, [ebp - 0x420]
push eax
push str.CLSID_sInprocServer32
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10032f50
mov esi, eax
add esp, 0x10
test esi, esi
js 0x10032f0f
push 0
lea eax, [ebp - 0x654]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0x80000000
call edi
mov esi, eax
test esi, esi
jle 0x10032e59
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x10032f0f
push 0x104
lea eax, [ebp - 0x628]
push eax
push dword [0x10118344]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10032eb7
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add eax, eax
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push 0
push dword [ebp - 0x654]
call edi
mov esi, eax
test esi, esi
jle 0x10032ebf
movzx esi, si
or esi, 0x80070000
jmp 0x10032ebd
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
js 0x10032f03
mov eax, dword [0x100e51bc]
movups xmm0, xmmword [str.Apartment]
push 0x14
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x63c]
push eax
push 1
push 0
push str.ThreadingModel
push dword [ebp - 0x654]
movups xmmword [ebp - 0x63c], xmm0
call edi
mov esi, eax
test esi, esi
jle 0x10032f03
movzx esi, si
or esi, 0x80070000
push dword [ebp - 0x654]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x658]
call fcn.1006b9d0
lea ecx, [ebp - 0x658]
call fcn.100663b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10080681
mov esp, ebp
pop ebp
ret