Function at 0x10073f5b
Capabilities:
Get common file path

Disassembly:
push 0x20
mov eax, 0x1009c0b9
call fcn.10094bba
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.10049583
mov dword [ebp - 4], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084bc8
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
mov ebx, 0x100bcf90
mov ecx, ebx
mov esi, edi
call fcn.10084b65
mov eax, dword [0x100bcf90]
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.100493de
mov ebx, eax
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.10049583
mov byte [ebp - 4], 5
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.1005f70a
test eax, eax
jne 0x10074060
push ebx
call fcn.100493de
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10049478
mov byte [ebp - 4], 8
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.1005f5c3
lea eax, [esi - 0x10]
call fcn.10084c29
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1007408c
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10084bc8
add eax, 0x10
mov dword [esi], eax
call fcn.100494be
test al, al
jne 0x100741f4
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.10049478
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.1005f5c3
lea eax, [esi - 0x10]
call fcn.10084c29
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x100740fa
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10084bc8
add eax, 0x10
mov dword [esi], eax
call fcn.100494be
test al, al
jne 0x100741f4
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.10049478
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.1005f5c3
lea eax, [esi - 0x10]
call fcn.10084c29
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x10074168
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10084bc8
add eax, 0x10
mov dword [esi], eax
call fcn.100494be
test al, al
jne 0x100741f4
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 0x10074187
mov eax, esi
mov ecx, edi
call fcn.10084a51
push dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
or eax, 0xffffffff
mov esi, edi
call fcn.1008481d
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x100741f4
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10084bc8
add eax, 0x10
mov dword [esi], eax
call fcn.100494be
test al, al
jne 0x100741f4
mov eax, dword [edi]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x100741d9
xor eax, eax
mov ecx, edi
call fcn.10084a51
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jge 0x100741ea
push 0x80070057
call fcn.10084b9b
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.10084c29
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, edi
call fcn.10094ca6
ret 4