Function at 0x1007bdc0
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x100b2b0f
call fcn.100a4ea8
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.10050525
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008e35d
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.1008e3f5
call fcn.1008e1f3
push eax
mov ecx, ebx
call fcn.1008df96
mov dword [ebp - 0x20], esi
call fcn.1008e1f3
push eax
lea ecx, [ebp - 0x14]
call fcn.1008df96
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.1007bb5c
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10050525
mov byte [ebp - 4], 5
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008e35d
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.1008e3f5
push esi
lea ecx, [ebp - 0x28]
call fcn.1006f0b1
test eax, eax
jne 0x1007bef8
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.1007bb5c
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1005047c
mov byte [ebp - 4], 8
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008e35d
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.1006f1e0
lea ecx, [ebx - 0x10]
call fcn.1008e3f5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x1007bf24
lea eax, [ebp - 0x14]
push eax
push ecx
mov ebx, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ebx
call fcn.1008e35d
add eax, 0x10
mov dword [ebx], eax
call fcn.100504ba
test al, al
jne 0x1007c094
push dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.1005047c
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008e35d
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.1006f1e0
lea ecx, [ebx - 0x10]
call fcn.1008e3f5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x1007bf9a
lea eax, [ebp - 0x14]
push eax
push ecx
mov ebx, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ebx
call fcn.1008e35d
add eax, 0x10
mov dword [ebx], eax
call fcn.100504ba
test al, al
jne 0x1007c094
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.1005047c
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008e35d
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.1006f1e0
lea ecx, [ebx - 0x10]
call fcn.1008e3f5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x1007c013
lea eax, [ebp - 0x14]
push eax
push ecx
mov ebx, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ebx
call fcn.1008e35d
add eax, 0x10
mov dword [ebx], eax
call fcn.100504ba
mov ebx, dword [ebp - 0x10]
test al, al
jne 0x1007c097
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 0x1007c036
push edx
mov ecx, ebx
call fcn.1008de52
mov edx, 0x104
push dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.1008db88
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x1007c097
lea eax, [ebp - 0x14]
push eax
push ecx
mov ebx, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ebx
call fcn.1008e35d
add eax, 0x10
mov dword [ebx], eax
call fcn.100504ba
mov ebx, dword [ebp - 0x10]
test al, al
jne 0x1007c097
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x1007c089
push 0
mov ecx, ebx
call fcn.1008de52
push 0
mov ecx, ebx
call fcn.1008df13
jmp 0x1007c097
mov ebx, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.1008e3f5
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
lea ecx, [edi - 0x10]
call fcn.1008e3f5
mov eax, ebx
call fcn.100a4e71
ret 0xc