Function at 0x10008d80
Capabilities:
Create process on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x178
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x158], eax
test byte [0x1000c02c], 8
jne 0x10008fd0
mov edx, dword [ebp - 0x158]
test ebx, ebx
sete al
test edx, edx
sete dl
or al, dl
jne 0x1000932f
test edi, edi
je 0x1000932f
cmp word [ebx], 0xa
je 0x10008fb0
lea esi, [ebp - 0x150]
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantInit]
sub esp, 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantChangeType]
sub esp, 0x10
test eax, eax
js 0x10008f63
mov ebx, dword [ebp - 0x148]
cmp word [edi], 0xa
je 0x10008f78
lea esi, [ebp - 0x150]
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantInit]
sub esp, 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantChangeType]
sub esp, 0x10
test eax, eax
js 0x10008f63
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x15c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edi, eax
test eax, eax
je 0x10009354
movzx eax, word [eax]
test ax, ax
je 0x10008ecb
mov edx, edi
xor ecx, ecx
jmp 0x10008eb6
cmp ax, 0x20
je 0x10008f90
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
je 0x10008ecb
cmp ax, 0x22
jne 0x10008ea0
movzx eax, word [edx + 2]
add edx, 2
xor ecx, 1
test ax, ax
jne 0x10008eb6
xor edx, edx
pxor xmm0, xmm0
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x13c], 0x3c
movups xmmword [ebp - 0x134], xmm0
movups xmmword [ebp - 0x124], xmm0
movups xmmword [ebp - 0x114], xmm0
test esi, esi
je 0x100090e0
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x138], 0x540
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x128], edx
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ShellExecuteExW]
sub esp, 4
mov ebx, eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
test ebx, ebx
jne 0x10009170
test byte [0x1000c02c], 8
jne 0x10009130
mov edi, dword [ebp - 0x158]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [edi], eax
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
cmp dword [edi + 8], 0x80020004
jne 0x10008e30
xor esi, esi
jmp 0x10008e70
test ecx, ecx
jne 0x10008eaa
xor eax, eax
add edx, 2
mov word [edx - 2], ax
jmp 0x10008ecd
cmp dword [ebx + 8], 0x80020004
jne 0x10008de6
mov ebx, 1
jmp 0x10008e26
mov eax, edi
call sym._wine_dbgstr_variant_1
mov dword [ebp - 0x164], eax
mov eax, ebx
call sym._wine_dbgstr_variant_1
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x10009317
shr eax, 0x10
je 0x100091d0
mov dword [esp + 4], 0xffffffff
mov esi, dword [ebp - 0x15c]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x100091e6
cmp word [esi], 0
je 0x10009339
mov eax, esi
lea esi, cs:[esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [eax + edx*2 + 2], 0
jne 0x10009040
mov esi, 0x224c
mov dword [ebp - 0x168], ebx
lea eax, [ebp - 0x13a]
mov word [ebp - 0x13c], si
mov esi, dword [ebp - 0x15c]
jmp 0x100090a4
cmp cx, 9
je 0x10009250
cmp cx, 0xa
jne 0x10009280
mov ebx, 0x6e5c
add eax, 2
mov word [eax - 2], bx
sub edx, 1
jb 0x10009321
lea ecx, [ebp - 0x1a]
cmp ecx, eax
jb 0x100092e4
movzx ecx, word [esi]
add esi, 2
cmp cx, 0xd
je 0x10009238
jbe 0x10009070
cmp cx, 0x22
je 0x10009268
cmp cx, 0x5c
jne 0x100092d1
mov ebx, 0x5c5c
add eax, 2
mov word [eax - 2], bx
jmp 0x10009090
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x138], 0x400
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x128], edx
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ShellExecuteExW]
sub esp, 4
mov ebx, eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
test ebx, ebx
je 0x10008f43
mov eax, dword [ebp - 0x158]
mov dword [eax], 0
xor eax, eax
jmp 0x10008f63
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.ShellExecute_failed___ld_n
mov dword [esp + 8], str.WshShell3_Run
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1000c02c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10008f50
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x104]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x154]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x104]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x104]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x154]
mov edi, dword [ebp - 0x158]
sub esp, 4
mov dword [edi], eax
xor eax, eax
jmp 0x10008f63
mov eax, dword [ebp - 0x15c]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov esi, dword [ebp - 0x158]
mov dword [esp + 0x1c], esi
mov esi, dword [ebp - 0x164]
mov dword [esp + 0x18], esi
mov esi, dword [ebp - 0x160]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], str.__s__s__s__p__n
mov dword [esp + 8], str.WshShell3_Run
mov dword [esp + 4], 0x1000c02c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10008dbc
movzx ebx, word [str._r_]
add eax, 2
mov word [eax - 2], bx
jmp 0x10009090
mov ecx, 0x745c
add eax, 2
mov word [eax - 2], cx
jmp 0x10009090
movzx ebx, word [0x1001049a]
add eax, 2
mov word [eax - 2], bx
jmp 0x10009090
mov ebx, ecx
mov byte [eax], 0x5c
add eax, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefWshShell3_AppActivate]
mov byte [eax - 4], bl
mov ebx, ecx
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefWshShell3_AppActivate]
mov byte [eax - 3], bl
mov ebx, ecx
and ecx, 0xf
shr bx, 4
movzx ecx, byte [ecx + str.0123456789abcdefWshShell3_AppActivate]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefWshShell3_AppActivate]
mov byte [eax - 1], cl
mov byte [eax - 2], bl
jmp 0x10009090
lea ebx, [ecx - 0x20]
cmp bx, 0x5e
ja 0x10009280
mov byte [eax], cl
add eax, 1
jmp 0x10009090
mov byte [eax], 0x22
mov ebx, dword [ebp - 0x168]
test edx, edx
je 0x1000932a
mov ecx, 0x2e2e
mov byte [eax + 3], 0x2e
lea edx, [eax + 4]
mov word [eax + 1], cx
lea eax, [ebp - 0x13c]
mov byte [edx], 0
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x100091e6
mov eax, 0x1000ec60
jmp 0x100091e6
mov byte [eax], 0x22
mov ebx, dword [ebp - 0x168]
lea edx, [eax + 1]
jmp 0x10009301
mov eax, 0x80004003
jmp 0x10008f63
mov eax, 0x224c
mov byte [ebp - 0x13a], 0x22
lea edx, [ebp - 0x139]
mov word [ebp - 0x13c], ax
jmp 0x10009301
mov eax, 0x8007000e
jmp 0x10008f63