Function at 0x100024e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x1006dd60]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x25c], 0
mov ecx, dword [ebp + 0x14]
call fcn.10005410
movzx eax, al
test eax, eax
je 0x10002543
mov ecx, dword [ebp + 8]
call fcn.1000fea0
mov ecx, dword [ebp - 0x25c]
or ecx, 1
mov dword [ebp - 0x25c], ecx
mov eax, dword [ebp + 8]
jmp 0x100028fd
lea ecx, [ebp - 0x18]
call fcn.1000fea0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.1000fd00
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x14]
call fcn.100053f0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
jmp 0x1000257f
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x10]
jae 0x1000287e
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.10005430
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000f400
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.1000d230
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100025ce
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.1000fd80
jmp 0x10002576
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x238]
call fcn.1000f400
mov byte [ebp - 4], 3
xor ecx, ecx
mov word [ebp - 0x234], cx
push 0x206
push 0
lea edx, [ebp - 0x232]
push edx
call fcn.1002c440
add esp, 0xc
lea ecx, [ebp - 0x23c]
call fcn.1000d230
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.100468b0
add esp, 8
mov dword [ebp - 0x260], eax
push 0x10
mov ecx, dword [ebp - 0x260]
call fcn.1000d230
push eax
push 0x10
lea ecx, [ebp - 0x14]
call fcn.1000d230
push eax
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
mov dword [ebp - 0x240], eax
lea ecx, [ebp - 0x244]
call fcn.1000fd80
cmp dword [ebp - 0x240], 0
je 0x100027be
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x10061890
lea eax, [ebp - 0x234]
push eax
call fcn.1002c5bf
add esp, 8
test eax, eax
jne 0x100026e4
lea ecx, [ebp - 0x23c]
call fcn.1000d230
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.10046780
add esp, 8
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x238]
call fcn.1000f560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.1000fd80
jmp 0x100027af
lea ecx, [ebp - 0x23c]
call fcn.1000d230
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.10046780
add esp, 8
mov dword [ebp - 0x26c], eax
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
call fcn.1000fd00
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x278], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x278]
push eax
lea ecx, [ebp - 0x254]
push ecx
call fcn.10005110
add esp, 0xc
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x238]
call fcn.1000f560
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x254]
call fcn.1000fd80
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x250]
call fcn.1000fd80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.1000fd80
push 0x2f
push 0x5c
lea ecx, [ebp - 0x238]
call fcn.10004e00
mov ecx, dword [str._div__a_href__FileURL____FileName___a___div__n]
push ecx
lea ecx, [ebp - 0x24]
call fcn.1000b640
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x238]
call fcn.1000d230
push eax
push str._FileURL_
lea ecx, [ebp - 0x24]
call fcn.10004ed0
lea ecx, [ebp - 0x23c]
call fcn.1000d230
push eax
lea edx, [ebp - 0x258]
push edx
call fcn.10046780
add esp, 8
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x288]
call fcn.1000d230
push eax
push str._FileName_
lea ecx, [ebp - 0x24]
call fcn.10004ed0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x258]
call fcn.1000fd80
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
call fcn.10004bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.1000fd80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.1000fd80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.1000fd80
jmp 0x10002576
mov edx, dword [str._table_border_1__width_100___id_table1__cellspacing_0__cellpadding_0__style_border_collapse:_collapse___n_t_tr__n_t_t_td_bgcolor_FFCC99___FilesTitle___td__n_t__tr__n_t_tr__n_t_t_td__FilesText___td__n_t__tr__n__table__n]
push edx
lea ecx, [ebp - 0x1c]
call fcn.1000b640
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x10]
push eax
push str._FilesTitle_
lea ecx, [ebp - 0x1c]
call fcn.10004ed0
lea ecx, [ebp - 0x18]
call fcn.1000d230
push eax
push str._FilesText_
lea ecx, [ebp - 0x1c]
call fcn.10004ed0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000f400
mov edx, dword [ebp - 0x25c]
or edx, 1
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000fd80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1000fd80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000fd80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1002ac1f
mov esp, ebp
pop ebp
ret