Function at 0x10013f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006952e
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x1007d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.mouth
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push 0x1007ea08
push 0x4a2
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movzx ecx, word [0x1007d86c]
mov edx, 0x21d6
mov esi, dword [0x1007d8a4]
mov eax, dword [0x1007d8b4]
mov dword [ebp - 0x18], ecx
cmp esi, 6
je 0x10013f98
mov edx, eax
sub edx, ecx
add edx, 0xd
jmp 0x10013fa8
sub eax, ecx
lea ecx, [eax + 0x21d6]
mov eax, dword [0x1007d8b4]
mov dword [ebp - 0x18], ecx
add al, 0x43
add al, dl
cmp esi, 6
je 0x10013fbb
movzx edx, al
sub edx, ecx
add edx, 0xd
jmp 0x10013fc5
movzx eax, al
sub eax, ecx
add eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [0x1007d8b4]
mov eax, dword [ebp - 0x1c]
imul ecx, eax
imul ecx, ecx, 0x76d8
sub eax, ecx
mov dword [0x1007d8b4], ecx
add eax, 0x212c
mov word [0x1007d864], ax
mov al, dl
sub al, cl
add al, 0x2c
mov byte [ebp - 0x11], al
mov eax, dword [0x1007d8a8]
sub eax, dword [0x1007d878]
cmp eax, 0x300
jne 0x10014016
movzx eax, byte [ebp - 0x11]
add eax, 0xffffffde
lea ecx, [edx + eax*2]
mov eax, dword [ebp - 0x18]
sub cl, al
jmp 0x1001402f
mov eax, dword [ebp - 0x18]
movzx ecx, byte [ebp - 0x11]
movzx eax, al
imul ecx, eax
mov al, cl
shl cl, 2
add cl, al
shl cl, 3
add cl, dl
add cl, 0xd
mov dword [ebp - 4], 0
mov byte [0x1007d866], cl
mov ecx, dword [0x1007d8b4]
mov eax, ecx
imul eax, dword [ebp - 0x18]
imul esi, eax, 0x76d8
sub ecx, esi
mov dword [ebp - 0x18], esi
add ecx, 0x212c
push ecx
push 0x1007ea08
mov dword [0x1007d868], ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [0x1007e33c]
mov byte [ebp - 0x11], al
movzx eax, byte [0x1007d866]
lea eax, [eax*2 + 7]
mov dword [0x1007d8b4], eax
add eax, 0x43
add eax, esi
mov dword [0x1007d868], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008e05c]
cmp eax, dword [ecx + 4]
jg 0x10014315
mov eax, dword [0x1007d8b4]
sub eax, esi
mov dword [ebp - 0x3c], vtable.CBufferRefT_char_.0
add eax, 0x212c
mov dword [ebp - 0x38], str.Own_Size_Mass__guide_sp
mov dword [0x1007d868], eax
xor edx, edx
nop
inc edx
mov dword [ebp - 0x34], edx
cmp byte [edx + str.Own_Size_Mass__guide_sp], 0
jne 0x100140d0
cmp dword [0x1007d900], 0
jne 0x100140ed
xor edx, edx
jmp 0x1001419f
lea ecx, [ebp - 0x90]
call fcn.10001b60
xor eax, eax
mov byte [ebp - 4], 7
cmp dword [0x1007d900], eax
je 0x10014133
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x44], str.Own_Size_Mass__guide_sp
mov dword [ebp - 0x40], edx
test edx, edx
jns 0x1001412d
mov eax, dword [0x1007d904]
shr eax, 4
not eax
and eax, 1
add eax, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10001d90
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], vtable.CBufferT_int_.0
test eax, eax
je 0x1001415a
push eax
call fcn.1000b298
add esp, 4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], vtable.CBufferRefT_int_.0
mov dword [ebp - 0x7c], vtable.CBufferT_int_.0
test eax, eax
je 0x10014178
push eax
call fcn.1000b298
add esp, 4
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], vtable.CBufferRefT_int_.0
mov dword [ebp - 0x90], vtable.CBufferT_int_.0
test eax, eax
je 0x1001419c
push eax
call fcn.1000b298
add esp, 4
mov edx, dword [ebp - 0x24]
movzx eax, byte [0x1007d866]
mov ecx, esi
sub ecx, eax
sub ecx, 7
mov dword [0x1007d8b4], ecx
test edx, edx
je 0x100141c0
push edx
call fcn.1000b298
add esp, 4
movzx eax, byte [ebp - 0x11]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1007d868]
mov dword [ebp - 0x1c], eax
sub eax, ecx
add eax, 0xd
mov dword [0x1007d8b4], eax
mov eax, dword [ebp - 0x18]
cmp dword [0x1007d8b0], eax
jb 0x100141f9
sub dword [0x1007d8cc], ecx
add eax, 0x43
add eax, ecx
mov dword [0x1007d8b0], eax
push str.Partic
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
movzx ecx, word [0x1007d86c]
mov al, byte [0x1007d8b4]
sub cl, 0x44
movzx edi, word [0x1007d86c]
add al, cl
mov cl, byte [0x1007d866]
mov edx, dword [ebp - 0x1c]
add cl, al
mov eax, dword [0x1007d868]
imul eax, edi
movzx esi, cl
sub esi, edx
mov byte [0x1007d866], cl
add esi, dword [0x1007d8b4]
add edx, 0xffffffbc
mov ecx, dword [ebp - 0x18]
imul eax, eax, 0x76d8
add eax, edx
add eax, esi
mov dword [0x1007d868], eax
imul eax, esi
imul eax, eax, 0x76d8
mov dword [0x1007d8b4], eax
call fcn.100145a0
mov edx, dword [0x1007d8b0]
sub edx, dword [0x1007d8b4]
add edx, 0x212c
mov dword [ebp - 0x18], eax
cmp dword [0x1007d8a4], 6
mov dword [0x1007d868], eax
je 0x100142c1
mov cl, byte [0x1007d866]
mov esi, dword [0x1007d8b4]
movzx eax, cl
sub esi, eax
mov eax, esi
mov dword [ebp - 0x18], esi
add eax, 0xd
mov dword [ebp - 0x18], eax
mov dword [0x1007d868], eax
jmp 0x100142cf
mov cl, al
sub cl, byte [0x1007d866]
add cl, byte [0x1007d8b4]
cmp dword [0x1007d8b8], edx
ja 0x100142ee
mov esi, dword [ebp - 0x1c]
mov eax, edx
sub eax, esi
mov dword [0x1007d894], esi
add eax, 0x212c
mov dword [0x1007d8b4], eax
sub dl, byte [ebp - 0x18]
mov eax, 1
sub dl, 0x1d
add cl, dl
mov byte [0x1007d866], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x1008e05c
call fcn.100071b0
add esp, 4
cmp dword [0x1008e05c], 0xffffffff
jne 0x100140ae
mov dword [ebp - 0x3c], vtable.CBufferRefT_char_.0
xor esi, esi
mov dword [ebp - 0x38], str.busy_l
jmp 0x10014341
inc esi
mov dword [ebp - 0x34], esi
cmp byte [esi + str.busy_l], 0
jne 0x10014341
mov edx, dword [0x1007d91c]
xor edi, edi
test edx, edx
jle 0x10014382
jmp 0x10014360
mov eax, dword [0x1007d920]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x1001437b
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov edx, dword [0x1007d91c]
jmp 0x1001437b
inc edi
cmp edi, edx
jl 0x10014360
jmp 0x10014382
push 0x44
push 0
push 0x1007d9e8
mov dword [0x1007d91c], 0
mov dword [0x1007d900], 0
mov dword [0x1007d908], 0
call fcn.10008990
mov dword [ebp - 0x28], vtable.CBufferRefT_char_.0
mov dword [ebp - 0x24], str.busy_l
mov dword [ebp - 0x20], esi
add esp, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
call fcn.10002030
push 0x10069550
call fcn.100075bb
push 0x1008e05c
call fcn.10007166
mov esi, dword [ebp - 0x18]
add esp, 8
jmp 0x100140ae