Function at 0x4093d2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
call fcn.004074cf
xor ebx, ebx
cmp dword [eax + 4], ebx
je 0x409a57
lea ecx, [ebp - 0xc]
call fcn.0040e98a
push str.bdbtray_srs_
lea edi, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.004028ff
pop ecx
call fcn.00402a77
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402878
push dword [ebp - 0xc]
call dword [0x4a61e0]
cmp eax, 0xffffffff
je 0x409429
test al, 0x10
jne 0x409433
push dword [ebp - 0xc]
push ebx
call dword [0x4a62bc]
push str.srs.xml
lea eax, [ebp - 0xc]
push eax
call fcn.004029c5
lea edi, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.0040b013
test eax, eax
js 0x409a3f
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x409a4c
push ecx
mov edi, esp
push 0x4b3318
call fcn.0040d4e9
lea ebx, [ebp - 0x1c]
call fcn.0040d3a8
cmp dword [ebp - 0x1c], 0
jne 0x409484
mov eax, dword [ebp - 4]
test eax, eax
jmp 0x409a44
mov esi, dword [ebp - 4]
test esi, esi
jne 0x409495
push 0x80004003
call fcn.004789b0
push dword [ebp - 0x1c]
lea edi, [ebp - 0x10]
call fcn.0040d378
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4094ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x80], ecx
test ecx, ecx
je 0x4099fa
add eax, 0x48
mov dword [ebp + 8], eax
cmp dword [eax], 0
je 0x4099e2
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.node
call fcn.0040d4e9
lea ebx, [ebp - 8]
call fcn.0040d3a8
cmp dword [ebp - 8], 0
je 0x4099e2
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.title
call fcn.0040d4e9
lea ebx, [ebp - 0x84]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x409556
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 8]
push ebx
lea edi, [ebp - 0x7c]
call fcn.0040d378
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x409550
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push 0x4b325c
call fcn.0040d4e9
lea ebx, [ebp - 0x2c]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4095b4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 8]
push ebx
lea edi, [ebp - 0x5c]
call fcn.0040d378
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4095ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.latest
call fcn.0040d4e9
lea ebx, [ebp - 0x18]
call fcn.0040d3a8
cmp dword [ebp - 0x18], 0
je 0x409713
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.title
call fcn.0040d4e9
lea ebx, [ebp - 0x34]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40963c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 0x18]
push ebx
lea edi, [ebp - 0x74]
call fcn.0040d378
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x409636
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.linkPage
call fcn.0040d4e9
lea ebx, [ebp - 0x3c]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40969a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 0x18]
push ebx
lea edi, [ebp - 0x64]
call fcn.0040d378
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x409694
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.linkMovie
call fcn.0040d4e9
lea ebx, [ebp - 0x44]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4096f8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 0x18]
push ebx
lea edi, [ebp - 0x20]
call fcn.0040d378
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4096f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push dword [ebp - 0x18]
mov esi, dword [ebp - 8]
lea edi, [ebp - 0x4c]
call fcn.0040d378
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x409713
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.last
call fcn.0040d4e9
lea ebx, [ebp - 0x14]
call fcn.0040d3a8
cmp dword [ebp - 0x14], 0
je 0x409872
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.title
call fcn.0040d4e9
lea ebx, [ebp - 0x6c]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40979b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 0x14]
push ebx
lea edi, [ebp - 0x54]
call fcn.0040d378
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x409795
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.linkPage
call fcn.0040d4e9
lea ebx, [ebp - 0x24]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4097f9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 0x14]
push ebx
lea edi, [ebp - 0x28]
call fcn.0040d378
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4097f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.linkMovie
call fcn.0040d4e9
lea ebx, [ebp - 0x30]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x409857
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 0x14]
push ebx
lea edi, [ebp - 0x38]
call fcn.0040d378
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x409851
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push dword [ebp - 0x14]
mov esi, dword [ebp - 8]
lea edi, [ebp - 0x40]
call fcn.0040d378
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x409872
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.picture
call fcn.0040d4e9
lea ebx, [ebp - 0x48]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4098d0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 8]
push ebx
lea edi, [ebp - 0x50]
call fcn.0040d378
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4098ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.pictureReady
call fcn.0040d4e9
lea ebx, [ebp - 0x58]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40993b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax + 0x24], 1
mov eax, 0x4b32d4
je 0x40990c
mov eax, 0x4b3320
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 8]
push ebx
lea edi, [ebp - 0x60]
call fcn.0040d378
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x409935
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov esi, dword [ebp - 4]
test esi, esi
je 0x40948b
push ecx
mov edi, esp
push str.shown
call fcn.0040d4e9
lea ebx, [ebp - 0x68]
call fcn.0040d3a8
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4099a6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax + 0x28], 1
mov eax, 0x4b32d4
je 0x409977
mov eax, 0x4b3320
push ecx
mov edi, esp
push eax
call fcn.0040d4e9
mov esi, ebx
call fcn.0040d343
mov esi, dword [ebp - 8]
push ebx
lea edi, [ebp - 0x70]
call fcn.0040d378
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4099a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
push ebx
lea edi, [ebp - 0x78]
call fcn.0040d378
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4099c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4099cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4099dc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 4
mov dword [ebp + 8], eax
cmp ecx, dword [ebp - 0x80]
jb 0x4094c8
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40948b
mov edi, dword [ebp - 0xc]
push edi
lea esi, [ebp - 0x94]
call fcn.0040d5e9
mov ecx, eax
call fcn.0040d316
mov eax, esi
push eax
call dword [0x4a628c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x409a3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [edi - 0x10]
jmp 0x409a52
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x409a4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00402878
pop edi
pop esi
pop ebx
leave
ret 4