Function at 0x100100d5
Capabilities:
Create process on windows

Disassembly:
push 0x94
mov eax, 0x1009577a
call fcn.100767e5
call fcn.100103be
test eax, eax
je 0x1001030e
call fcn.10010433
test eax, eax
je 0x1001030e
mov esi, dword [sym.imp.ole32.dll_CoInitializeEx]
push 0xa
xor ebx, ebx
push ebx
call esi
cmp eax, ebx
je 0x10010122
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xa
push ebx
call esi
cmp eax, ebx
jne 0x1001024b
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.1000fef0
cmp eax, ebx
jl 0x10010232
cmp dword [ebp - 0x10], ebx
je 0x10010232
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
lea edi, [ebp - 0x14]
call fcn.1000fffd
pop ecx
cmp eax, ebx
jl 0x10010222
cmp dword [ebp - 0x14], ebx
je 0x10010222
push dword [ebp + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call esi
mov dword [ebp - 0x18], eax
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
js 0x10010222
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [ebp + 0xc], ebx
je 0x100101a9
push 8
pop eax
push dword [ebp + 0xc]
mov word [ebp - 0x28], ax
call esi
mov dword [ebp - 0x20], eax
xor eax, eax
mov word [ebp - 0x5c], ax
lea edi, [ebp - 0x5a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x4c], ax
lea edi, [ebp - 0x4a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x3a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x16
pop eax
sub esp, 0x10
mov edi, esp
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x34], 1
lea esi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x18]
lea esi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x7c]
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10010232
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10010243
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x1001032f
call fcn.10010335
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x1001025e
xor eax, eax
jmp 0x1001032f
test byte [0x100da3e8], 1
jne 0x1001027e
or dword [0x100da3e8], 1
push 0x100af6e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100da3e4], eax
mov eax, dword [0x100da3e4]
cmp eax, ebx
jne 0x10010292
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10010257
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
jne 0x100102b3
xor edi, edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1001032f
push 0x40
lea eax, [ebp - 0x9c]
push ebx
push eax
mov dword [ebp - 0xa0], 0x44
call fcn.1005d3f0
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push 0x20
push dword [ebp + 0xc]
push dword [ebp + 8]
push 1
push dword [ebp - 0x10]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
cmp edi, ebx
je 0x100102a6
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
jmp 0x100102a6
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov eax, ecx
call fcn.100768bd
ret