Function at 0x4067a0
Capabilities:
Check if file exists
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x41a477
mov eax, dword fs:[0]
push eax
mov eax, 0x4224
call fcn.00409330
mov eax, dword [0x4223f8]
xor eax, esp
mov dword [esp + 0x4220], eax
push esi
push edi
mov eax, dword [0x4223f8]
xor eax, esp
push eax
lea eax, [esp + 0x4230]
mov dword fs:[0], eax
cmp dword [0x423cb4], 0
jne 0x406a3f
lea eax, [esp + 0xc]
push eax
call fcn.00405e50
add esp, 4
push str.360leakfixer.exe
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x4244], 0
call fcn.00404ae0
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
mov byte [esp + 0x4238], 2
cmp edx, dword [0x422024]
je 0x406849
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x406849
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.00408bab
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406a0c
lea ecx, [esp + 0x10]
push ecx
call fcn.00405e50
add esp, 4
push str.360ver.dll
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x4244], 3
call fcn.00404ae0
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
mov byte [esp + 0x4238], 5
cmp ecx, dword [0x422024]
je 0x4068b2
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4068b2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00408bab
add esp, 4
push 0x41b668
lea ecx, [esp + 0x10]
call fcn.00404a70
xor edx, edx
push 0x3ffe
push edx
lea eax, [esp + 0x236]
push eax
mov byte [esp + 0x4244], 6
mov word [esp + 0x238], dx
call fcn.004093e0
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea ecx, [eax - 1]
cmp ecx, 0x3ffe
ja 0x4069c1
lea edx, [esp + 0x22c]
push edx
push eax
mov eax, dword [esp + 0x1c]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4069c1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x41b790
lea eax, [esp + 0x238]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4069c1
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._d._d._d._d
push eax
call fcn.00405e30
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x46]
push edx
mov word [esp + 0x48], cx
call fcn.004093e0
push 0x103
lea eax, [esp + 0x4c]
push eax
push str.8.3.0.0
push str.safe_minver
push 0x41c1d4
call fcn.00405fb0
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x5c]
push ecx
push esi
call fcn.00409a66
add esp, 0x40
test eax, eax
jge 0x4069c5
mov dword [0x423cb0], 1
jmp 0x4069c5
mov esi, dword [esp + 0xc]
lea edx, [esi - 0xc]
cmp edx, dword [0x422024]
je 0x4069e3
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x4069e3
push esi
call fcn.00408bab
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x422024]
je 0x406a0c
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x406a0c
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00408bab
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
mov dword [0x423cb4], 1
cmp ecx, dword [0x422024]
je 0x406a3f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x406a3f
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00408bab
add esp, 4
mov eax, dword [0x423cb0]
mov ecx, dword [esp + 0x4230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4220]
xor ecx, esp
call fcn.004090aa
add esp, 0x4230
ret