Function at 0x1007c595
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x100b33f8
call fcn.100a5688
mov ebx, ecx
mov dword [ebp - 0x10], ebx
and dword [ebp - 4], 0
and dword [ebp - 0x20], 0
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
call fcn.10091a7b
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.1008e9f3
push eax
mov ecx, ebx
call fcn.10091a7b
mov dword [ebp - 0x20], esi
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x14]
call fcn.10091a7b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
push dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
push dword [sym.imp.kernel32.dll_Process32NextW]
push dword [sym.imp.kernel32.dll_Process32FirstW]
call fcn.10091a7b
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10091a7b
mov byte [ebp - 4], 5
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push esi
lea ecx, [ebp - 0x28]
call fcn.10091a7b
test eax, eax
jne 0x1007c6cd
push dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
push dword [sym.imp.kernel32.dll_Process32NextW]
mov ecx, dword [ebp - 0x18]
push dword [sym.imp.kernel32.dll_Process32FirstW]
call fcn.10091a7b
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10091a7b
mov byte [ebp - 4], 8
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
push eax
call fcn.10091a7b
lea ecx, [ebx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x1007c6f9
lea eax, [ebp - 0x14]
push eax
push ecx
mov ebx, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ebx
call fcn.1008eb5d
add eax, 0x10
mov dword [ebx], eax
call fcn.1005064a
test al, al
jne 0x1007c869
push dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.10091a7b
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
push eax
call fcn.10091a7b
lea ecx, [ebx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x1007c76f
lea eax, [ebp - 0x14]
push eax
push ecx
mov ebx, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ebx
call fcn.1008eb5d
add eax, 0x10
mov dword [ebx], eax
call fcn.1005064a
test al, al
jne 0x1007c869
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.10091a7b
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
push eax
call fcn.10091a7b
lea ecx, [ebx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x1007c7e8
lea eax, [ebp - 0x14]
push eax
push ecx
mov ebx, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ebx
call fcn.1008eb5d
add eax, 0x10
mov dword [ebx], eax
call fcn.1005064a
mov ebx, dword [ebp - 0x10]
test al, al
jne 0x1007c86c
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
mov edx, 0x104
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x1007c80b
push edx
mov ecx, ebx
call fcn.10091a7b
mov edx, 0x104
push dword [ebx]
push edx
call dword [sym.imp.kernel32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.10091a7b
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x1007c86c
lea eax, [ebp - 0x14]
push eax
push ecx
mov ebx, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ebx
call fcn.1008eb5d
add eax, 0x10
mov dword [ebx], eax
call fcn.1005064a
mov ebx, dword [ebp - 0x10]
test al, al
jne 0x1007c86c
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x1007c85e
push 0
mov ecx, ebx
call fcn.10091a7b
push 0
mov ecx, ebx
call fcn.10091a7b
jmp 0x1007c86c
mov ebx, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea ecx, [edi - 0x10]
call fcn.1008ebf5
mov eax, ebx
call fcn.100a5651
ret 0xc