Function at 0x1009ff7
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi - 0x380]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x7f
ja 0x100a040
mov eax, dword [0x101d09c]
cmp eax, dword [0x101d090]
jne 0x100a039
push ebx
push esi
push edi
call fcn.0100c548
jmp 0x100a040
push esi
push edi
call fcn.01010ced
mov eax, 0x29f
cmp esi, eax
jg 0x100a183
je 0x100a17d
lea eax, [esi - 0x280]
cmp eax, 0x1e
ja case.0x100a1a5.673
movzx eax, byte [eax + 0x100a2f9]
jmp dword [eax*4 + 0x100a2bd]
push edi
call fcn.01011890
jmp 0x100a2ac
push edi
call fcn.010115b0
jmp 0x100a2ac
push edi
call fcn.0100ceaa
jmp 0x100a2ac
push edi
call fcn.0100f411
jmp 0x100a2ac
push ebx
push ebx
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100a2ac
push 1
push edi
call fcn.0100a859
jmp 0x100a2ac
push ebx
push 9
push 0x110a
push dword [0x101d090]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
call fcn.0100b5f4
jmp 0x100a2ac
push 1
push edi
call fcn.0101059b
jmp 0x100a2ac
push 3
jmp 0x100a0db
mov eax, dword [0x101d0b0]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
push eax
push dword [0x101d098]
mov dword [0x101d0b0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push edi
call fcn.01003c81
jmp 0x100a2ac
push edi
call fcn.01009f50
jmp 0x100a2ac
push edi
call fcn.0100be3d
jmp 0x100a2ac
push 0x10
call fcn.01003915
pop ecx
push 0x64
push dword [0x101d054]
mov esi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0x105da78
push esi
push edi
call dword [sym.imp.SHELL32.dll_ShellAboutW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100a2ac
mov eax, dword [0x101d090]
cmp dword [0x101d09c], eax
jne 0x100a171
mov eax, dword [0x101d094]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x100a2ac
push ebx
jmp 0x100a0ae
mov eax, 0x2b0
cmp esi, eax
jg 0x100a272
je 0x100a26b
lea eax, [esi - 0x2a0]
cmp eax, 9
ja case.0x100a1a5.673
jmp dword [eax*4 + 0x100a319]
push edi
call fcn.01011467
jmp 0x100a2ac
push edi
call fcn.01010fd2
jmp 0x100a2ac
push 4
jmp 0x100a0db
push 7
jmp 0x100a0db
push 2
jmp 0x100a0db
push edi
call fcn.0101000d
jmp 0x100a2ac
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100a2ac
push ebx
push 0x100a3c4
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100974a
test eax, eax
jl 0x100a2ac
push ebx
push 0x100a348
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100974a
test eax, eax
jl 0x100a2ac
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0101a3c9
jmp 0x100a2ac
push ebx
push 9
push 0x110a
push dword [0x101d090]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
call fcn.0100bd6d
jmp 0x100a2ac
push edi
call fcn.010087f9
jmp 0x100a2ac
push 0xb
jmp 0x100a0db
mov eax, esi
sub eax, 0x300
je 0x100a2a6
sub eax, 0x200
je 0x100a29e
dec eax
je 0x100a296
cmp esi, 0x501
jle 0x100a2ac
push esi
push edi
call fcn.01009b4a
jmp 0x100a2ac
push edi
call fcn.0100979a
jmp 0x100a2ac
push edi
call fcn.010082f2
jmp 0x100a2ac
push edi
call fcn.0100d480
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 0x10