Function at 0x10067240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011df06
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x101c7100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.100d5fa9
xorps xmm0, xmm0
mov dword [ebp - 0x1c0], eax
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1c4]
call fcn.10066f40
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x100672f9
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100672ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006768a
push ecx
push edx
call fcn.100eb0f7
add esp, 8
lea eax, [ebp - 0x1c4]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.100d6f81
mov ecx, dword [ebp - 0x1cc]
add esp, 8
test ecx, ecx
je 0x10067335
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10067335
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c0]
test ecx, ecx
je 0x1006735b
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1006735b
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x1c8], 0
push eax
push 0
push 0
push 0x101287a4
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
push 0x104
push dword [ebp - 0x1c8]
lea eax, [ebp - 0x114]
push eax
call fcn.100fdbca
lea edi, [ebp - 0x114]
add esp, 0xc
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100673a0
mov ecx, 0xa
lea eax, [ebp - 0x144]
mov esi, str.GTA_San_Andreas_User_FilesSAMP_sa_mp.cfg
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x114]
push eax
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.100f0742
add esp, 8
test eax, eax
jne 0x1006764e
sub esp, 0x18
lea ecx, [ebp - 0x114]
mov edx, esp
lea esi, [ecx + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100673f0
sub ecx, esi
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, edx
call fcn.10030ed0
lea ecx, [ebp - 0x1bc]
call fcn.100c2cf0
sub esp, 0x18
mov dword [ebp - 4], 2
mov eax, esp
lea ecx, [ebp - 0x1bc]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], 0xf
movq xmm0, qword [str.pagesize]
movq qword [eax], xmm0
mov byte [eax + 8], 0
call fcn.100c2e80
push 0xa
mov ecx, eax
call fcn.100c20c0
sub esp, 0x18
mov dword [0x101c7bf0], eax
mov eax, esp
lea ecx, [ebp - 0x1bc]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], 0xf
movq xmm0, qword [str.fpslimit]
movq qword [eax], xmm0
mov byte [eax + 8], 0
call fcn.100c2e80
push 0x5a
mov ecx, eax
call fcn.100c20c0
sub esp, 0x18
mov dword [0x101c7bec], eax
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xf
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.disableheadmove]
movq qword [ecx], xmm0
mov eax, dword [0x101a661c]
mov dword [ecx + 8], eax
movzx eax, word [0x101a6620]
mov word [ecx + 0xc], ax
movzx eax, byte [0x101a6622]
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], 0
lea ecx, [ebp - 0x1bc]
call fcn.100c2e80
push 0
mov ecx, eax
call fcn.100c20c0
sub esp, 0x18
mov dword [0x101eed38], eax
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 9
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.timestamp]
movq qword [ecx], xmm0
movzx eax, byte [0x101a6644]
mov byte [ecx + 8], al
mov byte [ecx + 9], 0
lea ecx, [ebp - 0x1bc]
call fcn.100c2e80
push 0
mov ecx, eax
call fcn.100c20c0
sub esp, 0x18
mov dword [0x101eed2c], eax
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xb
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.audiomsgoff]
movq qword [ecx], xmm0
movzx eax, word [0x101a6638]
mov word [ecx + 8], ax
movzx eax, byte [0x101a663a]
mov byte [ecx + 0xa], al
mov byte [ecx + 0xb], 0
lea ecx, [ebp - 0x1bc]
call fcn.100c2e80
push 0
mov ecx, eax
call fcn.100c20c0
sub esp, 0x18
mov dword [0x101eed28], eax
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xf
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.nonametagstatus]
movq qword [ecx], xmm0
mov eax, dword [0x101a665c]
mov dword [ecx + 8], eax
movzx eax, word [0x101a6660]
mov word [ecx + 0xc], ax
movzx eax, byte [0x101a6662]
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], 0
lea ecx, [ebp - 0x1bc]
call fcn.100c2e80
push 0
mov ecx, eax
call fcn.100c20c0
sub esp, 0x18
mov dword [0x101eed30], eax
mov eax, esp
lea ecx, [ebp - 0x1bc]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], 0xf
movq xmm0, qword [str.fontsize]
movq qword [eax], xmm0
mov byte [eax + 8], 0
call fcn.100c2e80
push 0
mov ecx, eax
call fcn.100c20c0
lea ecx, [ebp - 0x1bc]
mov dword [0x101eed34], eax
call fcn.1004f970
jmp 0x1006766f
lea eax, [ebp - 0x114]
push eax
push str.SA_MP.cfg
push eax
call fcn.10030c90
lea eax, [ebp - 0x114]
push eax
call fcn.1005b7f0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100eaab6
mov esp, ebp
pop ebp
ret
call fcn.100f1ae9
int3