Function at 0x4acbb5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x56ac
call fcn.004bf2f0
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x208
mov word [ebp - 0x210], ax
xor edi, edi
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4acc17
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.00403650
jmp 0x4ace7e
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4acc20
sub ecx, edx
sar ecx, 1
je 0x4acc59
cmp word [ebp + ecx*2 - 0x212], 0x5c
jne 0x4acc59
lea ecx, [ecx*2 - 2]
cmp ecx, 0x20a
jae 0x4ace90
xor eax, eax
mov word [ebp + ecx - 0x210], ax
push ebx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x494]
call fcn.00406c40
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x464]
call fcn.004086d0
xor ebx, ebx
lea ecx, [ebp - 0x494]
push edi
inc ebx
push ebx
call fcn.00403650
xor eax, eax
mov dword [ebp - 0x438], 7
push 0x208
mov word [ebp - 0x44c], ax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push edi
push eax
mov dword [ebp - 0x43c], edi
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x47c]
call fcn.00406c40
push 0x50ddb1
lea ecx, [ebp - 0x434]
call fcn.00402570
lea eax, [ebp - 0x434]
push eax
call fcn.004b60a0
cmp dword [ebp - 0x420], 0x10
lea eax, [ebp - 0x434]
cmovae eax, dword [ebp - 0x434]
mov dword [ebp - 0x56ac], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x56a8], eax
lea eax, [ebp - 0x56ac]
push eax
lea eax, [ebp - 0x494]
push eax
call fcn.00413270
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4acd4f
mov eax, dword [eax]
push 0x104
push eax
lea eax, [ebp - 0x56a4]
push eax
call fcn.00411600
add esp, 0xc
lea ecx, [ebp - 0x494]
push edi
push ebx
call fcn.00403650
cmp dword [ebp - 0x468], 8
lea eax, [ebp - 0x47c]
push 0x104
cmovae eax, dword [ebp - 0x47c]
push eax
lea eax, [ebp - 0x508c]
push eax
call fcn.00411600
cmp dword [ebp - 0x450], 8
lea eax, [ebp - 0x464]
push 0x104
cmovae eax, dword [ebp - 0x464]
push eax
lea eax, [ebp - 0x5294]
push eax
call fcn.00411600
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0x104
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x4e70]
push eax
call fcn.00411600
add esp, 0x24
lea eax, [ebp - 0x56a4]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push ebx
call fcn.004ae16a
add esp, 0x14
test al, al
je 0x4ace41
lea eax, [ebp - 0x4c68]
push eax
call fcn.00405d70
pop ecx
push eax
lea eax, [ebp - 0x4c68]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00407560
push edi
lea ecx, [ebp - 0x4a4]
call fcn.00412d70
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00412dc0
add esp, 0xc
lea ecx, [ebp - 0x4a4]
call fcn.00412db0
push edi
push ebx
lea ecx, [ebp - 0x434]
call fcn.00403580
push edi
push ebx
lea ecx, [ebp - 0x47c]
call fcn.00403650
push edi
push ebx
lea ecx, [ebp - 0x44c]
call fcn.00403650
lea ecx, [ebp - 0x464]
call fcn.00408720
push edi
push ebx
lea ecx, [ebp + 0xc]
call fcn.00403650
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004bfbbc
int3