Function at 0x10073dee
Capabilities:
Get common file path

Disassembly:
push 0x20
mov eax, 0x1009bff4
call fcn.10094b6a
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.10049524
mov dword [ebp - 4], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084ad6
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
mov ebx, 0x100bcf90
mov ecx, ebx
mov esi, edi
call fcn.10084a73
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.1004937f
mov ebx, eax
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.10049524
mov byte [ebp - 4], 5
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084ad6
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.1005f623
test eax, eax
jne 0x10073ef3
push ebx
call fcn.1004937f
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10049419
mov byte [ebp - 4], 8
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084ad6
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.1005f4dc
lea eax, [esi - 0x10]
call fcn.10084b37
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x10073f1f
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10084ad6
add eax, 0x10
mov dword [esi], eax
call fcn.1004945f
test al, al
jne 0x10074087
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.10049419
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084ad6
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.1005f4dc
lea eax, [esi - 0x10]
call fcn.10084b37
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x10073f8d
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10084ad6
add eax, 0x10
mov dword [esi], eax
call fcn.1004945f
test al, al
jne 0x10074087
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.10049419
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084ad6
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.1005f4dc
lea eax, [esi - 0x10]
call fcn.10084b37
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x10073ffb
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10084ad6
add eax, 0x10
mov dword [esi], eax
call fcn.1004945f
test al, al
jne 0x10074087
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 0x1007401a
mov eax, esi
mov ecx, edi
call fcn.1008495f
push dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
or eax, 0xffffffff
mov esi, edi
call fcn.1008472b
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x10074087
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.10084ad6
add eax, 0x10
mov dword [esi], eax
call fcn.1004945f
test al, al
jne 0x10074087
mov eax, dword [edi]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x1007406c
xor eax, eax
mov ecx, edi
call fcn.1008495f
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jge 0x1007407d
push 0x80070057
call fcn.10084aa9
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.10084b37
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, edi
call fcn.10094c56
ret 4