Function at 0x102bf32
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1039ee9
call fcn.01035f78
sub esp, 0x688
mov eax, dword [0x1044924]
push ebx
xor ebx, ebx
cmp dword [0x1044cd0], ebx
mov dword [ebp - 0x10], eax
je 0x102bf5f
call fcn.0102b769
jmp 0x102c2dc
push 1
lea eax, [ebp - 0x66c]
push eax
push 0x1044e10
call fcn.0102ef38
mov ecx, eax
call fcn.0102ece5
lea eax, [ebp - 0x410]
push eax
push ebx
push ebx
push 9
push ebx
call dword [0x10018a8]
cmp eax, ebx
jne 0x102c2dc
cmp word [ebp - 0x410], bx
je 0x102c2dc
lea eax, [ebp - 0x410]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp word [ebp + eax*2 - 0x412], 0x5c
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
je 0x102bfd0
lea eax, [ebp - 0x410]
push 0x1002540
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x410]
push 0x10074fc
push eax
call esi
pop ecx
pop ecx
push ebx
push 0x2000000
push 3
push ebx
push 7
push 0x120089
lea eax, [ebp - 0x410]
push eax
call dword [0x1001128]
cmp eax, 0xffffffff
jne 0x102c01e
cmp dword [ebp - 0x66c], ebx
je 0x102c2db
push ebx
lea eax, [ebp - 0x410]
push eax
call dword [0x100110c]
jmp 0x102c025
push eax
call dword [0x10011ac]
push edi
push 0xa
lea ecx, [ebp - 0x694]
call fcn.01034d9a
cmp dword [ebp - 0x66c], ebx
mov dword [ebp - 4], ebx
je 0x102c073
call fcn.0101336a
mov edi, dword [eax + 8]
mov dword [ebp - 0x664], eax
jmp 0x102c06d
mov ecx, dword [ebp - 0x664]
push edi
call fcn.01012f52
mov ecx, eax
call fcn.0100eba1
push eax
lea ecx, [ebp - 0x694]
call sub.MFC42u.dll_CStringList::AddTail_1
dec edi
cmp edi, 1
jge 0x102c04e
lea eax, [ebp - 0x410]
push 0x1007000
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [0x1001118]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.msvcrt.dll_wcscpy]
mov esi, dword [sym.imp.msvcrt.dll_wcsrchr]
mov dword [ebp - 0x664], eax
je 0x102c1cf
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x668]
call sub.MFC42u.dll_CString::CString_5
push 0x10036d4
lea eax, [ebp - 0x668]
push eax
mov byte [ebp - 4], 1
call fcn.01025a98
test al, al
je 0x102c18a
push 0x10036cc
lea eax, [ebp - 0x668]
push eax
call fcn.01025a98
test al, al
je 0x102c18a
push 0x2e
lea ecx, [ebp - 0x668]
call sub.MFC42u.dll_CString::ReverseFind
cmp eax, 0xffffffff
je 0x102c162
push eax
lea eax, [ebp - 0x670]
push eax
lea ecx, [ebp - 0x668]
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::operator_3
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
push ebx
push dword [ebp - 0x668]
lea ecx, [ebp - 0x694]
call sub.MFC42u.dll_CStringList::Find
cmp eax, ebx
je 0x102c162
push eax
lea ecx, [ebp - 0x694]
call sub.MFC42u.dll_CStringList::RemoveAt
jmp 0x102c18a
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x410]
push 0x5c
push eax
call esi
pop ecx
inc eax
pop ecx
inc eax
push eax
call edi
pop ecx
pop ecx
lea eax, [ebp - 0x410]
push eax
call dword [0x1001134]
lea eax, [ebp - 0x660]
push eax
push dword [ebp - 0x664]
call dword [0x1001114]
test eax, eax
jne 0x102c1b4
push dword [ebp - 0x664]
call dword [0x1001110]
or dword [ebp - 0x664], 0xffffffff
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
cmp dword [ebp - 0x664], 0xffffffff
jne 0x102c0b2
cmp dword [ebp - 0x66c], ebx
jne 0x102c2bf
lea eax, [ebp - 0x410]
push 0x5c
push eax
call esi
pop ecx
mov word [eax], bx
pop ecx
lea eax, [ebp - 0x410]
push eax
call dword [0x1001104]
jmp 0x102c2cb
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x694]
call sub.MFC42u.dll_CStringList::RemoveHead
push dword [ebp - 0x664]
lea eax, [ebp - 0x410]
push 0x5c
push eax
mov byte [ebp - 4], 3
call esi
pop ecx
inc eax
pop ecx
inc eax
push eax
call edi
pop ecx
pop ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x668]
call sub.MFC42u.dll_CString::CString_5
lea ecx, [ebp - 0x678]
mov byte [ebp - 4], 4
call sub.MFC42u.dll_CString::CString_3
mov dword [ebp - 0x670], eax
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 5
call sub.MFC42u.dll_CString::CString_3
push ebx
push dword [ebp - 0x670]
mov byte [ebp - 4], 6
push ebx
push eax
push ebx
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.0102af5d
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 5
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x678]
mov byte [ebp - 4], 4
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 3
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
cmp dword [ebp - 0x688], ebx
jne 0x102c1fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x694]
call sub.MFC42u.dll_CStringList::CStringList
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01034945
leave
ret