Function at 0x10025584
Capabilities:
Get common file path

Disassembly:
push 0x24
mov eax, 0x1003429d
call fcn.1003265b
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x20], 0
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10011003
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
sub eax, 0x10
call fcn.100283fd
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10028460
mov esi, edi
call fcn.100283b4
mov eax, dword [0x1003fe10]
mov ecx, 0x1003fe10
mov dword [ebp - 0x20], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10011003
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10011003
mov byte [ebp - 4], 5
mov eax, dword [eax]
sub eax, 0x10
call fcn.100283fd
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10028460
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.10011003
test eax, eax
jne 0x10025683
push dword [ebp - 0x14]
call fcn.10011003
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10011003
mov byte [ebp - 4], 8
mov eax, dword [eax]
sub eax, 0x10
call fcn.100283fd
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.1001ea8d
lea eax, [esi - 0x10]
call fcn.10028460
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x100256af
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
call fcn.100283fd
add eax, 0x10
mov dword [esi], eax
call fcn.1000f0c8
test al, al
jne 0x10025818
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.10011003
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
sub eax, 0x10
call fcn.100283fd
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.1001ea8d
lea eax, [esi - 0x10]
call fcn.10028460
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1002571e
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
call fcn.100283fd
add eax, 0x10
mov dword [esi], eax
call fcn.1000f0c8
test al, al
jne 0x10025818
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
call fcn.10011003
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
sub eax, 0x10
call fcn.100283fd
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.1001ea8d
lea eax, [esi - 0x10]
call fcn.10028460
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1002578d
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
call fcn.100283fd
add eax, 0x10
mov dword [esi], eax
call fcn.1000f0c8
test al, al
jne 0x10025818
mov eax, dword [edi]
mov ecx, ebx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x100257ab
mov eax, esi
mov ecx, edi
call fcn.1002827a
push dword [edi]
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
or eax, 0xffffffff
mov esi, edi
call fcn.1001f1a2
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x10025818
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
call fcn.100283fd
add eax, 0x10
mov dword [esi], eax
call fcn.1000f0c8
test al, al
jne 0x10025818
mov eax, dword [edi]
sub ebx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ebx
jge 0x100257fb
xor eax, eax
mov ecx, edi
call fcn.1002827a
mov eax, dword [edi]
cmp dword [eax - 8], 0
jge 0x1002580d
push 0x80070057
call fcn.10011003
and dword [eax - 0xc], 0
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10028460
mov eax, edi
call fcn.10032709
ret 4