Function at 0x10072727
Capabilities:
Get common file path

Disassembly:
push 0x20
mov eax, 0x100992dc
call fcn.1009220a
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 - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10048d57
mov dword [ebp - 4], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.10082a9f
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov ebx, 0x100b8f90
mov ecx, ebx
mov esi, edi
call fcn.10082a50
mov eax, dword [0x100b8f90]
mov ecx, ebx
mov dword [ebp - 0x20], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.10048bcb
mov ebx, eax
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.10048d57
mov byte [ebp - 4], 5
mov eax, dword [eax]
sub eax, 0x10
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.1005e562
test eax, eax
jne 0x1007282c
push ebx
call fcn.10048bcb
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10048c60
mov byte [ebp - 4], 8
mov eax, dword [eax]
sub eax, 0x10
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.1005e434
lea eax, [esi - 0x10]
call fcn.10082afb
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x10072858
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [esi], eax
call fcn.10048c9c
test al, al
jne 0x100729c0
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.10048c60
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
sub eax, 0x10
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.1005e434
lea eax, [esi - 0x10]
call fcn.10082afb
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x100728c6
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [esi], eax
call fcn.10048c9c
test al, al
jne 0x100729c0
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.10048c60
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
sub eax, 0x10
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.1005e434
lea eax, [esi - 0x10]
call fcn.10082afb
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x10072934
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [esi], eax
call fcn.10048c9c
test al, al
jne 0x100729c0
mov eax, dword [edi]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x10072953
mov eax, esi
mov ecx, edi
call fcn.10082950
push dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
or eax, 0xffffffff
mov esi, edi
call fcn.10082749
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x100729c0
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [esi], eax
call fcn.10048c9c
test al, al
jne 0x100729c0
mov eax, dword [edi]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x100729a5
xor eax, eax
mov ecx, edi
call fcn.10082950
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jge 0x100729b6
push 0x80070057
call fcn.10082a7c
mov dword [eax - 0xc], ebx
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, edi
call fcn.100922e2
ret 4