Function at 0x467d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6907c2
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x640], edi
mov eax, dword [ebp + 0xc]
lea ebx, [edi + 0x84]
mov esi, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x660], edi
mov dword [ebp - 0x65c], eax
call fcn.00405d80
mov dword [ebp - 4], 0
lea eax, [edi + 0x24]
push 0x60
push 0
push eax
mov byte [edi + 0x9c], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.00652810
add esp, 0xc
lea ecx, [ebp - 0x658]
push esi
call fcn.00406ff0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x658]
call fcn.00405c90
test al, al
je 0x467f7c
mov eax, dword [0x75278c]
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x640], 0x75278c
test eax, eax
je 0x467e58
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov ecx, 0x75275c
call fcn.00405c90
test al, al
jne 0x467e9a
mov ecx, 0x75275c
call fcn.00405e20
lea edx, [ebp - 0x658]
cmp edx, eax
je 0x467f5e
call fcn.00405e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x467e91
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x467f53
push 0x20c
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00652810
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x467f5e
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x63c]
push eax
call fcn.00652810
add esp, 0xc
lea eax, [ebp - 0x63c]
push 0x208
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x467f3c
test eax, eax
je 0x467f3c
add eax, eax
cmp eax, 0x412
jae 0x46805a
xor ecx, ecx
mov word [ebp + eax - 0x63c], cx
lea eax, [ebp - 0x63c]
push eax
call fcn.004060d0
add esp, 4
push eax
lea eax, [ebp - 0x63c]
jmp 0x467f52
lea eax, [ebp - 0x224]
push eax
call fcn.004060d0
add esp, 4
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x658]
call fcn.00405ec0
mov byte [ebp - 4], 1
mov eax, dword [0x75278c]
test eax, eax
je 0x467f72
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x640], 0
lea ecx, [ebp - 0x658]
call fcn.00405c90
test al, al
jne 0x46801d
mov esi, dword [ebp - 0x65c]
mov ecx, esi
call fcn.00405c90
test al, al
jne 0x46801d
push esi
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x678]
push eax
call fcn.004354c0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x658]
push eax
call fcn.00405cf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x678]
call fcn.00405ce0
push str..CheckStat.data
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x658]
push eax
push str..CheckStat.data
call fcn.0040cab0
lea ecx, [ebp - 0x658]
call fcn.00405e20
cmp ebx, eax
je 0x46801d
call fcn.00405e20
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x468012
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, ebx
push edx
call fcn.00405ec0
mov ecx, edi
call fcn.00468120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x658]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 0xc
call fcn.0065029a
int3