Function at 0x497f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52dda6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x66f704]
push ebx
push ebp
push esi
xor esi, esi
xor ebx, ebx
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0x14], eax
mov eax, dword [0x6c7e48]
push 1
mov byte [esp + 0xb4], 1
mov dword [esp + 0x38], esi
mov ecx, dword [eax + 0x7c]
mov edi, dword [eax + 0x78]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x48], edi
call fcn.0049a550
mov ecx, dword [0x6c7e48]
mov dword [0x6c7fc4], esi
add esp, 4
mov eax, dword [ecx + 0x68]
cmp eax, 1
jne 0x49806a
mov edx, dword [ecx + 0x74]
mov eax, dword [edx + 0x2b8]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0xc]
cmp eax, 1
jle 0x498aad
mov ecx, dword [esp + 0x28]
lea ebp, [eax - 1]
lea edi, [ecx + 0x9e0]
mov eax, dword [edi + 0x980]
test eax, eax
jne 0x498058
mov eax, dword [esp + 0x24]
mov ecx, dword [edi]
inc eax
mov dword [esp + 0x24], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea eax, [eax + eax*2]
shl eax, 4
cdq
add ebx, eax
mov eax, dword [esp + 0x20]
adc eax, edx
mov dword [esp + 0x20], eax
add edi, 0x9a0
dec ebp
jne 0x498028
mov dword [esp + 0x1c], ebx
jmp 0x4983b0
cmp eax, 2
jne 0x49814f
mov edx, dword [0x6c7e48]
mov ebp, 1
mov eax, dword [edx + 0x74]
mov edi, dword [eax + 0x2b8]
mov dword [esp + 0x28], edi
add edi, 0xa14
mov eax, dword [edi]
test eax, eax
je 0x498136
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.00421990
add esp, 8
cmp eax, 0xffffffff
jne 0x498113
push str.Do_you_want_to_continue_
push 0x960
call fcn.004dd120
mov edx, dword [edi]
add esp, 8
push eax
push edx
push str.The_following_file_folder_cannot_be_accessed_from_the_specified_path:
push 0x1388
call fcn.004dd120
add esp, 8
push eax
lea eax, [esp + 0x20]
push str._s_r_n_r_n_s_r_n_r_n_s
push eax
call fcn.0050b108
mov ecx, dword [esp + 0x28]
add esp, 0x14
push 0
push 0x34
push ecx
call fcn.005172c3
cmp eax, 6
jne 0x498aa9
mov edx, dword [edi]
push edx
call fcn.004b6a50
add esp, 4
mov dword [edi], 0
jmp 0x498136
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
add ebx, eax
mov eax, dword [esp + 0x20]
adc eax, ecx
mov dword [esp + 0x20], eax
inc ebp
add edi, 0x9a0
cmp ebp, 0x64
jl 0x498091
mov dword [esp + 0x1c], ebx
jmp 0x4983b0
cmp eax, 3
jne 0x49827b
push esi
push esi
push 0xffffffffffffffff
push edi
call dword [0x671b04]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x54], eax
jle 0x498aad
mov edx, dword [esp + 0x44]
push 0
push 0
push ebp
push edx
call dword [0x671b04]
mov edi, eax
test edi, edi
jle 0x498265
inc edi
lea eax, [edi + edi]
push eax
call fcn.004b6a20
mov esi, eax
add esp, 4
test esi, esi
je 0x498aa9
mov ecx, dword [esp + 0x44]
push edi
push esi
push ebp
push ecx
call dword [0x671b04]
test eax, eax
jbe 0x498aa9
lea edx, [esp + 0x78]
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x78]
push edx
push esi
rep stosd dword es:[edi], eax
call fcn.00421990
add esp, 8
cmp eax, 0xffffffff
jne 0x498237
push str.Do_you_want_to_continue_
push 0x960
call fcn.004dd120
add esp, 8
push eax
push esi
push str.The_following_file_folder_cannot_be_accessed_from_the_specified_path:
push 0x1388
call fcn.004dd120
add esp, 8
push eax
lea eax, [esp + 0x20]
push str._s_r_n_r_n_s_r_n_r_n_s
push eax
call fcn.0050b108
mov ecx, dword [esp + 0x28]
add esp, 0x14
push 0
push 0x34
push ecx
call fcn.005172c3
push esi
mov edi, eax
call fcn.004b6a50
add esp, 4
xor esi, esi
cmp edi, 6
jne 0x498aa9
jmp 0x498265
push esi
call fcn.004b6a50
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x24]
add esp, 4
xor esi, esi
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x94]
add ebx, edx
adc ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x54]
inc ebp
cmp ebp, eax
jl 0x498171
mov dword [esp + 0x1c], ebx
jmp 0x4983b0
cmp eax, 4
jne 0x498aad
mov ecx, dword [esp + 0x50]
call fcn.00444690
test eax, eax
mov dword [esp + 0x40], eax
je 0x4983a3
lea ecx, [esp + 0x40]
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
call fcn.004446c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 2
call fcn.0050e0ef
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 1
call fcn.0050dfa8
lea eax, [esp + 0x18]
push eax
call fcn.004b89b0
mov esi, eax
add esp, 4
test esi, esi
je 0x498aa9
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
push ecx
push esi
call fcn.00421990
add esp, 8
cmp eax, 0xffffffff
jne 0x498365
push str.Do_you_want_to_continue_
push 0x960
call fcn.004dd120
add esp, 8
push eax
push esi
push str.The_following_file_folder_cannot_be_accessed_from_the_specified_path:
push 0x1388
call fcn.004dd120
add esp, 8
lea edx, [esp + 0x1c]
push eax
push str._s_r_n_r_n_s_r_n_r_n_s
push edx
call fcn.0050b108
mov eax, dword [esp + 0x28]
add esp, 0x14
push 0
push 0x34
push eax
call fcn.005172c3
push esi
mov edi, eax
call fcn.004b6a50
add esp, 4
xor esi, esi
cmp edi, 6
jne 0x498aa9
jmp 0x498393
push esi
call fcn.004b6a50
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x24]
add esp, 4
xor esi, esi
inc ebp
add ebx, ecx
adc eax, edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x498299
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x50]
call fcn.00444690
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x498aad
or ebx, dword [esp + 0x20]
je 0x498aad
mov dword [esp + 0x3c], 0
mov ebx, dword [esp + 0x28]
mov ecx, dword [0x6c7e48]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
inc edi
mov eax, dword [ecx + 0x68]
add edx, 0x9a0
cmp eax, 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], edx
jne 0x498531
cmp edi, dword [ebx + 0xc]
jge 0x498a9d
mov eax, dword [edx + ebx + 0x9c0]
test eax, eax
jne 0x4983d2
mov eax, dword [ecx + 0x74]
push edi
cmp byte [eax + 0x2bc], 1
jne 0x498428
lea ecx, [esp + 0x1c]
push str.AVSEQ_02d.DAT
push ecx
jmp 0x498432
lea edx, [esp + 0x1c]
push str.AVSEQ_02d.MPG
push edx
call fcn.0050b108
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call fcn.004b89b0
add esp, 4
mov esi, eax
mov dword [esp + 0x2c], 0
test esi, esi
je 0x4983ce
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
inc eax
push ecx
push eax
lea edx, [esp + 0x1c]
push str._d__d
push edx
mov dword [esp + 0x7c], eax
call fcn.0050b108
mov eax, dword [esp + 0x28]
mov ecx, dword [0x6c7e48]
add esp, 0x10
push eax
push 0x4f1
call fcn.00512656
mov ecx, eax
call fcn.0051279e
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [0x6c7e48]
push 0x4f4
call fcn.00512656
mov ecx, eax
call fcn.0051279e
mov edx, dword [0x6c7e48]
mov byte [esp + 0x33], 1
mov byte [esp + 0x13], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [edx + 0x68]
cmp eax, 3
je 0x4984e3
cmp eax, 4
jne 0x498743
mov eax, dword [0x672f74]
mov ebp, 1
mov ebx, dword [eax + 0x2b8]
mov dword [esp + 0x28], ebx
cmp dword [ebx + 0xc], ebp
jle 0x498743
lea edi, [ebx + 0xa14]
mov eax, dword [edi]
test eax, eax
je 0x49851e
push esi
push eax
call fcn.004f5afd
add esp, 8
test eax, eax
je 0x4986c2
mov eax, dword [ebx + 0xc]
inc ebp
add edi, 0x9a0
cmp ebp, eax
jl 0x498506
jmp 0x498743
cmp eax, 2
jne 0x498565
cmp edx, 0x3b8e0
jg 0x498a9d
mov esi, dword [edx + ebx + 0x74]
test esi, esi
je 0x4983d2
push esi
lea ecx, [esp + 0x1c]
mov dword [edx + ebx + 0x74], 0
call fcn.0050e13f
jmp 0x498627
cmp eax, 3
jne 0x4985ce
cmp edi, dword [esp + 0x54]
jg 0x498a9d
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
push 0
push 0
lea ebp, [ecx - 1]
push ebp
push edx
call dword [0x671b04]
mov edi, eax
test edi, edi
jle 0x4983ce
inc edi
lea eax, [edi + edi]
push eax
call fcn.004b6a20
mov esi, eax
add esp, 4
test esi, esi
je 0x498aad
mov ecx, dword [esp + 0x44]
push edi
push esi
push ebp
push ecx
call dword [0x671b04]
test eax, eax
jbe 0x498aad
push esi
lea ecx, [esp + 0x1c]
call fcn.0050e13f
jmp 0x498627
mov eax, dword [esp + 0x40]
test eax, eax
je 0x498a9d
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x40]
lea eax, [esp + 0x74]
push edx
push eax
call fcn.004446c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 3
call fcn.0050e0ef
lea ecx, [esp + 0x74]
mov byte [esp + 0xb0], 1
call fcn.0050dfa8
lea ecx, [esp + 0x18]
push ecx
call fcn.004b89b0
mov esi, eax
add esp, 4
test esi, esi
je 0x498aad
lea edx, [esp + 0x78]
push edx
push esi
call fcn.00421990
add esp, 8
cmp eax, 0xffffffff
push esi
jne 0x49864a
call fcn.004b6a50
add esp, 4
xor esi, esi
jmp 0x4983d2
call fcn.004b6b50
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x498451
push str.Do_you_want_to_continue_
push 0x960
call fcn.004dd120
add esp, 8
push eax
mov eax, dword [esp + 0x1c]
push eax
push str.The_following_file_folder_cannot_be_accessed_from_the_specified_path:
push 0x1388
call fcn.004dd120
add esp, 8
lea ecx, [esp + 0x1c]
push eax
push str._s_r_n_r_n_s_r_n_r_n_s
push ecx
call fcn.0050b108
mov edx, dword [esp + 0x28]
add esp, 0x14
push 0
push 0x34
push edx
call fcn.005172c3
cmp eax, 6
jne 0x498aad
push esi
call fcn.004b6a50
add esp, 4
xor esi, esi
jmp 0x4983d2
push 0x65fb54
push 0x9ba
call fcn.004dd120
push eax
push esi
lea ecx, [esp + 0x24]
push 0x60e094
push ecx
call fcn.0050b108
mov edx, dword [esp + 0x2c]
push 0x23
push edx
call fcn.004b4a10
add esp, 0x20
cmp eax, 6
je 0x498743
cmp eax, 2
je 0x498aad
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x94]
mov ebp, dword [esp + 0x38]
add edx, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x2c]
adc ebp, ecx
push edx
mov dword [esp + 0x3c], ebp
call fcn.004b6a60
push esi
mov dword [esp + 0x34], 0
call fcn.004b6a50
add esp, 8
xor esi, esi
jmp 0x4983d2
push 0x148
call fcn.004b6a20
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x48], ebp
je 0x498aad
mov al, byte [esp + 0x13]
test al, al
jne 0x498941
mov eax, dword [0x6c7e4c]
xor ebx, ebx
test eax, eax
jne 0x498aad
mov eax, dword [0x6c7e48]
mov edi, 1
cmp dword [eax + 0x68], edi
jne 0x49878d
mov eax, dword [eax + 0x74]
jmp 0x49878f
xor eax, eax
lea ecx, [esp + 0x13]
lea edx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x37]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x58]
push 0
push 0
push ebp
push edx
push ecx
push eax
call fcn.0049a5c0
add esp, 0x24
test al, al
je 0x4987c7
mov eax, dword [0x6c7fc4]
test eax, eax
je 0x49884b
mov edx, dword [0x6c7e48]
cmp dword [edx + 0x68], edi
je 0x498a66
push str.Do_you_want_to_continue_
push 0x960
call fcn.004dd120
add esp, 8
push eax
push 0x661a38
push 0x2260
call fcn.004dd120
add esp, 8
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
push str._s_r_n_r_n_s__s
push ecx
call fcn.0050b108
mov edx, dword [esp + 0x28]
add esp, 0x14
push 0
push 0x44
push edx
call fcn.005172c3
cmp eax, 6
jne 0x498aad
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x40590000
mov ebx, edi
mov byte [esp + 0x13], 0
mov dword [0x6c7fc4], 0
fld qword [esp + 0x5c]
call fcn.004f866c
mov edi, eax
cmp edi, 0x64
jl 0x498860
mov edi, 0x64
cmp edi, dword [esp + 0x64]
je 0x498897
mov eax, dword [0x6c7e48]
push 0x64
push 0
push 0x406
mov ecx, dword [eax + 0xa0]
push ecx
call dword [0x671be8]
mov edx, dword [0x6c7e48]
push edi
lea ecx, [edx + 0x84]
call fcn.004ae190
mov dword [esp + 0x64], edi
mov eax, dword [0x6c7e48]
cmp dword [eax + 0x68], 1
jne 0x4988c6
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ecx, dword [ecx + edx + 0x40]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea eax, [eax + eax*2]
shl eax, 4
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
jmp 0x4988cd
fild qword [esp + 0x90]
fmul qword [esp + 0x5c]
fmul qword [0x5dc6a0]
fild qword [esp + 0x34]
faddp st(1)
fmul qword [0x5d7578]
fild qword [esp + 0x1c]
fdivp st(1)
call fcn.004f866c
mov edi, eax
cmp edi, 0x64
jle 0x4988fa
mov edi, 0x64
cmp edi, dword [esp + 0x68]
je 0x498931
mov ecx, dword [0x6c7e48]
push 0x64
push 0
push 0x406
mov edx, dword [ecx + 0x10c]
push edx
call dword [0x671be8]
mov eax, dword [0x6c7e48]
push edi
lea ecx, [eax + 0xf0]
call fcn.004ae190
mov dword [esp + 0x68], edi
test ebx, ebx
jne 0x498941
mov al, byte [esp + 0x13]
test al, al
je 0x49876a
mov ecx, dword [0x6c7e48]
mov edi, 1
cmp dword [ecx + 0x68], edi
jne 0x4989db
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
push esi
mov ecx, dword [edi + ebx + 0x40]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*2]
shl eax, 4
cdq
add ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x3c]
adc ecx, edx
mov edx, dword [0x6c7e48]
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 0x74]
mov cl, byte [eax + 0x2bc]
push ecx
push ebp
call fcn.0049b3f0
add esp, 0xc
test eax, eax
je 0x498aad
lea edx, [edi + ebx + 0xbc]
push esi
push edx
mov dword [edi + ebx + 0x9c0], ebp
mov dword [esp + 0x50], 0
call fcn.004f59f2
push esi
call fcn.004b6a50
add esp, 0xc
xor esi, esi
mov dword [esp + 0x58], 1
jmp 0x4983d2
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x38]
add ebx, eax
mov al, byte [esp + 0x13]
adc edx, ecx
mov dword [esp + 0x34], ebx
test al, al
mov dword [esp + 0x38], edx
je 0x4983ce
mov edx, dword [0x672f74]
push esi
mov al, byte [edx + 0x2bc]
push eax
push ebp
call fcn.0049b3f0
add esp, 0xc
test eax, eax
je 0x4983ce
mov ecx, dword [0x6c7e48]
mov eax, dword [esp + 0x2c]
push ebp
mov edx, dword [ecx + 0x70]
mov ecx, dword [0x672f74]
push edx
push eax
mov edx, dword [ecx + 0x2b8]
push esi
push edx
call fcn.0049bb90
add esp, 0x14
cmp eax, 0xffffffff
je 0x498aad
xor esi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], esi
jmp 0x4983ce
push 0x661a38
push 0x2260
call fcn.004dd120
push eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push 0x60e094
push ecx
call fcn.0050b108
mov edx, dword [esp + 0x2c]
add esp, 0x18
push 0
push 0x40
push edx
call fcn.005172c3
jmp 0x498aad
mov dword [ecx + 0x80], 1
jmp 0x498aad
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x2c]
push eax
call fcn.004b6a60
push esi
call fcn.004b6a50
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0049b6b0
mov edx, dword [0x6c7e48]
add esp, 0xc
mov eax, dword [edx + 0x80]
test eax, eax
jne 0x498ae4
push 0
call fcn.0049a550
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x498b35
mov ecx, dword [0x672f74]
mov al, byte [ecx + 0x2bc]
cmp al, 1
mov eax, str.MPEGAV
je 0x498b06
mov eax, str.MPEG2
push eax
mov eax, dword [ecx + 0x1418]
push eax
call fcn.004267e0
mov ecx, dword [0x6c7b28]
add esp, 8
cmp dword [ecx + 0x14], eax
jne 0x498b35
push 1
push ecx
mov ecx, dword [0x6c7b30]
mov ecx, dword [ecx + 0x30e4]
call fcn.0046f620
mov eax, dword [esp + 0x44]
test eax, eax
je 0x498b44
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0
call fcn.0050dfa8
lea ecx, [esp + 0x18]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0050dfa8
mov ecx, dword [esp + 0xa8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret