Function at 0x10014715
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100149d6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp dword [eax], 0
je 0x100149c8
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x100149b1
push 0
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp dword [eax], 0
je 0x100147ee
push 5
pop eax
test eax, eax
je 0x100147ee
mov dword [ebp - 0x18], 1
jmp 0x100147f2
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
je 0x1001480f
mov dword [ebp - 0x6c], 1
jmp 0x10014813
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10014832
mov dword [ebp - 0x1c], 1
jmp 0x10014836
and dword [ebp - 0x1c], 0
imul esi, dword [ebp - 0x1c], 0xfc16
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
imul esi, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp esi, dword [eax]
jl 0x10014876
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x10014876
and dword [ebp - 0x24], 0
jmp 0x1001487d
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0xc3b0
jge 0x1001488f
mov dword [ebp - 0x28], 1
jmp 0x10014893
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x100148aa
mov eax, 0xc5ce
test eax, eax
jne 0x100148aa
and dword [ebp - 0x2c], 0
jmp 0x100148b1
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x100148c4
mov dword [ebp - 0x10], 1
jmp 0x100148c8
and dword [ebp - 0x10], 0
push 0
mov ecx, dword [ebp - 0x70]
call fcn.10015ff8
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jle 0x100148ea
mov dword [ebp - 0x74], 1
jmp 0x100148ee
and dword [ebp - 0x74], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.10015ff8
xor eax, eax
je 0x10014914
push 2
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp dword [eax], 0
je 0x10014914
mov dword [ebp - 0x30], 1
jmp 0x10014918
and dword [ebp - 0x30], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
jle 0x10014932
mov dword [ebp - 0x34], 1
jmp 0x10014936
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jge 0x10014949
mov dword [ebp - 0x3c], 1
jmp 0x1001494d
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
je 0x10014960
mov dword [ebp - 0x40], 1
jmp 0x10014964
and dword [ebp - 0x40], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jl 0x1001497e
mov dword [ebp - 0x44], 1
jmp 0x10014982
and dword [ebp - 0x44], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov ecx, dword [ebp - 0x44]
imul ecx, dword [eax]
test ecx, ecx
je 0x100149b1
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp dword [eax], 0
je 0x100149b1
mov dword [ebp - 0x48], 1
jmp 0x100149b5
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x48]
jge 0x100149c8
mov dword [ebp - 0x4c], 1
jmp 0x100149cc
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x100149e0
push 0
push 0xc
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
pop esi
mov esp, ebp
pop ebp
ret