Function at 0x1000a87b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006240c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1000a8cb
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
push 0x64cc
push dword [ebp - 0x34]
push 1
call fcn.1000aa5e
add esp, 0x10
jmp 0x1000aa4d
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], 0x11a5
mov dword [ebp - 0x60], str.fzowawsay_krxkwdq_psykt_zkr_rrvedrtg_ctobiedoe_kdxpyuo_gvmignxvs_odynkwo_ojvqp_nbdgnnez
cmp dword [ebp - 0x2c], 0x154e
jle 0x1000a97e
and dword [ebp - 0x20], 0
jmp 0x1000a90d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1bf
jge 0x1000a96d
and dword [ebp - 0x18], 0
jmp 0x1000a923
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1185
jge 0x1000a96b
and dword [ebp - 0x1c], 0
jmp 0x1000a939
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3d25
jge 0x1000a969
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, edx
shl eax, cl
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov ecx, 0x1007f138
call fcn.10002c1c
jmp 0x1000a932
jmp 0x1000a91c
jmp 0x1000a906
push 0
push 0x8e8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1000a9c2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10001f76
mov esi, eax
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10001f76
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x1000aa0d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1000a9f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1000aa0d
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.10001f76
mov dword [eax], 0xfffe
jmp 0x1000a9e5
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x105b
jge 0x1000aa27
mov edx, dword [ebp - 0x60]
mov ecx, 0x1007f138
call fcn.100045d3
jmp 0x1000aa43
or dword [ebp - 4], 0xffffffff
jmp 0x1000aa4d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret