Function at 0x1060538
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10d621e
call fcn.0107a498
sub esp, 0x32c
mov eax, dword [0x10e607c]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x244], ebx
call fcn.0101889b
mov esi, eax
mov ecx, dword [esi + 0xd4]
push 1
mov dword [ebp - 0x288], esi
call fcn.0103ee2a
mov ecx, dword [ebp - 0x234]
push 1
push dword [0x10eae7c]
call fcn.0105b0f6
test eax, eax
je 0x1060fd8
push esi
push 0x1424
push 0x1427
push 0x4eb3
lea ecx, [ebp - 0x338]
call fcn.01077fd8
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.0105a7a0
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x260], eax
call sub.MFC42u.dll_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
push 0xac
mov byte [ebp - 4], 2
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x1060630
push ebx
call fcn.0101b980
jmp 0x1060632
xor eax, eax
mov esi, 0xbc
push esi
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x278], eax
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x1060666
push ebx
call fcn.0101b9dc
jmp 0x1060668
xor eax, eax
push 0x198
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x254], eax
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 5
je 0x106069b
push ebx
call fcn.0101bd7d
jmp 0x106069d
xor eax, eax
push 0x160
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x268], eax
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x10606d0
push ebx
call fcn.0101d5a1
jmp 0x10606d2
xor eax, eax
push 0xe0
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x274], eax
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 7
je 0x1060705
push ebx
call fcn.0101aa07
jmp 0x1060707
xor eax, eax
push 0xf8
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x25c], eax
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 8
je 0x106073a
push ebx
call fcn.0101c277
jmp 0x106073c
xor eax, eax
push 0xfc
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x24c], eax
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 9
je 0x106076f
push ebx
call fcn.0101a05d
jmp 0x1060771
xor eax, eax
push 0xb8
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x264], eax
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xa
je 0x10607a4
push ebx
call fcn.0101b324
jmp 0x10607a6
xor eax, eax
push esi
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x250], eax
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xb
je 0x10607d7
push ebx
call fcn.0101b815
mov edi, eax
jmp 0x10607d9
xor edi, edi
push 0x1a0
mov byte [ebp - 4], 2
mov dword [ebp - 0x258], edi
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xc
je 0x1060808
push ebx
call fcn.0101c6f3
mov esi, eax
jmp 0x106080a
xor esi, esi
push 0xe0
mov byte [ebp - 4], 2
mov dword [ebp - 0x244], esi
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xd
je 0x106083d
push ebx
call fcn.0101a2b8
mov dword [ebp - 0x270], eax
jmp 0x1060843
mov dword [ebp - 0x270], ebx
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_AfxTryCleanup
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x338]
call fcn.01078402
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x338]
call fcn.01078402
push dword [ebp - 0x228]
lea ecx, [ebp - 0x338]
call fcn.01078402
push dword [ebp - 0x230]
lea ecx, [ebp - 0x338]
call fcn.01078402
cmp dword [ebp + 8], ebx
jne 0x10608a5
push dword [ebp - 0x238]
lea ecx, [ebp - 0x338]
call fcn.01078402
push dword [ebp - 0x220]
lea ecx, [ebp - 0x338]
call fcn.01078402
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x338]
call fcn.01078402
push dword [ebp - 0x240]
lea ecx, [ebp - 0x338]
call fcn.01078402
push edi
lea ecx, [ebp - 0x338]
call fcn.01078402
push esi
lea ecx, [ebp - 0x338]
call fcn.01078402
push dword [ebp - 0x270]
lea ecx, [ebp - 0x338]
call fcn.01078402
mov ecx, dword [ebp - 0x260]
push 1
call fcn.0102c6ac
fld qword [ebp + 0xc]
xor eax, eax
fstp qword [esi + 0x190]
cmp dword [ebp + 8], ebx
setne al
mov dword [esi + 0x16c], eax
mov eax, dword [0x10eae7c]
cmp dword [eax + 4], ebx
je 0x1060945
mov eax, dword [ebp - 0x22c]
mov dword [eax + 0xa0], ebx
mov dword [eax + 0xb8], 1
mov edi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x228]
add edi, 0x120
lea ecx, [ebp - 0x338]
mov dword [edi], eax
call fcn.0107821d
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x248], eax
mov dword [edi], ebx
call fcn.010786b1
cmp dword [ebp - 0x248], 0x3025
je 0x10609bc
push dword [0x10eae7c]
call fcn.01084c69
mov ecx, dword [ebp - 0x234]
push 1
call fcn.0105d92f
cmp dword [ebp + 8], ebx
je 0x1060e14
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 0xd4]
push 3
call fcn.0103ee2a
jmp 0x1060e14
mov edi, dword [ebp - 0x234]
push 1
mov ecx, edi
call fcn.0105d92f
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x68]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x68]
mov eax, dword [ebp - 0x260]
cmp dword [eax + 0x60], ebx
jne 0x10609f3
mov ecx, edi
call fcn.0105dadc
jmp 0x1060e14
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
lea edx, [ebp - 0x290]
push edx
push eax
call dword [ecx + 0x74]
test eax, eax
jne 0x1060de0
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
lea edx, [ebp - 0x248]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
jne 0x1060de0
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
lea edx, [ebp - 0x28c]
push edx
push eax
call dword [ecx + 0x9c]
test eax, eax
jne 0x1060dd4
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
lea edx, [ebp - 0x294]
push edx
push eax
call dword [ecx + 0xac]
test eax, eax
jne 0x1060dd4
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
lea edx, [ebp - 0x280]
push edx
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x1060dd4
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
lea edx, [ebp - 0x27c]
push edx
push eax
call dword [ecx + 0x4c]
test eax, eax
jne 0x1060dd4
lea eax, [esi + 0x174]
push eax
lea ecx, [ebp - 0x22c]
call sub.MFC42u.dll_CString::CString_5
mov eax, dword [esi + 0x17c]
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push 0x1013d4c
push 0x1013d2c
push dword [ebp - 0x22c]
mov byte [ebp - 4], 0xf
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x1060db9
call fcn.01022d84
push eax
lea ecx, [ebp - 0x230]
call sub.MFC42u.dll_CString::CString_3
mov edi, 0x1003824
push edi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x10
call sub.MFC42u.dll_CString::operator_1
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x230]
call sub.MFC42u.dll_CString::operator_2
push 0x10037f4
lea ecx, [ebp - 0x230]
call sub.MFC42u.dll_CString::operator_1
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x20]
push 0x1005428
call fcn.010550ac
push dword [ebp - 0x230]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x80]
mov ebx, 0x1003828
push ebx
lea ecx, [ebp - 0x238]
call sub.MFC42u.dll_CString::CString_4
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1060b9a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call sub.MFC42u.dll_CString::operator
push edi
lea ecx, [ebp - 0x238]
call sub.MFC42u.dll_CString::operator_1
push 0x1003808
lea ecx, [ebp - 0x238]
call sub.MFC42u.dll_CString::operator_1
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x238]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
test eax, eax
jne 0x1060d87
lea ecx, [ebp - 0x23c]
call sub.MFC42u.dll_CString::CString_2
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 0x12
call fcn.0105e7a4
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x23c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
mov si, word [esi + 0x184]
and dword [ebp - 0x228], 0
test si, si
jbe 0x1060c78
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
lea edx, [ebp - 0x240]
push edx
lea edx, [ebp - 0x26a]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1060c69
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 0x188]
movzx eax, word [ebp - 0x228]
mov edx, dword [ebp - 0x240]
mov edi, dword [edx]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
push eax
push edx
call dword [edi + 0xc]
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x228]
cmp word [ebp - 0x228], si
jb 0x1060c17
push dword [0x10eaea8]
mov eax, dword [ebp - 0x220]
push dword [0x10eaea4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x78]
mov eax, dword [0x10eaea8]
mov edi, dword [eax - 8]
lea eax, [edi + 1]
mov esi, 0x10eaea8
push eax
mov ecx, esi
call sub.MFC42u.dll_CString::GetBuffer
test edi, edi
mov ecx, edi
je 0x1060cb5
mov byte [eax], 0
inc eax
dec ecx
jne 0x1060cae
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42u.dll_CString::ReleaseBuffer
push ebx
mov ecx, esi
call fcn.010790aa
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x290]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x248]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x90]
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x28c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x294]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa8]
push dword [ebp - 0x280]
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x27c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
lea edx, [ebp - 0x284]
push edx
push 0x1013d5c
push eax
call dword [ecx]
test eax, eax
jne 0x1060d78
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
push 1
push 0
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x11
call sub.MFC42u.dll_CString::CString
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x10
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
call sub.MFC42u.dll_CString::CString
mov edi, dword [ebp - 0x234]
xor ebx, ebx
push dword [ebp - 0x27c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call sub.MFC42u.dll_CString::CString
push dword [ebp - 0x248]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [0x10eae7c]
call fcn.01084c69
push 1
mov ecx, edi
call fcn.0105d92f
cmp dword [ebp + 8], ebx
jne 0x10609a4
mov eax, dword [edi + 0x20]
push ebx
push 0x802d
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp - 0x244]
cmp dword [esi + 0x180], ebx
je 0x1060e37
mov eax, dword [esi + 0x17c]
cmp eax, ebx
je 0x1060e37
mov ecx, dword [eax]
push 0x100382c
push eax
call dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x260]
push ebx
call fcn.0102c6ac
mov ecx, dword [ebp - 0x278]
xor edi, edi
inc edi
cmp ecx, ebx
je 0x1060e56
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x254]
cmp ecx, ebx
je 0x1060e66
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x268]
cmp ecx, ebx
je 0x1060e76
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x274]
cmp ecx, ebx
je 0x1060e86
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x25c]
cmp ecx, ebx
je 0x1060e96
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x24c]
cmp ecx, ebx
je 0x1060ea6
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x264]
cmp ecx, ebx
je 0x1060eb6
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x250]
cmp ecx, ebx
je 0x1060ec6
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x258]
cmp ecx, ebx
je 0x1060ed6
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x270]
cmp ecx, ebx
je 0x1060fc9
mov eax, dword [ecx]
push edi
call dword [eax + 4]
jmp 0x1060fc9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x338]
call fcn.0107808d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.01078836
pop edi
pop esi
pop ebx
leave
ret 0xc