Function at 0x42d4c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8804
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc40
mov eax, dword [0x4d1788]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xa8]
push ebx
mov dword [esp + 0xc48], eax
mov dword [esp + 0x2c], esi
call fcn.00402060
push 0x4b0f4c
add esi, 0xac
call fcn.0047e9ef
add esp, 4
push eax
push 0x4b0f4c
mov ecx, esi
call fcn.00401b00
mov eax, dword [ebx + 0x10]
test eax, eax
jl 0x42dcd6
cmp eax, 6
jg 0x42dcd6
mov eax, dword [ebx + 0x1c]
sub eax, 0x10
push eax
call fcn.004015e0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0xc54], 0
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc58], 1
call fcn.00402060
push 0x78
push 0x2a
lea ecx, [esp + 0x1c]
call fcn.00422920
xor eax, eax
mov ecx, 0x2c
mov esi, str.ffmpeg__y__i___srcfile____s_320240__vcodec_mpeg4__ar_24000__f_psp___distfile__app.mp4_
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x54
lea edi, [esp + 0xf0]
rep stosd dword es:[edi], eax
mov ecx, 0x2b
mov esi, str.ffmpeg__y__i___srcfile____s_320240__vcodec_xvid__ar_24000__f_psp___distfile__psp.mp4_
lea edi, [esp + 0x240]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x54
lea edi, [esp + 0x2ee]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x30
mov esi, str.ffmpeg__y__i___srcfile____s__scale___r_12__ab_24__ar_8000__ac_1__f_3gp___distfile___scale2_.3gp_
lea edi, [esp + 0x440]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov ecx, 0x4f
lea edi, [esp + 0x502]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x25
mov esi, str.ffmpeg__y__i___srcfile____s__scale___vcodec_xvid___distfile___scale2_.mp4_
lea edi, [esp + 0x640]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov ecx, 0x5a
lea edi, [esp + 0x6d6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x31
mov esi, str.ffmpeg__y__i___srcfile____s_320240__vcodec_h264__qscale_4__ar_24000__f_psp___distfile__h264.mp4_
lea edi, [esp + 0x840]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, 0x4f
lea edi, [esp + 0x904]
rep stosd dword es:[edi], eax
mov ecx, 0x2e
mov esi, str.ffmpeg__y__i___srcfile____s__scale___vcodec_mpeg4__ar_24000__f_avi___distfile___scale2_.avi_
lea edi, [esp + 0xa40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x51
lea edi, [esp + 0xafa]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x10]
stosw word es:[edi], ax
shl ecx, 9
lea edx, [esp + ecx - 0x1c0]
push edx
lea ecx, [esp + 0x14]
call fcn.00404200
mov eax, dword [ebx + 4]
push eax
push str._srcfile_
lea ecx, [esp + 0x18]
mov byte [esp + 0xc5c], 2
call fcn.00406d70
mov eax, dword [ebx + 8]
sub eax, 0x10
push eax
call fcn.004015e0
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
push 0x2e
push esi
mov byte [esp + 0xc60], 3
call fcn.0048002f
add esp, 0xc
test eax, eax
je 0x42d6ce
sub eax, esi
sar eax, 1
test eax, eax
jge 0x42d6f4
add esi, 0xfffffff0
mov byte [esp + 0xc54], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d84b
mov ecx, dword [esi]
push esi
jmp 0x42d846
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
call fcn.00406a90
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xc58], 4
call fcn.00402060
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d73b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x24]
push edi
push str._distfile_
lea ecx, [esp + 0x18]
call fcn.00406d70
mov eax, dword [esp + 0x18]
push eax
push str._scale_
lea ecx, [esp + 0x18]
call fcn.00406d70
mov ecx, dword [esp + 0x14]
push ecx
push 0x4b1eb8
lea ecx, [esp + 0x18]
call fcn.00406d70
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x40]
push 0x4af18c
push eax
call fcn.00402480
push 0x4af190
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0xc6c], 5
call fcn.004023c0
add esp, 0x18
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d7c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 4]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.004015e0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004729a0
add esp, 4
test eax, eax
jne 0x42d7f5
mov eax, 0x12c
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42d8c9
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d829
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0xc54], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d84b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d871
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xc54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dce4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x42dce4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.004015e0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0xc], esi
mov byte [esp + 0xc54], 8
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
push 0x22
lea ecx, [esp + 0x10]
mov byte [esp + 0xc58], 9
call fcn.0040ef00
mov edi, eax
mov eax, dword [esi - 0xc]
test eax, eax
jg 0x42d91c
or eax, 0xffffffff
jmp 0x42d934
push 0x22
push esi
call fcn.0047e787
add esp, 8
test eax, eax
jne 0x42d930
or eax, 0xffffffff
jmp 0x42d934
sub eax, esi
sar eax, 1
inc eax
push eax
push 0x22
lea ecx, [esp + 0x14]
call fcn.004016f0
inc eax
push eax
push 0x22
lea ecx, [esp + 0x14]
call fcn.004016f0
test edi, edi
jle 0x42d98f
test eax, eax
jle 0x42d98f
sub edi, eax
dec edi
push edi
inc eax
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00401bc0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xc58], 0xa
call fcn.00402060
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc54], 9
call fcn.004017e0
jmp 0x42d99d
push 0x4ae7d8
lea ecx, [esp + 0x10]
call fcn.00403370
mov esi, dword [esp + 0x28]
test esi, esi
mov edi, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], 0
je 0x42d9bb
lea eax, [esi + 0x30]
jmp 0x42d9bd
xor eax, eax
push ebx
push eax
push 0
push 0x32
push 0
lea ecx, [esp + 0x48]
push ecx
push 0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00401990
lea ecx, [esi + 0x68]
call fcn.0042cf20
test eax, eax
mov eax, dword [ebx + 0x20]
je 0x42da39
test eax, eax
jne 0x42d9fa
push 0xd
lea ecx, [esi + 0x4c]
call fcn.0040a760
push 0x64
lea eax, [esi + 0xac]
push 0x4ae7a8
push eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0xc], 0x64
call fcn.004022f0
add esp, 0xc
push ebx
lea ecx, [esi + 0xa8]
call fcn.00402820
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42da8c
push 0xd
lea ecx, [esi + 0x4c]
call fcn.0040a770
jmp 0x42da8c
test eax, eax
jne 0x42da47
push 0xe
lea ecx, [esi + 0x4c]
call fcn.0040a760
push 0xffffffffffffffff
lea eax, [esi + 0xac]
push 0x4ae7a8
push eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0xc], 0xffffffff
call fcn.004022f0
add esp, 0xc
push ebx
lea ecx, [esi + 0xa8]
call fcn.00402820
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42da84
push 0xe
lea ecx, [esi + 0x4c]
call fcn.0040a770
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 0x20]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42daf3
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42daaf
push 0xf
lea ecx, [esi + 0x4c]
call fcn.0040a760
push 0xffffffffffffffff
lea eax, [esi + 0xac]
push 0x4ae7a8
push eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0xc], 0xffffffff
call fcn.004022f0
add esp, 0xc
push ebx
lea ecx, [esi + 0xa8]
call fcn.00402820
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42daec
push 0xf
lea ecx, [esi + 0x4c]
call fcn.0040a770
xor edi, edi
jmp 0x42db89
push 0x2e
lea ecx, [esp + 0x10]
call fcn.0040ef00
push 0x5c
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.0040ef00
sub edi, eax
dec edi
push edi
inc eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.00401bc0
mov eax, dword [ebx + 0x20]
test eax, eax
mov byte [esp + 0xc54], 0xb
jne 0x42db74
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x42db74
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00401990
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0xc60], 0xc
call fcn.00401990
push 4
mov ecx, 0x4d2f54
mov byte [esp + 0xc60], 0xb
call fcn.00412170
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc54], 9
call fcn.004017e0
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42db9a
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp + 8]
push 0x7d0
push ecx
mov ecx, esi
call fcn.0040ce90
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.download.dat
call fcn.00404200
mov ecx, 0x4d33b0
call fcn.00425850
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42dbeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dc11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dc37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dc5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dc83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xc54], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dca9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xc54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dcd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
jmp 0x42dce6
mov dword [ebx + 0x14], 1
mov dword [ebx + 0xc], 0xffffffff
xor eax, eax
mov ecx, dword [esp + 0xc4c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc44]
call fcn.0047e6cd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8