Function at 0x408e09
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push edi
call fcn.004074cf
cmp dword [eax + 4], 0
je 0x4093cb
lea ecx, [ebp - 0x10]
call fcn.0040e98a
push str.bdbtray_srs_srs.xml
lea edi, [ebp - 0x10]
lea eax, [ebp - 0x1c]
call fcn.004028ff
pop ecx
call fcn.00402a77
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00402878
mov esi, dword [ebp - 0x10]
push esi
call dword [0x4a62d4]
test eax, eax
je 0x4093c3
and dword [ebp - 8], 0
lea edi, [ebp - 8]
call fcn.0040b013
test eax, eax
js 0x4093b6
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4093c3
push esi
lea esi, [ebp - 0xc4]
call fcn.0040d5e9
mov edx, eax
call fcn.0040d617
xor ecx, ecx
cmp cx, ax
mov eax, esi
push eax
sete bl
call dword [0x4a628c]
test bl, bl
je 0x408ec5
mov esi, edi
call fcn.0040aff9
mov eax, dword [ebp - 8]
test eax, eax
je 0x408eba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x4093c6
mov esi, dword [ebp - 8]
test esi, esi
jne 0x408ed6
push 0x80004003
call fcn.004789b0
lea edi, [ebp - 0x24]
call fcn.0040d5bb
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x408ead
push ecx
mov edi, esp
push str.node
call fcn.0040d4e9
lea ebx, [ebp - 0x1c]
call fcn.0040d573
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x408f0c
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408ead
and dword [ebp - 0x18], 0
call fcn.0040d4c2
cmp dword [ebp - 0x18], eax
jge 0x409393
push dword [ebp - 0x18]
lea edi, [ebp - 0xc]
call fcn.0040d492
cmp dword [ebp - 0xc], 0
je 0x40938b
lea ecx, [ebp - 0xb0]
call fcn.00402ad4
push ecx
mov edi, esp
push str.title
call fcn.0040d4e9
mov esi, dword [ebp - 0xc]
lea ebx, [ebp - 0x84]
call fcn.0040d44a
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x408f94
lea edi, [ebp - 0x38]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x408f77
mov eax, dword [eax]
jmp 0x408f79
xor eax, eax
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0040260a
lea edi, [ebp - 0x38]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push 0x4b325c
call fcn.0040d4e9
mov esi, dword [ebp - 0xc]
lea ebx, [ebp - 0x78]
call fcn.0040d44a
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x408fe4
lea edi, [ebp - 0x40]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x408fc7
mov eax, dword [eax]
jmp 0x408fc9
xor eax, eax
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0040260a
lea edi, [ebp - 0x40]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push str.latest
call fcn.0040d4e9
mov esi, dword [ebp - 0xc]
lea ebx, [ebp - 0x14]
call fcn.0040d44a
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4090f4
push ecx
mov edi, esp
push str.title
call fcn.0040d4e9
lea ebx, [ebp - 0x68]
call fcn.0040d44a
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x409054
lea edi, [ebp - 0x48]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x409037
mov eax, dword [eax]
jmp 0x409039
xor eax, eax
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040260a
lea edi, [ebp - 0x48]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push str.linkPage
call fcn.0040d4e9
mov esi, dword [ebp - 0x14]
lea ebx, [ebp - 0x30]
call fcn.0040d44a
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4090a4
lea edi, [ebp - 0x50]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x409087
mov eax, dword [eax]
jmp 0x409089
xor eax, eax
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040260a
lea edi, [ebp - 0x50]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push str.linkMovie
call fcn.0040d4e9
mov esi, dword [ebp - 0x14]
lea ebx, [ebp - 0x70]
call fcn.0040d44a
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x4090f4
lea edi, [ebp - 0x58]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x4090d7
mov eax, dword [eax]
jmp 0x4090d9
xor eax, eax
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0040260a
lea edi, [ebp - 0x58]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push str.last
call fcn.0040d4e9
mov esi, dword [ebp - 0xc]
lea ebx, [ebp - 0x20]
call fcn.0040d44a
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x409204
push ecx
mov edi, esp
push str.title
call fcn.0040d4e9
lea ebx, [ebp - 0x80]
call fcn.0040d44a
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x409164
lea edi, [ebp - 0x60]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x409147
mov eax, dword [eax]
jmp 0x409149
xor eax, eax
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0040260a
lea edi, [ebp - 0x60]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push str.linkPage
call fcn.0040d4e9
mov esi, dword [ebp - 0x20]
lea ebx, [ebp - 0x34]
call fcn.0040d44a
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4091b4
lea edi, [ebp - 0x3c]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x409197
mov eax, dword [eax]
jmp 0x409199
xor eax, eax
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0040260a
lea edi, [ebp - 0x3c]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push str.linkMovie
call fcn.0040d4e9
mov esi, dword [ebp - 0x20]
lea ebx, [ebp - 0x44]
call fcn.0040d44a
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x409204
lea edi, [ebp - 0x4c]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x4091e7
mov eax, dword [eax]
jmp 0x4091e9
xor eax, eax
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040260a
lea edi, [ebp - 0x4c]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push str.picture
call fcn.0040d4e9
mov esi, dword [ebp - 0xc]
lea ebx, [ebp - 0x54]
call fcn.0040d44a
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x409254
lea edi, [ebp - 0x5c]
mov eax, esi
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x409237
mov eax, dword [eax]
jmp 0x409239
xor eax, eax
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0040260a
lea edi, [ebp - 0x5c]
call fcn.0040d533
mov eax, dword [esi]
push esi
call dword [eax + 8]
push ecx
mov edi, esp
push str.pictureReady
call fcn.0040d4e9
mov esi, dword [ebp - 0xc]
lea ebx, [ebp - 0x64]
call fcn.0040d44a
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4092c3
lea edi, [ebp - 0x6c]
mov eax, ebx
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x409287
mov eax, dword [eax]
jmp 0x409289
xor eax, eax
push eax
lea esi, [ebp - 0x2c]
call fcn.00402642
lea edi, [ebp - 0x6c]
call fcn.0040d533
push 0x4b32d4
mov eax, esi
push eax
call fcn.0040da96
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00402878
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push ecx
mov edi, esp
push str.shown
call fcn.0040d4e9
mov esi, dword [ebp - 0xc]
lea ebx, [ebp - 0x74]
call fcn.0040d44a
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x409334
lea edi, [ebp - 0x7c]
mov eax, ebx
call fcn.0040d3f0
mov eax, dword [eax]
test eax, eax
je 0x4092f6
mov eax, dword [eax]
jmp 0x4092f8
xor eax, eax
push eax
lea esi, [ebp - 0x28]
call fcn.00402642
lea edi, [ebp - 0x7c]
call fcn.0040d533
push 0x4b32d4
mov eax, esi
push eax
call fcn.0040da96
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x28]
inc esi
add eax, 0xfffffff0
mov dword [ebp - 0x88], esi
call fcn.00402878
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
jmp 0x40933a
mov esi, dword [ebp - 0x88]
test esi, esi
jne 0x409348
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 1
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xb0]
push eax
add ebx, 0x44
call fcn.0040dabd
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x409367
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x409374
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0xb0]
call fcn.00402b2e
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x1c]
inc dword [ebp - 0x18]
jmp 0x408f10
push 0
push 0xd002
push 0xf402
push dword [0x4d1ecc]
call dword [0x4a6318]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x408f01
mov eax, dword [ebp - 8]
test eax, eax
je 0x4093c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esi - 0x10]
call fcn.00402878
pop edi
pop esi
pop ebx
leave
ret 4