Function at 0x408320
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451cdf
mov eax, dword fs:[0]
push eax
mov eax, 0x10cc
call fcn.00442260
mov eax, dword [0x467e60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4086ac
push 0xfff
lea eax, [ebp - 0x1013]
push 0
push eax
mov byte [ebp - 0x1014], 0
call fcn.0043f3e0
mov dword [ebp - 0x1030], 0xf
mov dword [ebp - 0x1034], 0
mov byte [ebp - 0x1044], 0
lea edx, [ebp - 0x1044]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00403af0
cmp dword [ebp - 0x1030], 0x10
lea eax, [ebp - 0x1044]
cmovae eax, dword [ebp - 0x1044]
push 0x460eb4
push eax
call fcn.0043e4e1
mov esi, eax
add esp, 0x14
test esi, esi
je 0x408695
push esi
push 0x1000
lea eax, [ebp - 0x1014]
push 1
push eax
call fcn.0043ebbf
xor eax, eax
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], 0
mov word [ebp - 0x102c], ax
lea edx, [ebp - 0x102c]
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 1
call fcn.00403b90
push esi
call fcn.0043e812
add esp, 0x14
cmp dword [ebp - 0x1018], 8
lea eax, [ebp - 0x102c]
cmovae eax, dword [ebp - 0x102c]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x10cc]
call fcn.00411d83
lea eax, [edi + 0x3c0]
push eax
sub esp, 0x84
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10d4], esp
push 0xffffffffffffffff
push 0x460eb8
call fcn.00411d83
sub esp, 0x84
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x10d8], esp
push 0xffffffffffffffff
push str.run1
call fcn.00411d83
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push str.Aurll
mov byte [ebp - 4], 4
call fcn.00411d83
lea eax, [ebp - 0x10cc]
push eax
mov byte [ebp - 4], 2
call fcn.004086d0
lea eax, [edi + 0x5d8]
push eax
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x10d0], esp
push 0xffffffffffffffff
push str.Aurl2title
call fcn.00411d83
sub esp, 0x84
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x10d8], esp
push 0xffffffffffffffff
push str.run2
call fcn.00411d83
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push str.Aurl2
mov byte [ebp - 4], 6
call fcn.00411d83
lea eax, [ebp - 0x10cc]
push eax
mov byte [ebp - 4], 2
call fcn.004086d0
lea eax, [edi + 0x7f0]
push eax
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x10d0], esp
push 0xffffffffffffffff
push str.Aurl3title
call fcn.00411d83
sub esp, 0x84
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x10d8], esp
push 0xffffffffffffffff
push str.run3
call fcn.00411d83
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push str.Aurl3
mov byte [ebp - 4], 8
call fcn.00411d83
lea eax, [ebp - 0x10cc]
push eax
mov byte [ebp - 4], 2
call fcn.004086d0
lea eax, [edi + 0xa08]
push eax
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x10d0], esp
push 0xffffffffffffffff
push str.Aurl4title
call fcn.00411d83
sub esp, 0x84
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x10d8], esp
push 0xffffffffffffffff
push str.run4
call fcn.00411d83
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push str.Aurl4
mov byte [ebp - 4], 0xa
call fcn.00411d83
lea eax, [ebp - 0x10cc]
push eax
mov byte [ebp - 4], 2
call fcn.004086d0
lea eax, [edi + 0xc20]
push eax
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x10d0], esp
push 0xffffffffffffffff
push str.Aurl5title
call fcn.00411d83
sub esp, 0x84
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x10d8], esp
push 0xffffffffffffffff
push str.run5
call fcn.00411d83
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push str.Aurl5
mov byte [ebp - 4], 0xc
call fcn.00411d83
lea eax, [ebp - 0x10cc]
push eax
mov byte [ebp - 4], 2
call fcn.004086d0
lea ecx, [ebp - 0x10cc]
mov byte [ebp - 4], 1
call fcn.00411e57
cmp dword [ebp - 0x1018], 8
jb 0x408678
push dword [ebp - 0x102c]
call fcn.0043d6b8
add esp, 4
xor eax, eax
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], 0
mov word [ebp - 0x102c], ax
cmp dword [ebp - 0x1030], 0x10
jb 0x4086ac
push dword [ebp - 0x1044]
call fcn.0043d6b8
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cefb
mov esp, ebp
pop ebp
ret 4