Function at 0x487d76
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x74], ecx
push 0x4fc0d8
lea ecx, [ebp - 0x70]
call fcn.00418850
push str._Y_m_d_H_M_S
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040b1b0
mov ecx, eax
call fcn.0046ef10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [esi]
lea eax, [ebp - 0x70]
push str.360_install__s__d
push eax
call fcn.004048a0
mov ecx, dword [ebp - 0x68]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00404d30
xor eax, eax
push 0x206
mov word [ebp - 0x64], ax
xor ebx, ebx
lea eax, [ebp - 0x62]
push ebx
push eax
mov dword [ebp - 0x78], 0x65
call fcn.00497680
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x4d689c
test eax, eax
je 0x487e7b
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0048619b
add esp, 0xc
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004067a0
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00404d30
mov edi, dword [ebp - 0x68]
push edi
call fcn.0048521a
pop ecx
mov dword [ebp - 0x78], eax
cmp eax, ebx
jne 0x487e6a
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
add ecx, 0x58
call fcn.00404570
lea ecx, [edi - 0x10]
call fcn.00404d30
cmp dword [ebp - 0x78], ebx
je 0x487fe2
mov dword [ebp - 0x68], 0x65
cmp byte [0x4faa31], bl
je 0x487f2a
cmp byte [0x4fa9d1], 1
jne 0x487f2a
push 0x4faa18
lea ecx, [ebp - 0x7c]
call fcn.00404530
mov edi, dword [ebp - 0x7c]
cmp dword [edi - 0xc], ebx
je 0x487f22
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push 0x4cf3e4
push eax
call fcn.0048619b
add esp, 0xc
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004067a0
mov ecx, dword [ebp - 0x68]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00404d30
cmp dword [edi - 0xc], ebx
jge 0x487eed
push 0x80070057
call fcn.00404ce0
movzx eax, word [edi]
push eax
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00485f31
mov esi, dword [ebp - 0x6c]
push esi
call fcn.0048521a
pop ecx
mov dword [ebp - 0x68], eax
cmp eax, ebx
jne 0x487f1a
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
add ecx, 0x58
call fcn.00404570
lea ecx, [esi - 0x10]
call fcn.00404d30
lea ecx, [edi - 0x10]
jmp 0x487fd5
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push 0x4cf3e4
push eax
call fcn.0048619b
add esp, 0xc
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004067a0
mov ecx, dword [ebp - 0x68]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00404d30
xor esi, esi
lea eax, [esi + 0x41]
push eax
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00485f31
push dword [ebp - 0x6c]
call fcn.0048521a
pop ecx
mov dword [ebp - 0x68], eax
cmp eax, ebx
je 0x487f7f
inc esi
cmp esi, 0x1a
jl 0x487f5a
jmp 0x487fcf
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
add ecx, 0x58
call fcn.00404570
cmp byte [0x4faa31], bl
je 0x487fcf
push 0x4faa18
lea ecx, [ebp - 0x7c]
call fcn.00404530
mov edi, dword [ebp - 0x7c]
cmp dword [edi - 0xc], ebx
je 0x487fc7
add esi, 0x41
push esi
push ebx
lea ecx, [ebp - 0x7c]
call fcn.00485f31
mov edi, dword [ebp - 0x7c]
push ebx
push edi
mov ecx, 0x4fa998
call fcn.00480f70
lea ecx, [edi - 0x10]
call fcn.00404d30
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00404d30
cmp dword [ebp - 0x68], ebx
jne 0x487fe2
mov dword [ebp - 0x78], ebx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp - 0x70]
cmp eax, ebx
sete bl
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp + 0x1a4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x1a8
leave
ret