Function at 0x470624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040414c
xor eax, eax
push ebp
push 0x47094f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.004555e0
push dword [ebp - 0x18]
push 0x470968
push dword [ebp - 4]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404058
mov eax, dword [ebp - 0x14]
call fcn.00408bb4
test al, al
je 0x4706ab
lea eax, [ebp - 0x18]
call fcn.004555e0
push dword [ebp - 0x18]
push 0x470968
push dword [ebp - 4]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404058
mov eax, dword [ebp - 0x14]
call fcn.00408d90
mov edx, dword [0x47ff24]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, 0x470974
call fcn.00403fe4
mov eax, dword [ebp - 0x14]
call fcn.00408d90
mov edx, dword [0x47ff24]
mov edx, dword [edx]
mov eax, 0x47098c
call fcn.004704f8
lea eax, [ebp - 0x14]
mov ecx, 0x470974
mov edx, dword [0x9ac178]
call fcn.00403fe4
mov eax, dword [ebp - 0x14]
call fcn.00408d90
mov edx, dword [0x9ac178]
mov eax, 0x47098c
call fcn.004704f8
mov eax, dword [0x47ff24]
push dword [eax]
push 0x470968
push dword [ebp - 4]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404058
mov eax, dword [ebp - 0x14]
call fcn.00408d90
push dword [0x9ac178]
push 0x470968
push dword [ebp - 4]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404058
mov eax, dword [ebp - 0x14]
call fcn.00408d90
xor eax, eax
push ebp
push 0x470770
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47ff24]
mov eax, dword [eax]
call fcn.00402b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47077a
xor eax, eax
push ebp
push 0x47079c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x9ac178]
call fcn.00402b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4707a6
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00453f84
lea ecx, [ebp - 0x28]
mov edx, 0x470998
mov eax, 0x4709a8
call fcn.0046f888
mov edx, dword [ebp - 8]
mov eax, 0x4709bc
call fcn.00404280
lea edx, [ebp - 8]
mov ecx, eax
mov eax, 1
xchg edx, eax
call fcn.004041dc
lea eax, [ebp - 0xc]
mov edx, 0x104
call fcn.004042c8
mov eax, dword [ebp - 0xc]
call fcn.0040415c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f98
push eax
call sub.kernel32.dll_GetTempPathA
mov eax, dword [ebp - 0xc]
call fcn.0040415c
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00403ed0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00403db4
mov edx, dword [ebp - 0x10]
mov eax, 0x47098c
call fcn.004704f8
mov eax, dword [0x47ff24]
push dword [eax]
push 0x470968
push dword [ebp - 8]
push 0x4709c8
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404058
mov eax, dword [ebp - 0x14]
call fcn.00408bb4
test al, al
je 0x470888
mov eax, dword [0x47ff24]
push dword [eax]
push 0x470968
push dword [ebp - 8]
push 0x4709c8
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404058
mov eax, dword [ebp - 0x14]
call fcn.00408d90
mov edx, dword [0x47ff24]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, 0x470974
call fcn.00403fe4
mov eax, dword [ebp - 0x14]
call fcn.00408d90
push dword [ebp - 0x10]
mov eax, dword [0x47ff24]
push dword [eax]
push 0x470974
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404058
mov eax, dword [ebp - 0x14]
call fcn.00408d90
xor eax, eax
push ebp
push 0x4708fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [0x47ff24]
mov ecx, dword [ecx]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00403fe4
mov eax, dword [ebp - 0x14]
call fcn.00402b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x470906
xor eax, eax
push ebp
push 0x47092a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47ff24]
mov eax, dword [eax]
call fcn.00402b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x470934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470956
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403d40
ret