Function at 0x100fa2a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1027c73
call fcn.01022df8
sub esp, 0x54
mov eax, dword [0x102e77c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
mov ecx, dword [esi + 0x2b8]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], ebx
call fcn.0100d307
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jge 0x100faa0
push 0x22c
push 0x1002318
call fcn.0100c9d4
push dword [ebp - 0x2c]
push 0x100297c
call fcn.0100cb4a
jmp 0x100fecc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.01020744
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jge 0x100facd
push 0x233
push 0x1002318
call fcn.0100c9d4
push dword [ebp - 0x2c]
push 0x1002958
jmp 0x100fa96
xor ebx, ebx
inc ebx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
xor edi, edi
push eax
mov dword [ebp - 0x44], edi
call dword [ecx + 0x1c]
cmp eax, edi
mov dword [ebp - 0x2c], eax
jl 0x100fe94
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x34]
call fcn.0102201a
cmp eax, edi
mov dword [ebp - 0x2c], eax
jl 0x100feb0
push 0x25a
push 0x1002318
call fcn.0100c9d4
mov eax, dword [ebp - 0x34]
push dword [eax + 0x18]
push 0x100293c
call fcn.0100cb2d
pop ecx
pop ecx
push 0x25b
push 0x1002318
call fcn.0100c9d4
mov eax, dword [ebp - 0x34]
push dword [eax + 0x20]
push 0x1002920
call fcn.0100cb2d
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
cmp eax, 0xc
pop ecx
pop ecx
mov ecx, dword [esi + 0x2b8]
ja 0x100fb71
add eax, 0x505f
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0100cd2b
or dword [ebp - 0x24], ebx
mov dword [ebp - 4], edi
jmp 0x100fb86
push 0x4f4f
lea eax, [ebp - 0x58]
push eax
call fcn.0100cd2b
or dword [ebp - 0x24], 2
mov dword [ebp - 4], ebx
mov ecx, eax
push edi
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x2b8]
push eax
push 0x504d
lea eax, [ebp - 0x54]
push eax
call fcn.0100cd2b
push edi
mov ecx, eax
mov dword [ebp - 4], 2
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push edi
push dword [esi + 0x2b8]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
test byte [ebp - 0x24], 2
mov dword [ebp - 4], edi
je 0x100fbed
and dword [ebp - 0x24], 0xfffffffd
lea ecx, [ebp - 0x58]
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x24], bl
je 0x100fc02
and dword [ebp - 0x24], 0xfffffffe
lea ecx, [ebp - 0x60]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x40]
cmp eax, edi
je 0x100fccf
cmp eax, 0x32
mov ecx, dword [esi + 0x2b8]
jae 0x100fc34
add eax, 0x506e
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0100cd2b
or dword [ebp - 0x24], 4
mov dword [ebp - 4], 3
jmp 0x100fc4d
push 0x4f4f
lea eax, [ebp - 0x5c]
push eax
call fcn.0100cd2b
or dword [ebp - 0x24], 8
mov dword [ebp - 4], 4
mov ecx, eax
push edi
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x2b8]
push eax
push 0x504e
lea eax, [ebp - 0x4c]
push eax
call fcn.0100cd2b
push edi
mov ecx, eax
mov dword [ebp - 4], 5
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push edi
push dword [esi + 0x2b8]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
test byte [ebp - 0x24], 8
mov dword [ebp - 4], 3
je 0x100fcb9
and dword [ebp - 0x24], 0xfffffff7
lea ecx, [ebp - 0x5c]
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x24], 4
je 0x100fccf
and dword [ebp - 0x24], 0xfffffffb
lea ecx, [ebp - 0x50]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
cmp eax, 0xc
ja case.0x100fce5.4
movzx eax, byte [eax + 0x100fee8]
jmp dword [eax*4 + 0x100fed0]
cmp dword [esi + 0x18], edi
je 0x100fcfb
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.0100ef1b
mov dword [esi + 0x18], edi
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
jmp 0x100fd84
cmp dword [ebp - 0x40], 0x16
mov eax, dword [ebp - 0x28]
jne 0x100fd1f
mov dword [eax], ebx
cmp dword [esi + 0x10], edi
mov eax, dword [ebp - 0x30]
jne 0x100fd7e
mov dword [eax], ebx
mov dword [esi + 0x10], ebx
jmp 0x100fd84
cmp dword [ebp - 0x40], edi
jne 0x100fd79
mov dword [eax], 2
jmp 0x100fd84
mov ecx, dword [esi + 0x2b8]
call fcn.0100cc96
test bl, al
je case.0x100fce5.11
cmp dword [esi + 0x14], edi
je 0x100fd4b
cmp dword [ebp - 0x38], 4
jae case.0x100fce5.4
mov dword [ebp - 0x44], ebx
jmp 0x100fd84
mov eax, dword [ebp - 0x28]
mov dword [eax], ebx
mov eax, dword [ebp - 0x30]
mov dword [eax], 2
mov dword [esi + 0x14], ebx
jmp 0x100fd84
cmp dword [ebp - 0x38], 0xf
jb 0x100fd46
mov ecx, dword [esi + 0x2b8]
call fcn.0100cc96
test bl, al
mov eax, dword [ebp - 0x28]
jmp 0x100fd22
mov eax, dword [ebp - 0x28]
mov dword [eax], ebx
mov eax, dword [ebp - 0x30]
mov dword [eax], 0xb
push dword [ebp - 0x34]
call fcn.01020396
cmp dword [ebp - 0x44], edi
je 0x100fe06
mov ecx, dword [esi + 0x2b8]
push 0x5056
lea eax, [ebp - 0x48]
push eax
call fcn.0100cd2b
push edi
mov ecx, eax
mov dword [ebp - 4], 6
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1002250
call sub.MFC42u.DLL_CString::CString_3
push edi
push dword [esi + 0x2b8]
call fcn.0100d4b2
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x48]
call sub.MFC42u.DLL_CString::CString
push 0x2ef
push 0x1002318
call fcn.0100c9d4
push 0x10028f8
call fcn.0100cb2d
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x38]
cmp dword [ebp - 0x44], edi
jne 0x100fad3
mov eax, dword [ebp - 0x28]
cmp dword [eax], ebx
jne 0x100fe68
mov ecx, dword [esi + 0x2b8]
push 0x5057
lea eax, [ebp - 0x38]
push eax
call fcn.0100cd2b
push edi
mov ecx, eax
mov dword [ebp - 4], 7
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x1002250
call sub.MFC42u.DLL_CString::CString_3
push ebx
push dword [esi + 0x2b8]
call fcn.0100d4b2
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x100fe78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0102222e
pop edi
pop esi
pop ebx
leave
ret 8
push 0x24b
push 0x1002318
call fcn.0100c9d4
push dword [ebp - 0x2c]
push 0x10021e0
jmp 0x100fa96
push 0x256
push 0x1002318
call fcn.0100c9d4
push dword [ebp - 0x2c]
push 0x10028d4
call fcn.0100cb2d
pop ecx
pop ecx
jmp 0x100fe6b