Function at 0x4570d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46441d
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x25], 1
lea ecx, [ebp - 0x24]
call fcn.0040b9f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.00455010
add esp, 4
mov dword [ebp - 0x4c], 0
jmp 0x45712d
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x24]
call fcn.00402a20
cmp dword [ebp - 0x4c], eax
jae 0x4572b7
lea ecx, [ebp - 0x50]
call fcn.00407820
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x24]
call fcn.00402a40
mov ecx, eax
call fcn.00401d50
push eax
lea esi, [ebp - 0x50]
call fcn.0041ac96
add esp, 4
movzx eax, al
test eax, eax
je 0x4572a6
push 0x476e18
lea ecx, [ebp - 0x80]
call fcn.00405b00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x50]
call fcn.00407a70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
call fcn.00407d30
lea ecx, [ebp - 0x58]
call fcn.004073f0
test eax, eax
je 0x45729a
push 0x476e20
lea ecx, [ebp - 0x9c]
call fcn.00405b00
mov byte [ebp - 4], 5
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004073f0
mov ecx, eax
call fcn.00407a70
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407520
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00407a50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00407d30
lea ecx, [ebp - 0x58]
call fcn.004073f0
test eax, eax
je 0x45729a
push str.multicorestrategy
lea ecx, [ebp - 0xc0]
call fcn.00405b00
mov byte [ebp - 4], 7
push 0x476e28
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004073f0
mov ecx, eax
call fcn.00403f60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.00407d30
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402a40
mov ecx, eax
call fcn.00401d50
push eax
call fcn.00456b90
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x45729a
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00407a50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00407bc0
jmp 0x457124
push 2
lea edx, [ebp - 0xdc]
push edx
call fcn.0045dde0
mov ecx, eax
call fcn.0045de70
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 8
push 0x476e40
mov ecx, dword [ebp - 0x168]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
call fcn.004026a0
lea ecx, [ebp - 0x48]
call fcn.00401d50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4574c9
lea ecx, [ebp - 0x5c]
call fcn.00407820
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
call fcn.00401d50
push eax
lea esi, [ebp - 0x5c]
call fcn.0041ac96
add esp, 4
movzx eax, al
test eax, eax
je 0x4574bd
push 0x476e58
lea ecx, [ebp - 0xf8]
call fcn.00405b00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00407a70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xf8]
call fcn.00407d30
lea ecx, [ebp - 0x64]
call fcn.004073f0
test eax, eax
je 0x4574b1
push 0x476e60
lea ecx, [ebp - 0x114]
call fcn.00405b00
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004073f0
mov ecx, eax
call fcn.00407a70
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x170]
push eax
lea ecx, [ebp - 0x64]
call fcn.00407520
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x11c]
call fcn.00407a50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x114]
call fcn.00407d30
lea ecx, [ebp - 0x64]
call fcn.004073f0
test eax, eax
je 0x4574b1
push str.webacc
lea ecx, [ebp - 0x138]
call fcn.00405b00
mov byte [ebp - 4], 0x11
push 0x476e68
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004073f0
mov ecx, eax
call fcn.00403f60
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x138]
call fcn.00407d30
push str.videoacc
lea ecx, [ebp - 0x154]
call fcn.00405b00
mov byte [ebp - 4], 0x12
push str.FALSE
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x64]
call fcn.004073f0
mov ecx, eax
call fcn.00403f60
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x154]
call fcn.00407d30
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00401d50
push eax
call fcn.00456b90
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4574b1
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00407a50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
call fcn.00407bc0
mov dl, byte [ebp - 0x25]
mov byte [ebp - 0x155], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004026a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402a00
mov al, byte [ebp - 0x155]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret