Function at 0x614e10
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00615280
mov ecx, esi
call fcn.00615cf0
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x614bfe
cmp eax, 1
jne 0x614c06
mov ecx, esi
pop esi
jmp 0x614e10
pop esi
ret
push 0xffffffffffffffff
push 0x76a467
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x2c], vtable.wbs::StringBase_char_.0
push 1
push 0x105
lea ecx, [esp + 0x38]
mov dword [esp + 0xec], 0
call reloc.KERNEL32.dll_ReadConsoleW
test al, al
je 0x614ea2
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov dword [esp + 0x40], 0
cmovae eax, dword [esp + 0x30]
mov byte [eax], 0
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
push 0x104
cmovae eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
call fcn.005f22a0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x80]
mov byte [esp + 0xe4], 1
push eax
call fcn.00662df0
add esp, 4
push 1
push 0x77e884
lea ecx, [esp + 0xa8]
mov byte [esp + 0xec], 2
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
call fcn.00409620
mov dword [esp + 0x9c], vtable.wbs::StringBase_char_.0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa8]
mov byte [esp + 0xec], 3
push eax
lea ecx, [esp + 0x90]
call fcn.004094b0
cmp dword [esp + 0xb4], 0x10
mov byte [esp + 0xe4], 2
mov dword [esp + 0x9c], vtable.wbs::StringBase_char_.0
jb 0x614f87
push dword [esp + 0xa0]
call fcn.006f75a9
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x68], 0xf
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.00404c20
mov dword [esp + 0x48], vtable.wbs::StringBase_char_.0
push 0xc
push str..oldwindows
lea ecx, [esp + 0x70]
mov byte [esp + 0xec], 4
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
call fcn.00409620
mov dword [esp + 0x64], vtable.wbs::StringBase_char_.0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x70]
mov byte [esp + 0xec], 5
push eax
lea ecx, [esp + 0x58]
call fcn.004094b0
cmp dword [esp + 0x7c], 0x10
mov byte [esp + 0xe4], 4
mov dword [esp + 0x64], vtable.wbs::StringBase_char_.0
jb 0x61502e
push dword [esp + 0x68]
call fcn.006f75a9
add esp, 4
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.006139b0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 6
call fcn.00618c20
cmp dword [esp + 0xd0], 0x10
mov byte [esp + 0xe4], 4
mov dword [esp + 0xb8], vtable.wbs::StringBase_char_.0
jb 0x61508b
push dword [esp + 0xbc]
call fcn.006f75a9
add esp, 4
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.006139b0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 7
call fcn.00618c20
cmp dword [esp + 0xd0], 0x10
mov byte [esp + 0xe4], 4
mov dword [esp + 0xb8], vtable.wbs::StringBase_char_.0
jb 0x6150eb
push dword [esp + 0xbc]
call fcn.006f75a9
add esp, 4
lea eax, [esp + 0x18]
push eax
call fcn.006098d0
sub esp, 0x1c
mov dword [esp + 0x48], esp
mov esi, esp
test eax, eax
je 0x615107
add eax, 4
jmp 0x615109
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404c20
mov dword [esi], vtable.wbs::StringBase_char_.0
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
mov edx, 0x77e880
mov byte [esp + 0x104], 8
cmovae eax, dword [esp + 0x50]
sub esp, 0x1c
mov ebx, esp
test eax, eax
cmovne edx, eax
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], 0
mov byte [ebx + 4], 0
cmp byte [edx], 0
jne 0x61516d
xor ecx, ecx
jmp 0x61517b
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x615172
sub ecx, edi
push ecx
push edx
lea ecx, [ebx + 4]
call fcn.00409620
mov dword [ebx], vtable.wbs::StringBase_char_.0
mov ecx, ebp
mov byte [esp + 0x120], 4
call fcn.00614c10
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x48], vtable.wbs::StringBase_char_.0
jb 0x6151b5
push dword [esp + 0x4c]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x98], 0x10
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov dword [esp + 0x80], vtable.wbs::StringBase_char_.0
jb 0x6151ee
push dword [esp + 0x84]
call fcn.006f75a9
add esp, 4
mov esi, dword [esp + 0x18]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
test esi, esi
je 0x615230
push dword [esp + 0x24]
lea eax, [esp + 0x1b]
push eax
push dword [esp + 0x24]
push esi
call fcn.00519950
push esi
call fcn.006f75a9
add esp, 0x14
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x2c], vtable.wbs::StringBase_char_.0
jb 0x61524b
push dword [esp + 0x30]
call fcn.006f75a9
add esp, 4
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.006f7ca4
add esp, 0xd4
ret