Function at 0x4ded70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558fc9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x2a0
mov eax, dword [0x5932e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea esi, [ecx + 0x20c]
mov dword [ebp - 0x204], 0
push 0x578e2c
mov edx, esi
lea ecx, [ebp - 0x200]
call fcn.00409c80
add esp, 4
lea eax, [ebp - 0x200]
cmp dword [ebp - 0x1ec], 0x10
cmovae eax, dword [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov edx, dword [ebp - 0x1ec]
cmp eax, 0xffffffff
setne al
mov byte [ebp - 0x1e1], al
cmp edx, 0x10
jb 0x4dee41
mov ecx, dword [ebp - 0x200]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4dee31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4df7d7
push edx
push ecx
call fcn.005150f8
mov al, byte [ebp - 0x1e1]
add esp, 8
test al, al
je 0x4def10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x200]
mov eax, dword [esi + 0x10]
add eax, 0x25
mov dword [ebp - 0x1f0], 0
push eax
mov dword [ebp - 0x1ec], 0xf
mov byte [ebp - 0x200], 0
mov dword [ebp - 0x204], 2
call fcn.00409fe0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4dee91
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x200]
push eax
call fcn.00409bf0
push 0x25
push str...Safe_Browsing_Extension_Blacklist
lea ecx, [ebp - 0x200]
call fcn.00409bf0
cmp dword [ebp - 0x1ec], 0x10
lea eax, [ebp - 0x200]
cmovae eax, dword [ebp - 0x200]
push eax
call fcn.005215bd
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x1ec]
cmp edx, 0x10
jb 0x4def10
mov ecx, dword [ebp - 0x200]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4def06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4df7dc
push edx
push ecx
call fcn.005150f8
add esp, 8
push str.Preferences
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.00409c80
add esp, 4
push 0xb8
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00517340
add esp, 4
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x118]
push 1
push eax
call fcn.0041b0d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x118]
mov byte [ebp - 0x203], 0
mov word [ebp - 0x1cc], 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov eax, dword [ebp + eax - 0xe0]
test eax, eax
sete byte [ebp - 0x204]
push dword [ebp - 0x204]
push dword [ebp - 0x1cc]
push 0
push dword [ebp - 0x204]
push eax
call fcn.004293e0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call fcn.0041b060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0
mov byte [ebp - 0x30], 0
call fcn.0041d140
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00425f00
sub esp, 0x28
mov byte [ebp - 4], 7
mov eax, esp
lea ecx, [ebp - 0x1f8]
lea edx, [ebp - 0x1d0]
push 1
mov dword [eax + 0x24], 0
call fcn.00419fb0
mov al, byte [ebp - 0x1f8]
add esp, 0x2c
mov cl, byte [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x1f0]
mov byte [ebp - 0x1f8], cl
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], ecx
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1ec], edx
call fcn.0041a920
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x1cc]
test edi, edi
je 0x4df08a
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4df08a
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x55d39c]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4df08a
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55d39c]
mov ecx, edi
call esi
sub esp, 0x18
mov dword [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x204], esp
push 6
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x578e9c
mov byte [ecx], 0
call fcn.00409ab0
sub esp, 0x10
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0041aa30
mov byte [ebp - 4], 5
call fcn.00451cf0
add esp, 0x28
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
xorps xmm0, xmm0
mov byte [ebp - 0x1e0], 0
lea ecx, [ebp - 0x1e0]
push 7
test al, al
je 0x4df261
push 0x578ea4
mov byte [ebp - 0x238], 0
movq qword [ebp - 0x230], xmm0
call fcn.00409ab0
mov byte [ebp - 4], 0xb
push 0x18
mov byte [ebp - 0x238], 3
call fcn.00514e2e
movups xmm0, xmmword [ebp - 0x1e0]
add esp, 4
lea ecx, [ebp - 0x220]
xor edx, edx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1d0]
movq qword [eax + 0x10], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x224], 1
mov byte [ebp - 0x220], 0
movq qword [ebp - 0x218], xmm0
call fcn.0042b980
mov eax, ecx
mov byte [ebp - 0x20c], 1
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x238]
push eax
push ecx
lea ecx, [ebp - 0x280]
call fcn.00419eb0
push 0x418fe0
push 2
push 0x18
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xe
push eax
call fcn.0051510b
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x280]
push ecx
push 2
push 1
lea ecx, [ebp - 0x1f8]
call fcn.0041abd0
push 0x578eac
push ecx
push 0x578e94
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.00425bf0
add esp, 4
mov ecx, eax
call fcn.00425bf0
mov cl, byte [ebp - 0x1f8]
mov esi, eax
mov dl, byte [esi]
mov byte [esi], cl
mov eax, dword [ebp - 0x1f0]
mov byte [ebp - 0x1f8], dl
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x1f0], ecx
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 0x1ec], edx
call fcn.0041a920
lea eax, [ebp - 0x280]
jmp 0x4df4a8
push str.adblock
mov byte [ebp - 0x2b0], 0
movq qword [ebp - 0x2a8], xmm0
call fcn.00409ab0
mov byte [ebp - 4], 0x11
push 0x18
mov byte [ebp - 0x2b0], 3
call fcn.00514e2e
movups xmm0, xmmword [ebp - 0x1e0]
add esp, 4
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1d0]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 0x29c], 1
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1e0]
push 7
xorps xmm0, xmm0
mov byte [ebp - 0x268], 0
push str.enabled
movq qword [ebp - 0x260], xmm0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
call fcn.00409ab0
mov byte [ebp - 4], 0x13
push 0x18
mov byte [ebp - 0x268], 3
call fcn.00514e2e
movups xmm0, xmmword [ebp - 0x1e0]
add esp, 4
lea ecx, [ebp - 0x250]
xor edx, edx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1d0]
movq qword [eax + 0x10], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x254], 1
mov byte [ebp - 0x250], 0
movq qword [ebp - 0x248], xmm0
call fcn.0042b980
mov eax, ecx
mov byte [ebp - 0x23c], 1
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x268]
push eax
push ecx
lea ecx, [ebp - 0x280]
call fcn.00419eb0
push 0x418fe0
push 2
push 0x18
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x16
push eax
call fcn.0051510b
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x280]
push eax
push ecx
lea ecx, [ebp - 0x298]
call fcn.00419eb0
push 0x418fe0
push 1
push 0x18
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x19
push eax
call fcn.0051510b
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2b0]
push eax
push ecx
lea ecx, [ebp - 0x220]
call fcn.00419eb0
push 0x418fe0
push 2
push 0x18
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 0x1c
push eax
call fcn.0051510b
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x220]
push ecx
push 2
push 1
lea ecx, [ebp - 0x1f8]
call fcn.0041abd0
push str.bad_ad
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
call fcn.00425bf0
mov cl, byte [ebp - 0x1f8]
mov esi, eax
mov dl, byte [esi]
mov byte [esi], cl
mov eax, dword [ebp - 0x1f0]
mov byte [ebp - 0x1f8], dl
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x1f0], ecx
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 0x1ec], edx
call fcn.0041a920
lea eax, [ebp - 0x220]
push 0x418fe0
push 1
push 0x18
push eax
mov byte [ebp - 4], 5
call fcn.0051510b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1cc], esp
push 2
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x578ec4
mov byte [ecx], 0
call fcn.00409ab0
sub esp, 0x10
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0041aa30
mov byte [ebp - 4], 5
call fcn.00451cf0
add esp, 0x28
test al, al
je 0x4df611
xorps xmm0, xmm0
mov byte [ebp - 0x1d8], 0
xor edx, edx
movq qword [ebp - 0x1d0], xmm0
lea ecx, [ebp - 0x1d8]
call fcn.0042b980
push str.antishock_manual_set
push ecx
push 0x578ee8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.00425bf0
add esp, 4
mov ecx, eax
call fcn.00425bf0
movzx ecx, byte [ebp - 0x1d8]
mov esi, eax
mov eax, dword [ebp - 0x1d0]
mov dl, byte [esi]
mov byte [esi], cl
mov ecx, dword [esi + 8]
mov byte [ebp - 0x1d8], dl
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], ecx
lea ecx, [ebp - 0x1d8]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x1cc], edx
call fcn.0041a920
xorps xmm0, xmm0
mov byte [ebp - 0x1d8], 0
xor edx, edx
movq qword [ebp - 0x1d0], xmm0
lea ecx, [ebp - 0x1d8]
call fcn.0042b980
push str.antishock_mode
push ecx
push 0x578efc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x21
call fcn.00425bf0
add esp, 4
mov ecx, eax
call fcn.00425bf0
mov byte [ebp - 4], 5
mov esi, eax
movzx ecx, byte [ebp - 0x1d8]
mov eax, dword [ebp - 0x1d0]
mov dl, byte [esi]
mov byte [esi], cl
mov ecx, dword [esi + 8]
mov byte [ebp - 0x1d8], dl
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], ecx
lea ecx, [ebp - 0x1d8]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x1cc], edx
call fcn.0041a920
push 0xb0
lea eax, [ebp - 0x1c8]
push 0
push eax
call fcn.00517340
add esp, 4
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1c8]
push 2
push eax
call fcn.0041af30
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x30]
call fcn.0041a670
mov esi, eax
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x4df683
mov ecx, eax
call fcn.00409830
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x20c]
cmp edx, 0x10
jb 0x4df6bd
mov ecx, dword [ebp - 0x220]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4df6b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4df7e1
push edx
push ecx
call fcn.005150f8
add esp, 8
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push 0
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x1c8]
push eax
call fcn.0041c290
lea ecx, [ebp - 0x1c8]
call fcn.0041aec0
lea ecx, [ebp - 0x1c8]
call fcn.004126d0
lea ecx, [ebp - 0x30]
call fcn.0041a920
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4df72b
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4df721
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4df7e6
push edx
push ecx
call fcn.005150f8
add esp, 8
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.004129a0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4df7b9
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4df7af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4df7eb
jmp 0x4df7af
push edx
push ecx
call fcn.005150f8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00514e1d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
int3