Function at 0x48a7c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x28]
push ebx
sub esp, 0x4c
mov dword [ebp - 0x38], 0
mov esi, dword [ebp + 8]
call fcn.004b66a0
mov dword [ebp - 0x30], edi
mov edx, 0x400
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x28], ax
lea esi, [esi]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x30]
mov dword [esp], edx
call fcn.004c2f40
mov eax, dword [ebp - 0x30]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call ebx
sub esp, 8
mov edx, eax
cmp dword [ebp - 0x2c], eax
jb 0x48a800
test eax, eax
je 0x48a8c0
mov dword [esp + 4], 0
lea ecx, [ebp - 0x30]
mov dword [esp], edx
call fcn.004c2f40
mov eax, dword [ebp - 0x30]
lea edx, [esi + 8]
mov ebx, dword [ebp - 0x2c]
sub esp, 8
mov dword [esi], edx
cmp eax, edi
je 0x48a918
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
lea ebx, [esi + 0x18]
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x28], ax
call fcn.0048f260
mov ecx, esi
call fcn.0048e580
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x48a8a6
mov edx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004d4eb0
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x48a8e0
cmp dword [esi + 4], 0
je 0x4d8170
jmp 0x4d81ff
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jmp 0x48a837
lea eax, [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0048b720
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x48a8ad
cmp al, 2
je 0x48a90b
call fcn.004b66b0
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], eax
jmp 0x48a8ad
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + ebx + 2]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
jmp 0x48a868
mov dword [esp], 0x18
call fcn.004d5c10
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov dword [esp], str.temp_directory_path
call fcn.004bff00
push edx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp + 8], edx
mov dword [esp], eax
mov ecx, dword [ebp - 0x3c]
call fcn.0048c0b0
sub esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.004bbee0
mov dword [esp + 8], 0x48c2b0
mov dword [esp + 4], 0x4eb22c
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004d6190
mov ecx, ebx
call fcn.00495378
mov ecx, esi
call fcn.004c0d5c
lea ecx, [ebp - 0x30]
call fcn.004c0d5c
mov dword [esp], edi
call fcn.0040ea90
lea ecx, [ebp - 0x30]
call fcn.004c0d5c
mov dword [esp], ebx
call fcn.0040ea90
mov dword [esp], 0x18
call fcn.004d5c10
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov dword [esp], str.temp_directory_path
call fcn.004bff00
push eax
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [esp + 8], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], eax
mov ecx, dword [ebp - 0x3c]
call fcn.0048bf90
sub esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.004bbee0
mov dword [esp + 8], 0x48c2b0
mov dword [esp + 4], 0x4eb22c
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004d6190
mov edi, eax
mov ecx, ebx
call fcn.00495378
mov ecx, esi
call fcn.004c0d5c
mov dword [esp], edi
call fcn.0040ea90
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.004bbee0
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004d5e80
jmp 0x4d8266