Function at 0x4486d0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x640]
sub esp, 0x640
push 0xffffffffffffffff
push 0x51fb16
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp + 0x63c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp + 0x18], edi
mov eax, dword [ebp + 0x64c]
lea ebx, [edi + 0x84]
mov esi, dword [ebp + 0x648]
mov ecx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
call fcn.00408fb0
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.004e8f30
add esp, 0xc
lea ecx, [ebp]
push esi
call fcn.00408fd0
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00408e80
test al, al
je 0x4488d3
mov eax, dword [0x584888]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x18], 0x584888
test eax, eax
je 0x4487c4
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov ecx, 0x584898
call fcn.00408e80
test al, al
jne 0x448803
mov ecx, 0x584898
call fcn.00409140
lea edx, [ebp]
cmp edx, eax
je 0x4488b8
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4487fa
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x4488b0
push 0x20c
lea eax, [ebp + 0x430]
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [ebp + 0x430]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x4488b8
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x63a], ax
lea eax, [ebp + 0x1c]
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [ebp + 0x1c]
push 0x208
push eax
lea eax, [ebp + 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x448899
test eax, eax
je 0x448899
add eax, eax
cmp eax, 0x412
jae 0x448999
xor ecx, ecx
mov word [ebp + eax + 0x1c], cx
lea eax, [ebp + 0x1c]
push eax
call fcn.00409590
add esp, 4
push eax
lea eax, [ebp + 0x1c]
jmp 0x4488af
lea eax, [ebp + 0x430]
push eax
call fcn.00409590
add esp, 4
push eax
lea eax, [ebp + 0x430]
push eax
lea ecx, [ebp]
call fcn.004092c0
mov byte [ebp - 4], 1
mov eax, dword [0x584888]
test eax, eax
je 0x4488cc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0x18], 0
lea ecx, [ebp]
call fcn.00408e80
test al, al
jne 0x448958
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00408e80
test al, al
jne 0x448958
push esi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00411c20
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp]
push eax
call fcn.00408f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00408080
push str..CheckStat.data
call fcn.00409590
add esp, 4
lea ecx, [ebp]
push eax
push str..CheckStat.data
call fcn.004096f0
lea ecx, [ebp]
call fcn.00409140
cmp ebx, eax
je 0x448958
call fcn.00409140
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x44894d
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, ebx
push edx
call fcn.004092c0
mov ecx, edi
call fcn.00448a60
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00408080
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 + 0x63c]
xor ecx, ebp
call fcn.004e679a
lea esp, [ebp + 0x640]
pop ebp
ret 0xc
call fcn.004e6f1e
int3