Function at 0x42cee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x274
mov esi, dword [ebp + 8]
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [0x4f7b24]
cmp ebx, 1
ja 0x42cf5e
push 0x4f7b24
call fcn.00430220
add esp, 4
test al, al
jne 0x42cf1d
mov ebx, dword [0x4f7b24]
jmp 0x42cf5e
mov byte [0x4f7b28], 0
mov eax, 0x4f7b24
xorps xmm0, xmm0
movsd qword [0x4f7b2c], xmm0
xor ecx, ecx
mov dword [0x4f7b34], ecx
mov byte [0x4f7b38], 1
mov dword [0x4f7b3c], ecx
push eax
push ecx
push 0x4f7b28
push eax
call fcn.004302f0
add esp, 0x10
mov ebx, 0x4f7b28
xorps xmm0, xmm0
movsd qword [ebp - 0x270], xmm0
mov dword [ebp - 0x268], 0
test esi, esi
je 0x42d06a
lea ecx, [ebp - 0x270]
push esi
call fcn.0042a140
mov al, byte [ebp - 0x265]
test al, al
js 0x42cf99
lea edi, [ebp - 0x270]
jmp 0x42cf9f
mov edi, dword [ebp - 0x270]
cmp byte [0x4f7b40], 0
je 0x42cfd3
mov bl, byte [ebx]
test al, al
jns 0x42cfbc
push dword [ebp - 0x270]
call fcn.00459b3c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
mov eax, ebx
add esp, 0x274
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004badb0
mov ecx, eax
push edi
call fcn.004ae170
test eax, eax
setne byte [ebx]
mov byte [0x4f7b40], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x14], eax
test edi, edi
je 0x42d381
lea esi, [ebx + 4]
mov ecx, esi
push edi
call fcn.0042a140
xor eax, eax
dec eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
movzx eax, byte [ebx + 0xf]
test al, al
jns 0x42d02b
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 4]
test eax, eax
js 0x42d38f
je 0x42d03d
test esi, esi
je 0x42d388
lea edi, [ebp - 0x218]
mov ecx, edi
push eax
push esi
call fcn.0044c930
push edi
call fcn.0042c0e0
add esp, 4
mov byte [ebx + 0x10], al
mov ecx, edi
call fcn.00430340
mov al, byte [ebp - 0x265]
jmp 0x42cfa8
lea esi, [ebp - 0x218]
push 0x208
push 0
push esi
call fcn.00463600
add esp, 0xc
push str.chrome.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x42d350
mov dword [ebp - 0x280], ebx
xor eax, eax
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edi, edi
dec edi
mov ebx, esi
lea esi, [ebp - 0x224]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
push ebx
call fcn.0047e4dc
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.0044c930
lea ebx, [ebp - 0x228]
mov dword [ebx], edi
push esi
push ebx
call fcn.004ad860
add esp, 8
xor eax, eax
mov dword [ebp - 0x274], eax
xorps xmm0, xmm0
movsd qword [ebp - 0x27c], xmm0
cmp dword [ebx], eax
je 0x42d2eb
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x224]
push eax
call fcn.0044cb30
mov ecx, dword [ebp - 0x228]
lea esi, [ebp - 0x264]
push esi
call fcn.004adc30
movzx eax, byte [esi + 0xb]
test al, al
jns 0x42d132
mov eax, dword [ebp - 0x260]
mov esi, dword [ebp - 0x264]
test eax, eax
js 0x42d38f
je 0x42d144
test esi, esi
je 0x42d388
lea edi, [ebp - 0x258]
push eax
push esi
push edi
call fcn.004b4d20
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x42d169
mov eax, dword [ebp - 0x254]
mov edi, dword [ebp - 0x258]
test eax, eax
js 0x42d38f
je 0x42d17b
test edi, edi
je 0x42d388
lea esi, [ebp - 0x240]
lea ecx, [ebp - 0x24c]
push eax
push edi
push esi
call fcn.004308c0
lea edi, [ebp - 0x234]
mov ecx, esi
push 0xb
push str.360base.dll
push edi
call fcn.004308c0
cmp byte [ebp - 0x271], 0
movzx eax, byte [edi + 0xb]
js 0x42d39e
test al, al
js 0x42d23d
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x274], eax
movsd xmm0, qword [ebp - 0x234]
movsd qword [ebp - 0x27c], xmm0
lea esi, [ebp - 0x234]
mov ecx, esi
call fcn.00430340
lea edi, [ebp - 0x240]
mov ecx, edi
call fcn.00430340
cmp byte [ebp - 0x24d], 0
jns 0x42d20a
push dword [ebp - 0x258]
call fcn.00459b3c
add esp, 4
cmp byte [ebp - 0x259], 0
jns 0x42d221
push dword [ebp - 0x264]
call fcn.00459b3c
add esp, 4
lea ecx, [ebp - 0x24c]
call fcn.00430340
cmp byte [ebp - 0x271], 0
js 0x42d256
lea eax, [ebp - 0x27c]
jmp 0x42d25c
lea ecx, [ebp - 0x27c]
push dword [ebp - 0x230]
push dword [ebp - 0x234]
call fcn.0042a420
jmp 0x42d1d9
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d2d0
lea ecx, [ebp - 0x224]
push edi
call fcn.0044cb30
mov ecx, edi
push 0xb
push str.360base.dll
push esi
call fcn.004308c0
cmp byte [ebp - 0x271], 0
movzx eax, byte [ebp - 0x229]
js 0x42d3c0
test al, al
js 0x42d334
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x274], eax
movsd xmm0, qword [ebp - 0x234]
movsd qword [ebp - 0x27c], xmm0
lea ecx, [ebp - 0x234]
call fcn.00430340
lea ecx, [ebp - 0x240]
call fcn.00430340
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x228], 0
test ecx, ecx
je 0x42d2eb
push 1
call fcn.004adf40
lea ecx, [ebp - 0x224]
call fcn.00430340
mov ebx, dword [ebp - 0x280]
cmp byte [ebp - 0x265], 0
jns 0x42d313
push dword [ebp - 0x270]
call fcn.00459b3c
add esp, 4
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x268], eax
movsd xmm0, qword [ebp - 0x27c]
movsd qword [ebp - 0x270], xmm0
jmp 0x42cf87
lea ecx, [ebp - 0x27c]
push dword [ebp - 0x230]
push dword [ebp - 0x234]
call fcn.0042a420
jmp 0x42d2ba
push 0x103
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x27c]
push esi
call fcn.0048fb00
jmp 0x42d2fc
push str....._third_partylibc_srcinclude_string:2706:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
jmp 0x42d394
push str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x42d394
push str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x4d745c
call fcn.00492230
test al, al
cmovs eax, dword [ebp - 0x230]
cmovs edi, dword [ebp - 0x234]
lea ecx, [ebp - 0x27c]
push eax
push edi
call fcn.004aa110
jmp 0x42d1d9
test al, al
cmovs eax, dword [ebp - 0x230]
cmovs esi, dword [ebp - 0x234]
lea ecx, [ebp - 0x27c]
push eax
push esi
call fcn.004aa110
jmp 0x42d2ba