Function at 0x48bbb0
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.004b6d40
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.004c1de0
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 0x48bbf0
test eax, eax
je 0x48bcb0
mov dword [esp + 4], 0
lea ecx, [ebp - 0x30]
mov dword [esp], edx
call fcn.004c1de0
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 0x48bd08
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.00490650
mov ecx, esi
call fcn.0048f970
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x48bc96
mov edx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004d55a0
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x48bcd0
cmp dword [esi + 4], 0
je 0x4dce00
jmp 0x4dce8f
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 0x48bc27
lea eax, [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0048cb10
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x48bc9d
cmp al, 2
je 0x48bcfb
call fcn.004b6d50
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], eax
jmp 0x48bc9d
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 0x48bc58
mov dword [esp], 0x18
call fcn.004d5680
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov dword [esp], str.temp_directory_path
call fcn.004bf290
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.0048d4a0
sub esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.004bbce0
mov dword [esp + 8], 0x48d6a0
mov dword [esp + 4], 0x4f4328
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004d5c00
mov ecx, ebx
call fcn.004966e0
mov ecx, esi
call fcn.004c0130
lea ecx, [ebp - 0x30]
call fcn.004c0130
mov dword [esp], edi
call fcn.0040ea90
lea ecx, [ebp - 0x30]
call fcn.004c0130
mov dword [esp], ebx
call fcn.0040ea90
mov dword [esp], 0x18
call fcn.004d5680
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov dword [esp], str.temp_directory_path
call fcn.004bf290
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.0048d380
sub esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.004bbce0
mov dword [esp + 8], 0x48d6a0
mov dword [esp + 4], 0x4f4328
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004d5c00
mov edi, eax
mov ecx, ebx
call fcn.004966e0
mov ecx, esi
call fcn.004c0130
mov dword [esp], edi
call fcn.0040ea90
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.004bbce0
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004d58f0
jmp 0x4dcef6