Function at 0x10011590
Capabilities:
Persist via com hijack
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
push eax
mov dword [ebp - 0x438], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10011883
push str.SoftwareClassesCLSID_
lea ecx, [ebp - 0x42c]
call fcn.10007e90
push 0x104
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebx + 0xc]
push dword [eax + 0xc]
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x42c]
call fcn.1000c9c0
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x42c]
cmp dword [ebp - 0x418], 8
cmovae ecx, dword [ebp - 0x42c]
mov eax, dword [eax + 4]
mov edi, eax
mov dword [ebp - 0x434], eax
lea edx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10011630
push 0
lea eax, [ebp - 0x430]
sub edi, edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
sar edi, 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x10011699
lea eax, [edi*2 + 2]
push eax
push dword [ebp - 0x434]
push 1
push 0
push 0
push dword [ebp - 0x430]
call ebx
push dword [ebp - 0x430]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jle 0x100116a4
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x1001185a
push str.InProcServer32
lea ecx, [ebp - 0x42c]
call fcn.1000c9c0
cmp dword [ebp - 0x418], 8
lea ecx, [ebp - 0x42c]
lea edi, [ebp - 0x20c]
cmovae ecx, dword [ebp - 0x42c]
lea edx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100116e0
push 0
lea eax, [ebp - 0x430]
sub edi, edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
sar edi, 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x10011744
lea eax, [edi*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push esi
push dword [ebp - 0x430]
call ebx
push dword [ebp - 0x430]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
call edi
jmp 0x1001174a
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jle 0x10011759
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x1001185a
cmp dword [ebp - 0x418], 8
lea ecx, [ebp - 0x430]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x100117be
push 0xa
push str.Both
push 1
push eax
push str.ThreadingModel
push dword [ebp - 0x430]
call ebx
push dword [ebp - 0x430]
mov esi, eax
call edi
test esi, esi
jle 0x100117c9
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x1001185a
mov esi, dword [ebp - 0x438]
lea eax, [ebp - 0x430]
push eax
mov dword [ebp - 0x430], 0
mov ecx, dword [esi + 0xc]
call fcn.10017260
lea ecx, [ebp - 0x4b0]
call fcn.100168a0
mov edx, dword [esi + 0xc]
push dword [ebp - 0x430]
push dword [edx + 0x20]
mov eax, dword [edx + 0x10]
push dword [edx + 0x24]
push dword [edx + 0x18]
movups xmm0, xmmword [eax]
mov eax, dword [edx + 0xc]
push dword [edx + 0x1c]
push dword [edx + 0x28]
push dword [edx + 4]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
lea ecx, [ebp - 0x4b0]
call fcn.10016ca0
lea ecx, [ebp - 0x4b0]
mov esi, eax
call fcn.10016980
mov ecx, dword [ebp - 0x430]
test ecx, ecx
je 0x1001185a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
cmp dword [ebp - 0x418], 8
jb 0x1001186e
push dword [ebp - 0x42c]
call fcn.10022bb0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10011895
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4