Function at 0x10008ba2
Capabilities:
Create thread

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, 0x18c
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x164], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x160], eax
test byte [0x1000c02c], 8
jne 0x10008a08
test ebx, ebx
je 0x10008d50
mov edx, dword [ebp - 0x15c]
test edx, edx
je 0x10008d50
test edi, edi
je 0x10008d50
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x10008d50
lea eax, [ebp - 0x150]
mov esi, dword [sym.imp.oleaut32.dll_VariantInit]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x150]
sub esp, 4
cmp word [ebx], 0xa
je 0x10008b20
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantChangeType]
sub esp, 0x10
test eax, eax
js 0x100089df
lea ebx, [ebp - 0x128]
mov dword [esp], ebx
call esi
sub esp, 4
cmp word [edi], 0xa
je 0x100089f0
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_VariantChangeType]
sub esp, 0x10
test eax, eax
js 0x100089df
mov eax, dword [ebp - 0x15c]
cmp word [eax], 0xa
je 0x10008b38
lea ebx, [ebp - 0x138]
mov dword [esp], ebx
call esi
sub esp, 4
mov dword [esp + 0xc], 8
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x15c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.oleaut32.dll_VariantChangeType]
sub esp, 0x10
test eax, eax
js 0x100089df
mov dword [ebp - 0x118], 0xffffffff
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x158]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x140]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], sym._popup_thread_proc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x154], eax
sub esp, 0x18
mov eax, 0xffffffff
test edx, edx
je 0x10008976
imul eax, edx, 0x3e8
lea edi, [ebp - 0x154]
mov dword [esp + 0x10], 0
mov esi, dword [sym.imp.user32.dll_MsgWaitForMultipleObjects]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call esi
sub esp, 0x14
cmp eax, 0x102
je 0x10008c18
mov eax, dword [ebp - 0x118]
mov edi, dword [ebp - 0x160]
mov dword [edi], eax
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x154]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
cmp dword [edi + 8], 0x80020004
jne 0x10008895
jmp 0x100088bd
mov eax, edi
call sym._wine_dbgstr_variant_1
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x15c]
call sym._wine_dbgstr_variant_1
mov dword [ebp - 0x168], eax
mov eax, ebx
call sym._wine_dbgstr_variant_1
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x10008d28
shr eax, 0x10
je 0x10008b60
mov dword [esp + 4], 0xffffffff
mov esi, dword [ebp - 0x164]
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 0x10008b76
cmp word [esi], 0
je 0x10008d60
mov eax, esi
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [eax + edx*2 + 2], 0
jne 0x10008a80
mov esi, 0x224c
mov dword [ebp - 0x174], ebx
lea eax, [ebp - 0x13e]
mov word [ebp - 0x140], si
mov esi, dword [ebp - 0x164]
jmp 0x10008ae4
cmp cx, 9
je 0x10008be8
cmp cx, 0xa
jne 0x10008c80
mov ebx, 0x6e5c
add eax, 2
mov word [eax - 2], bx
sub edx, 1
jb 0x10008d38
lea ecx, [ebp - 0x1e]
cmp ecx, eax
jb 0x10008cf0
movzx ecx, word [esi]
add esi, 2
cmp cx, 0xd
je 0x10008bd0
jbe 0x10008ab0
cmp cx, 0x22
je 0x10008c00
cmp cx, 0x5c
jne 0x10008cd8
mov ebx, 0x5c5c
add eax, 2
mov word [eax - 2], bx
jmp 0x10008ad0
cmp dword [ebx + 8], 0x80020004
jne 0x10008855
jmp 0x1000887d
cmp dword [eax + 8], 0x80020004
jne 0x100088cd
movdqu xmm0, xmmword [eax]
lea ebx, [ebp - 0x138]
movups xmmword [ebp - 0x138], xmm0
jmp 0x10008909
mov eax, dword [ebp - 0x164]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov esi, dword [ebp - 0x160]
mov dword [esp + 0x20], esi
mov edx, dword [ebp - 0x170]
mov dword [esp + 0x1c], edx
mov esi, dword [ebp - 0x168]
mov dword [esp + 0x18], esi
mov edx, dword [ebp - 0x16c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.__s__s__s__s__p__n
mov dword [esp + 8], str.WshShell3_Popup
mov dword [esp + 4], 0x1000c02c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10008805
movzx ebx, word [str._r_]
add eax, 2
mov word [eax - 2], bx
jmp 0x10008ad0
mov ecx, 0x745c
add eax, 2
mov word [eax - 2], cx
jmp 0x10008ad0
movzx ebx, word [0x1001049a]
add eax, 2
mov word [eax - 2], bx
jmp 0x10008ad0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x12
mov eax, dword [ebp - 0x158]
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostThreadMessageW]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call esi
mov eax, 0xffffffff
mov dword [ebp - 0x118], 0xffffffff
sub esp, 0x14
jmp 0x100089b7
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 0x10008ad0
lea ebx, [ecx - 0x20]
cmp bx, 0x5e
ja 0x10008c80
mov byte [eax], cl
add eax, 1
jmp 0x10008ad0
mov byte [eax], 0x22
mov ebx, dword [ebp - 0x174]
test edx, edx
je 0x10008d41
mov ecx, 0x2e2e
mov byte [eax + 3], 0x2e
lea edx, [eax + 4]
mov word [eax + 1], cx
lea eax, [ebp - 0x140]
mov byte [edx], 0
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x10008b76
mov eax, 0x1000ec60
jmp 0x10008b76
mov byte [eax], 0x22
mov ebx, dword [ebp - 0x174]
lea edx, [eax + 1]
jmp 0x10008d0d
mov eax, 0x80004003
jmp 0x100089df
mov eax, 0x224c
mov byte [ebp - 0x13e], 0x22
lea edx, [ebp - 0x13d]
mov word [ebp - 0x140], ax
jmp 0x10008d0d