Function at 0x4240ca
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x5b5425
call fcn.0056fe77
mov eax, dword [ebp - 0x74]
xor edx, edx
mov dword [ebp - 0x74], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x74], 0x662c50
mov dword [0x662c54], edx
mov dword [0x662c64], edx
mov dword [0x662c68], edx
mov dword [0x662c6c], edx
mov dword [0x662c70], eax
mov dword [ebp - 4], edx
mov ecx, 0x662c78
mov dword [0x662c50], 0x5fdc38
mov dword [0x662c74], 0x5fdc2c
call fcn.0044d811
push 0x3c
pop eax
push 7
mov dword [0x662ca4], eax
mov dword [0x662cb0], eax
xor eax, eax
pop esi
mov dword [0x662c9c], edx
mov word [0x662ca0], dx
mov dword [0x662ca8], 2
mov byte [0x662cb4], 1
mov dword [0x662cc8], edx
mov dword [0x662ccc], esi
mov word [0x662cb8], ax
mov dword [0x662ce0], edx
mov dword [0x662ce4], esi
mov word [0x662cd0], ax
mov dword [0x662cf8], edx
mov dword [0x662cfc], 0xf
mov byte [0x662ce8], dl
mov ecx, 0x662d00
call fcn.00424071
mov ecx, 0x662d20
call fcn.00424071
mov byte [ebp - 4], 6
xor eax, eax
xorps xmm0, xmm0
mov byte [0x662d40], al
mov ecx, 0x662d54
movlpd qword [0x662d48], xmm0
mov dword [0x662d54], eax
mov dword [0x662d58], eax
call fcn.00425325
mov dword [0x662d54], eax
xor eax, eax
mov dword [0x662d70], esi
xor ecx, ecx
mov dword [0x662d6c], eax
mov word [0x662d5c], cx
mov dword [0x662d84], eax
mov dword [0x662d88], esi
mov word [0x662d74], cx
push ecx
mov byte [ebp - 4], 9
push ecx
mov dword [0x662d8c], eax
mov dword [0x662d90], eax
call fcn.00425093
mov dword [0x662d8c], eax
xor eax, eax
mov byte [ebp - 4], 0xa
mov word [0x662d94], ax
mov dword [0x662d98], eax
mov dword [0x662d9c], eax
mov dword [0x662da0], eax
push ecx
push ecx
mov dword [0x662da4], eax
mov dword [0x662da8], eax
call fcn.00425093
mov dword [0x662da4], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.0041bd1b
mov esi, str.360browser_bkinfo_videoinfo_
mov byte [ebp - 4], 0xc
push esi
call fcn.0059771b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040998b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x42429d
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
xor esi, esi
push eax
push esi
call ebx
jmp 0x42429f
xor esi, esi
lea eax, [ebp - 0x40]
mov ecx, 0x662cd0
push eax
call fcn.0040e1e0
cmp dword [0x662d70], 8
mov edi, 0x662d5c
mov eax, edi
cmovae eax, dword [0x662d5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4242df
cmp dword [0x662d70], 8
cmovae edi, dword [0x662d5c]
push edi
push esi
call ebx
lea ecx, [ebp - 0x28]
call fcn.0044fd45
mov edi, str.bkinfo_
mov byte [ebp - 4], 0xd
push edi
call fcn.0059771b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040998b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424326
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call ebx
lea eax, [ebp - 0x28]
mov ecx, 0x662d74
push eax
call fcn.0040e1e0
push dword [ebp - 0x78]
movaps xmm0, xmmword [0x603390]
push 0x662c70
push 0x64b100
movups xmmword [ebp - 0x50], xmm0
call fcn.00425726
add esp, 8
movzx eax, ax
mov ebx, 0x662c50
push eax
push esi
push esi
push 0x48000000
push str.03DE87A6_6432_4BFC_9BA7_738379E4CF88
lea eax, [ebp - 0x50]
push eax
push ecx
mov ecx, ebx
call fcn.0042552b
test eax, eax
je 0x424384
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x424396
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x662d98], eax
mov byte [0x662d95], 1
push 0x662d9c
push str.enable
mov edx, 0x5fa1a0
call fcn.0041c651
pop ecx
pop ecx
push esi
push 0xea60
push 0x52c
push dword [0x662c54]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x70]
call fcn.0044fd45
push edi
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.0040e2ff
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4243e3
mov eax, dword [eax]
push str.dot.ini
push eax
push 0x5fc740
push 0x104
push 0x653dc0
call fcn.00411770
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.00409db5
lea ecx, [ebp - 0x70]
call fcn.00409db5
lea ecx, [ebp - 0x28]
call fcn.00409db5
lea ecx, [ebp - 0x40]
call fcn.00409db5
mov eax, ebx
call fcn.0056fe21
ret