Function at 0x464c14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x36
push 0
push 0
dec ecx
jne 0x464c1c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, 0x488cb0
xor eax, eax
push ebp
push 0x464f2e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x178]
push eax
push 0x164
call sub.KERNEL32.DLL_GetTempPathA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x178]
mov ecx, 0x164
call fcn.00404de4
mov dword [ebp - 8], 2
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.00402b90
mov eax, dword [ebp - 4]
push dword [eax]
push 0x464f40
mov eax, 0x7530
call fcn.00403114
lea edx, [ebp - 0x180]
call fcn.00408ca0
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
call fcn.00404dfc
push dword [ebp - 0x17c]
push 0x464f4c
mov eax, 0x4e20
call fcn.00403114
lea edx, [ebp - 0x188]
call fcn.00408ca0
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 0x184]
call fcn.00404dfc
push dword [ebp - 0x184]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00404eec
lea eax, [ebp - 0x18c]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.004047f0
mov eax, dword [ebp - 0x18c]
call fcn.00409120
test al, al
jne 0x464d20
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.004047f0
mov eax, dword [ebp - 0x190]
call fcn.00409424
mov eax, dword [ebp - 4]
mov edx, 0x464f54
call fcn.00404e28
mov eax, dword [ebp - 4]
cmp dword [edi], 0
jne 0x464d3a
call fcn.004648c0
mov eax, dword [edi]
call fcn.00404828
sub eax, 0xa
test eax, eax
jle 0x464e87
mov dword [ebp - 0x14], eax
mov ebx, 1
mov eax, dword [edi]
cmp byte [eax + ebx - 1], 0x23
jne 0x464e7d
mov eax, dword [edi]
cmp byte [eax + ebx], 0x31
jne 0x464e7d
mov eax, dword [edi]
cmp byte [eax + ebx + 1], 0x21
jne 0x464e7d
mov eax, dword [edi]
cmp byte [eax + ebx + 2], 0x23
jne 0x464e7d
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x464e7d
inc dword [ebp - 8]
lea esi, [ebx + 4]
lea eax, [ebp - 0x10]
call fcn.00404570
jmp 0x464dc6
lea eax, [ebp - 0x194]
mov edx, dword [edi]
mov dl, byte [edx + esi - 1]
call fcn.00404750
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0x10]
call fcn.00404830
inc esi
mov eax, dword [edi]
cmp byte [eax + esi - 1], 0xb6
jne 0x464da6
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 0x10]
call fcn.00408a84
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 0x10]
call fcn.00404608
lea edx, [ebp - 0x19c]
mov eax, dword [ebp - 0x10]
call fcn.00409318
mov eax, dword [ebp - 0x19c]
mov edx, 0x464f60
call fcn.0040496c
je 0x464e7d
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
call fcn.004652b8
mov al, byte [0x464f68]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x1ac]
mov edx, dword [ebp - 0x10]
call fcn.00404dfc
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
lea eax, [ebp - 0x1a8]
call fcn.00404e88
mov edx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a4]
call fcn.004047f0
mov eax, dword [ebp - 0x1a4]
mov ecx, 0x464f74
mov edx, 0x464f80
call fcn.0040d950
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x10]
call fcn.00464f84
inc ebx
dec dword [ebp - 0x14]
jne 0x464d54
mov al, byte [0x464f68]
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1b4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.004047f0
mov eax, dword [ebp - 0x1b4]
mov ecx, 0x464f80
mov edx, 0x464f74
call fcn.0040d950
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 4]
call fcn.00404dfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464f35
lea eax, [ebp - 0x1b4]
mov edx, 2
call fcn.00404594
lea eax, [ebp - 0x1ac]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 0x1a4]
mov edx, 8
call fcn.00404594
lea eax, [ebp - 0x184]
call fcn.00404c8c
lea eax, [ebp - 0x180]
call fcn.00404570
lea eax, [ebp - 0x17c]
call fcn.00404c8c
lea eax, [ebp - 0x10]
call fcn.00404570
ret