Function at 0x10014410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100745ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1001469b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10014667
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x18d3
mov dword [ebp - 0x48], 0x10007b98
cmp dword [ebp - 0x20], 0x1b8c
jle 0x10014522
and dword [ebp - 0x18], 0
jmp 0x100144d6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4c7e
jge 0x10014522
and dword [ebp - 0x14], 0
jmp 0x100144ec
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x196c
jge 0x10014520
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
mov ecx, 0x1061cd78
call fcn.1000f3d7
jmp 0x100144e5
jmp 0x100144cf
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x90], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x183b
jge 0x10014548
mov edx, dword [ebp - 0x48]
mov ecx, 0x1061cd78
call fcn.100119e8
jmp 0x10014564
or dword [ebp - 4], 0xffffffff
jmp 0x1001456e
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x54]
call fcn.1000f696
imul esi, dword [eax]
push 1
mov ecx, dword [ebp - 0x5c]
call fcn.1000f696
add esi, dword [eax]
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
add eax, esi
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx], eax
jne 0x10014616
mov dword [ebp - 0x24], 1
jmp 0x1001461a
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x142ace07
jge 0x10014638
push 1
mov ecx, dword [ebp - 0x74]
call fcn.1000f696
cmp dword [eax], 0
jne 0x10014638
and dword [ebp - 0x1c], 0
jmp 0x1001463f
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 1
jne 0x10014656
mov dword [ebp - 0x2c], 1
jmp 0x1001465a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x10014699
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x10014699
push 0x2455
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x100146c8
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa4], eax
push dword [ebp - 0xa4]
push 0x3d9d
push dword [ebp - 0xac]
push 0
call fcn.10015350
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret