Function at 0x10006a60
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 [0x1000c0a0], 8
jne 0x10006cc0
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
jne 0x10006f0e
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 0x10006ac9
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10006ac0
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x1000e7de]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10006ad0
cmp word [ebp - 0x214], 0
mov edx, esi
je 0x10006af9
nop
add edx, 2
cmp word [edx], 0
jne 0x10006af0
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10006b00
cmp word [ebp - 0x214], 0
mov edx, esi
je 0x10006b29
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10006b20
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x1000e7ee]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10006b30
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x21c]
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 8], edx
mov dword [esp + 4], 0
call dword [eax + 0x24]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x10006b80
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x6c
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
mov eax, dword [ebp - 0x21c]
test ebx, ebx
je 0x10006f18
xor edi, edi
mov dword [ebx], sym._MSTASK_ITask_QueryInterface_12
mov word [ebx + 0x18], di
mov dword [ebx + 4], 0x1000ef00
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], 0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x2c], eax
xor eax, eax
mov word [ebx + 0x68], ax
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x30], 0x41305
mov dword [ebx + 0x34], 0x3c000a
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0x20
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x40], 0xf731400
lea ecx, [ebp - 0x218]
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x44]
sub esp, 8
mov edi, eax
test eax, eax
jne 0x10006c9d
mov eax, dword [ebp - 0x218]
lea ecx, [ebx + 0x10]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x30]
mov edi, eax
mov eax, dword [ebp - 0x218]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test edi, edi
je 0x10006ede
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], ebx
call dword [eax + 8]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test ebx, ebx
je 0x10006ed4
mov eax, ebx
shr eax, 0x10
je 0x10006da0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1000e207
sub esp, 8
test eax, eax
jne 0x10006db5
cmp word [ebx], 0
je 0x10006ef0
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10006d00
mov ecx, 0x224c
mov dword [ebp + 0xc], ebx
mov esi, ebx
mov word [ebp - 0x214], cx
lea ecx, [ebp - 0x212]
jmp 0x10006d6b
cmp ax, 9
je 0x10006e08
cmp ax, 0xa
jne 0x10006e26
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [ebp - 0xf2]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x10006e98
test edx, edx
jle 0x10006e98
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10006df0
jbe 0x10006d30
cmp ax, 0x22
je 0x10006e80
cmp ax, 0x5c
jne 0x10006e19
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10006d50
movzx eax, bx
mov dword [esp], 0x1000e211
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov edx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.__s___p__n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.TaskConstructor
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10006a7c
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10006d50
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10006d50
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10006eca
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefload_unicode_strings]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefload_unicode_strings]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefload_unicode_strings]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefload_unicode_strings]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10006d50
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10006d50
mov byte [ecx], 0x22
mov ebx, dword [ebp + 0xc]
test eax, eax
jle 0x10006f09
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x10006db5
mov byte [ecx], al
add ecx, 1
jmp 0x10006d50
mov edx, 0x1000e200
jmp 0x10006db5
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lock add dword [section..bss], 1
jmp 0x10006b6c
mov eax, 0x224c
mov byte [ebp - 0x212], 0x22
lea ecx, [ebp - 0x212]
mov word [ebp - 0x214], ax
lea eax, [ecx + 1]
jmp 0x10006eb2
mov edi, 0x80070057
jmp 0x10006b6c
mov edx, dword [eax]
mov dword [esp], eax
mov edi, 0x8007000e
call dword [edx + 8]
push eax
jmp 0x10006b6c