Function at 0x10008a60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x228
mov ebx, dword [ebp + 0xc]
test byte [0x1000c0c0], 8
jne 0x10008bb0
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
jne 0x10008dec
lea esi, [ebp - 0x214]
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov edx, esi
sub esp, 8
cmp word [ebp - 0x214], 0
je 0x10008ac9
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10008ac0
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + str.Tasks_]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10008ad0
cmp word [ebp - 0x214], 0
mov edx, esi
je 0x10008af9
nop
add edx, 2
cmp word [edx], 0
jne 0x10008af0
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10008b00
cmp word [ebp - 0x214], 0
mov edx, esi
je 0x10008b29
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10008b20
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + str..job]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10008b30
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x218]
mov eax, dword [eax]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x100102d8
mov dword [esp], edi
call dword [eax]
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x10008b9b
mov eax, dword [ebp - 0x218]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 0x218]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test ebx, ebx
je 0x10008dc4
mov eax, ebx
shr eax, 0x10
je 0x10008c90
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x10008ca5
cmp word [ebx], 0
je 0x10008dce
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10008bf0
mov ecx, 0x224c
mov dword [ebp + 0xc], ebx
mov esi, ebx
mov word [ebp - 0x214], cx
lea ecx, [ebp - 0x212]
jmp 0x10008c5b
cmp ax, 9
je 0x10008cf8
cmp ax, 0xa
jne 0x10008d16
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [ebp - 0xf2]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x10008d88
test edx, edx
jle 0x10008d88
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10008ce0
jbe 0x10008c20
cmp ax, 0x22
je 0x10008d70
cmp ax, 0x5c
jne 0x10008d09
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10008c40
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_3
mov edx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str._p___s___p_n
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], str.MSTASK_ITaskScheduler_AddWorkItem
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1000c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10008a7c
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10008c40
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10008c40
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10008dba
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefMSTASK_ITaskScheduler_IsOfType]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefMSTASK_ITaskScheduler_IsOfType]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefMSTASK_ITaskScheduler_IsOfType]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefMSTASK_ITaskScheduler_IsOfType]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10008c40
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10008c40
mov byte [ecx], 0x22
mov ebx, dword [ebp + 0xc]
test eax, eax
jle 0x10008de7
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x10008ca5
mov byte [ecx], al
add ecx, 1
jmp 0x10008c40
mov edx, 0x1000f000
jmp 0x10008ca5
mov eax, 0x224c
mov byte [ebp - 0x212], 0x22
lea ecx, [ebp - 0x212]
mov word [ebp - 0x214], ax
lea eax, [ecx + 1]
jmp 0x10008da2
mov ebx, 0x80070057
jmp 0x10008b9b