Function at 0x466410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x36
push 0
push 0
dec ecx
jne 0x466418
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, 0x483c50
xor eax, eax
push ebp
push 0x46672a
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.00404e04
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 0x46673c
mov eax, 0x7530
call fcn.00403134
lea edx, [ebp - 0x180]
call fcn.00408c90
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
call fcn.00404e1c
push dword [ebp - 0x17c]
push 0x466748
mov eax, 0x4e20
call fcn.00403134
lea edx, [ebp - 0x188]
call fcn.00408c90
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 0x184]
call fcn.00404e1c
push dword [ebp - 0x184]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00404f0c
lea eax, [ebp - 0x18c]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.00404810
mov eax, dword [ebp - 0x18c]
call fcn.00408f98
test al, al
jne 0x46651c
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.00404810
mov eax, dword [ebp - 0x190]
call fcn.0040929c
mov eax, dword [ebp - 4]
mov edx, 0x466750
call fcn.00404e48
mov eax, dword [ebp - 4]
cmp dword [edi], 0
jne 0x466536
call fcn.0046603c
mov eax, dword [edi]
call fcn.00404848
sub eax, 0xa
test eax, eax
jle 0x466683
mov dword [ebp - 0x14], eax
mov ebx, 1
mov eax, dword [edi]
cmp byte [eax + ebx - 1], 0x23
jne 0x466679
mov eax, dword [edi]
cmp byte [eax + ebx], 0x31
jne 0x466679
mov eax, dword [edi]
cmp byte [eax + ebx + 1], 0x21
jne 0x466679
mov eax, dword [edi]
cmp byte [eax + ebx + 2], 0x23
jne 0x466679
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x466679
inc dword [ebp - 8]
lea esi, [ebx + 4]
lea eax, [ebp - 0x10]
call fcn.00404590
jmp 0x4665c2
lea eax, [ebp - 0x194]
mov edx, dword [edi]
mov dl, byte [edx + esi - 1]
call fcn.00404770
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0x10]
call fcn.00404850
inc esi
mov eax, dword [edi]
cmp byte [eax + esi - 1], 0xb6
jne 0x4665a2
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 0x10]
call fcn.00408a74
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 0x10]
call fcn.00404628
lea edx, [ebp - 0x19c]
mov eax, dword [ebp - 0x10]
call fcn.00409190
mov eax, dword [ebp - 0x19c]
mov edx, 0x46675c
call fcn.0040498c
je 0x466679
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
call fcn.00466ab4
mov al, byte [0x466764]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x1ac]
mov edx, dword [ebp - 0x10]
call fcn.00404e1c
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
lea eax, [ebp - 0x1a8]
call fcn.00404ea8
mov edx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a4]
call fcn.00404810
mov eax, dword [ebp - 0x1a4]
mov ecx, 0x466770
mov edx, 0x46677c
call fcn.0040d8c8
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x10]
call fcn.00466780
inc ebx
dec dword [ebp - 0x14]
jne 0x466550
mov al, byte [0x466764]
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1b4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.00404810
mov eax, dword [ebp - 0x1b4]
mov ecx, 0x46677c
mov edx, 0x466770
call fcn.0040d8c8
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 4]
call fcn.00404e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466731
lea eax, [ebp - 0x1b4]
mov edx, 2
call fcn.004045b4
lea eax, [ebp - 0x1ac]
mov edx, 2
call fcn.00404cc4
lea eax, [ebp - 0x1a4]
mov edx, 8
call fcn.004045b4
lea eax, [ebp - 0x184]
call fcn.00404cac
lea eax, [ebp - 0x180]
call fcn.00404590
lea eax, [ebp - 0x17c]
call fcn.00404cac
lea eax, [ebp - 0x10]
call fcn.00404590
ret