Function at 0x1000f560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
and dword [ebp - 0x54], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x84], 0x26d2e858
mov dword [ebp - 0x24], 0
jmp 0x1000f5a3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 5
je 0x1000f5f4
mov dword [ebp - 0x18], 0xfffffff9
cmp dword [ebp - 0x18], 0
je 0x1000f5b8
jmp 0x1000f5f4
mov dword [ebp - 0x18], 0
jmp 0x1000f5c8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x36
jge 0x1000f5f2
cmp dword [ebp - 0x18], 0
je 0x1000f5d6
jmp 0x1000f5f2
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1000f5f0
push 0x80c
push 0
call fcn.10011ad1
pop ecx
pop ecx
jmp 0x1000f5c1
jmp 0x1000f59c
lea ecx, [ebp - 0x9c]
call fcn.10015978
and dword [ebp - 4], 0
push 0x574d
push 0xc67
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0x1bfb
push 0x4e1a
call fcn.1000f8f6
add esp, 0x1c
and dword [ebp - 0x1c], 0
jmp 0x1000f639
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jae 0x1000f6cc
mov dword [ebp - 0x2c], 1
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1000f665
push 0
push 0x1299
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x2c], 0x17
jmp 0x1000f675
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffec
jne 0x1000f68b
mov dword [ebp - 0x68], 0xfff8
mov dword [ebp - 0x68], 0xfffffffc
jmp 0x1000f66e
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x1c]
xor edx, edx
div dword [0x100845bc]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10008f88
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.10015a0a
jmp 0x1000f632
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x30], 0xfffffff6
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x80], 0x15a8df04
mov dword [ebp - 0x20], 0
jmp 0x1000f6f8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1000f70b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x64], 0xdc85
jmp 0x1000f6f1
mov dword [ebp - 0x10], 3
jmp 0x1000f71b
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1000f876
mov dword [ebp - 0x28], 0
jmp 0x1000f735
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x1000f748
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x7c], 0xa90c6d21
jmp 0x1000f72e
mov byte [ebp - 0x11], 0
push 0x712b
lea eax, [ebp - 0x11]
push eax
push 0
call fcn.100135aa
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x10], 0
je 0x1000f785
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0
je 0x1000f785
mov dword [ebp - 0x50], 1
jmp 0x1000f789
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
sub eax, 0x1e616a2f
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x64]
mov dword [ebp - 0x40], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax - 0x7c], ecx
cmp dword [ebp - 0x40], 0
je 0x1000f7c7
cmp dword [ebp - 0x30], 0
je 0x1000f7c7
mov dword [ebp - 0x3c], 1
jmp 0x1000f7cb
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x3c], eax
jge 0x1000f7e6
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x64], 0
je 0x1000f7e6
mov dword [ebp - 0x34], 1
jmp 0x1000f7ea
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x64]
cmp dword [ebp - 0x34], eax
je 0x1000f7ff
mov dword [ebp - 0x6c], 1
jmp 0x1000f803
and dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp + ecx*4 - 0x64]
cmp dword [ebp + eax - 0x64], ecx
jne 0x1000f81f
mov dword [ebp - 0x48], 1
jmp 0x1000f823
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x64]
cmp dword [ebp - 0x48], eax
je 0x1000f838
mov dword [ebp - 0x38], 1
jmp 0x1000f83c
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x21462ccd
jl 0x1000f84e
mov dword [ebp - 0x44], 1
jmp 0x1000f852
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x64]
cmp eax, dword [ebp - 0x44]
jne 0x1000f867
mov dword [ebp - 0x4c], 1
jmp 0x1000f86b
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x70], eax
jmp 0x1000f714
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10015989
mov eax, dword [ebp - 0x54]
or eax, 1
mov dword [ebp - 0x54], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.100159e2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret