Function at 0x40891e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x40ae98
call fcn.00408f80
sub esp, 0xa50
push ebx
push esi
mov ebx, 0x81
push edi
xor esi, esi
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x23a]
mov word [ebp - 0x23c], si
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x23c]
push eax
call fcn.00408745
pop ecx
xor eax, eax
pop ecx
lea edi, [ebp - 0xa5a]
mov ecx, ebx
mov word [ebp - 0xa5c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0xa5c]
push eax
call dword [0x40b030]
lea eax, [ebp - 0x23c]
lea ecx, [ebp - 0x10]
push eax
call fcn.00408caf
lea eax, [ebp - 0x14]
push 2
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00408d58
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408d08
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403778
mov edi, str.360SANDBOXSHADOW
mov eax, edi
test eax, eax
je 0x4089d4
push edi
call dword [0x40b11c]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00404b65
lea eax, [ebp - 0x238]
test eax, eax
je 0x4089f5
lea eax, [ebp - 0x238]
push eax
call dword [0x40b11c]
lea ecx, [ebp - 0x238]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00404b65
push dword [ebp - 0x10]
mov ebx, dword [0x40b2ac]
call ebx
test eax, eax
je 0x408a25
lea eax, [ebp - 0x23c]
push esi
push eax
push dword [ebp - 0x10]
call dword [0x40b100]
lea eax, [ebp - 0x23c]
push eax
call ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], eax
test eax, eax
mov esi, str.Option
je 0x408a85
mov edi, dword [0x40b040]
lea eax, [ebp - 0x23c]
push eax
push 0
push str.BossKey
push esi
call edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x23c]
push eax
push 0
push str.EnableBSK
push esi
call edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x23c]
push eax
push 0
push str.EnableMBSK
push esi
call edi
mov dword [ebp - 0x14], eax
and word [ebp - 0x64c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x64a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x64c]
push 0x104
push eax
call fcn.004086fb
pop ecx
lea eax, [ebp - 0x64c]
pop ecx
push 0x40e8c0
push eax
call dword [0x40b0ac]
lea eax, [ebp - 0x64c]
push eax
call ebx
test eax, eax
je 0x408ae6
lea eax, [ebp - 0x23c]
push 0
push eax
lea eax, [ebp - 0x64c]
push eax
call dword [0x40b100]
cmp dword [ebp - 0x20], 0
mov ebx, dword [0x40b034]
je 0x408b66
and word [ebp - 0x34], 0
xor eax, eax
lea edi, [ebp - 0x32]
push 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
call dword [0x40b214]
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x34]
push eax
push str.BossKey
push esi
call ebx
cmp dword [ebp - 0x18], 0
mov edi, 0x40e8bc
mov eax, 0x40e878
jne 0x408b39
mov eax, edi
lea ecx, [ebp - 0x23c]
push ecx
push eax
push str.EnableBSK
push esi
call ebx
cmp dword [ebp - 0x14], 0
mov eax, 0x40e878
jne 0x408b56
mov eax, edi
lea ecx, [ebp - 0x23c]
push ecx
push eax
push str.EnableMBSK
push esi
call ebx
and word [ebp - 0x444], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x442]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00406b53
mov ecx, eax
call fcn.00406b88
test eax, eax
je 0x408c24
mov esi, 0x104
lea eax, [ebp - 0x444]
push esi
push eax
call fcn.00406b53
mov ecx, eax
call fcn.00406c7d
test eax, eax
je 0x408c24
lea eax, [ebp - 0x444]
push eax
call dword [0x40b11c]
test eax, eax
je 0x408c24
and word [ebp - 0x854], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x852]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x444]
push str.360SE.ini
push eax
call dword [0x40b0ac]
lea eax, [ebp - 0x444]
mov edi, str.FAVBARPATH
push eax
lea eax, [ebp - 0x854]
push esi
push eax
push 0x412078
mov esi, 0x40f0e4
push edi
push esi
call dword [0x40b0dc]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x854]
push eax
push edi
push esi
call ebx
lea eax, [ebp - 0x23c]
push eax
push dword [ebp + 8]
call dword [0x40b030]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403778
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret