Function at 0x48be90
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1464
call fcn.00618800
push ebx
push ebp
push esi
xor ecx, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebp
call fcn.0046e0a0
test al, al
push ecx
je 0x48bfb0
push 0x802
lea ebx, [esp + 0x20]
mov dword [esp + 0x20], ecx
call fcn.004592b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48bed7
add eax, 4
jmp 0x48bed9
xor eax, eax
mov word [eax], bp
lea eax, [esp + 0x18]
call fcn.00459380
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48bef2
add eax, 4
jmp 0x48bef4
xor eax, eax
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x18]
call fcn.00459380
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48bf16
lea edi, [eax + 4]
jmp 0x48bf18
xor edi, edi
lea eax, [esp + 0x18]
call fcn.00459380
mov esi, dword [esp + 0x18]
test esi, esi
je 0x48bf2e
lea eax, [esi + 4]
jmp 0x48bf30
xor eax, eax
push 0x400
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test esi, esi
je 0x48bf46
lea eax, [esi + 4]
jmp 0x48bf48
xor eax, eax
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
call fcn.004596c0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x48bf99
lea edi, [esp + 0x10]
call fcn.00401700
movzx eax, byte [esi]
cmp eax, 0x80
mov ebp, esi
mov dword [esp + 0x10], ebp
jae 0x48bf8c
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x48bf99
lea eax, [esp + 0x10]
call fcn.00459380
mov ebp, dword [esp + 0x10]
lea edi, [esp + 0x14]
call fcn.00401700
lea edi, [esp + 0x18]
call fcn.00401700
jmp 0x48c068
push 0x401
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
call fcn.004592b0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x48bffe
lea edi, [esp + 0x10]
call fcn.00401700
movzx ecx, byte [esi]
cmp ecx, 0x80
mov dword [esp + 0x10], esi
jae 0x48bff5
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x48bffe
lea eax, [esp + 0x10]
call fcn.00459380
lea edi, [esp + 0x14]
call fcn.00401700
lea eax, [esp + 0x10]
call fcn.00459380
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48c01d
add eax, 4
jmp 0x48c01f
xor eax, eax
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x10]
call fcn.00459380
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48c041
lea esi, [eax + 4]
jmp 0x48c043
xor esi, esi
lea eax, [esp + 0x10]
call fcn.00459380
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x48c059
lea eax, [ebp + 4]
jmp 0x48c05b
xor eax, eax
push 0x400
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
cmp byte [esp + 0x147c], 0
je 0x48c097
push 0x6fb680
lea eax, [esp + 0xa4c]
mov ebx, 1
call fcn.004013f0
mov eax, dword [eax + 0x618]
test eax, eax
je 0x48c09b
lea ecx, [eax + 4]
jmp 0x48c09d
mov bl, byte [esp + 0x1c]
xor ecx, ecx
test ebp, ebp
je 0x48c0a6
lea eax, [ebp + 4]
jmp 0x48c0a8
xor eax, eax
push ecx
lea edi, [esp + 0x24]
call fcn.0043da10
lea esi, [esp + 0x14]
call fcn.00459610
mov ecx, edi
call fcn.00401770
test bl, 1
je 0x48c0d3
lea ecx, [esp + 0xa48]
call fcn.00401770
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [esp + 0x1478]
mov dword [esi], eax
je 0x48c0f6
movzx edx, byte [eax]
cmp edx, 0x80
jae 0x48c0f6
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x14]
call fcn.00401700
lea edi, [esp + 0x10]
call fcn.00401700
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1464
ret