Function at 0x4a5080
Capabilities:
Check for peb beingdebugged flag
Create thread

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4f4c50
push eax
mov eax, 0x6c0c
mov dword fs:[0], esp
call fcn.004dd3c0
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x27c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x27c]
push 0x104
push eax
push 0x9d09
call fcn.00432d40
push 0x82000
call fcn.004dcb8f
mov edi, eax
mov ecx, 0x20800
xor eax, eax
mov dword [esp + 0x38], edi
rep stosd dword es:[edi], eax
mov ecx, 0x1964
lea edi, [esp + 0x69c]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
push 0x104
push ecx
push 0x9f20
call fcn.00432d40
mov esi, dword [0x4f94a4]
add esp, 0x1c
lea edx, [esp + 0x74]
lea eax, [esp + 0x68c]
push edx
push 0x513284
push eax
call esi
mov ecx, dword [str..qmv_.ape_.rmvb_.mov_.amv_.avi_.mpg_.mpeg_.mpe_.3gp_.mp4_.flv_._mv_.wm_.swf_.csf_.ts_.tp_.mkv_.dat_.vob_.qt_.ram_.wav_.wmv_.asf_.rm_.3gp2_.3gpp_.mkv_.au_.flac_.ra_.m4a_.mpga_.wma_.mp3_.midi_.ac3_.aac_.ogg_.mid_.bmp_.gif_.png_.jpg_.tif_.jpeg_.jpe_]
add esp, 0xc
lea edi, [esp + eax*2 + 0x68e]
push ecx
push 0x513284
push edi
call esi
lea edx, [esp + 0x80]
push 0x104
push edx
push 0x9d0a
lea edi, [edi + eax*2 + 2]
call fcn.00432d40
add esp, 0x18
lea eax, [esp + 0x74]
push eax
push 0x513284
push edi
call esi
mov ecx, dword [str..qmv_.m4v_.f4v_.tim_.swf_.csf_.scm_.ts_.tp_.mkv_.dat_.vob_.qt_.ram_.wav_.wmv_.asf_.rm_.rmvb_.mov_.avi_.mpg_.mpeg_.mpe_.3gp_.mp2_.mp4_.flv_._mv_.wm_.rp_.rpm_.rt_.rsc_.3gp2_.3gpp_.acc_.aif_.aifc_.aiff_.asx_.bik_.flc_.roq_.d2v_.dsa_.dss_.dsv_.m1v_.m2p_.m2v_.m4b_.mkv_.mod_.ogm_.pmp_.pm2_.pss_.m4p_.mv_.m2ts_.evo_.3g2_.wmp_.wm_.ivf_.rmm_.mjp_.pva_.rat_.dvd_.smk_.tpr_.vg2_.vid_.vp6_.vp7_.amv_.fli_.pmp2_.mts_.drc]
add esp, 0xc
lea edi, [edi + eax*2 + 2]
push ecx
push 0x513284
push edi
call esi
lea ebp, [edi + eax*2 + 2]
lea edx, [esp + 0x80]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x80]
push 0x104
push edx
push 0x9d0b
rep stosd dword es:[edi], eax
call fcn.00432d40
add esp, 0x18
lea eax, [esp + 0x74]
push eax
push 0x513284
push ebp
call esi
mov ecx, dword [str..smv_.spx_.au_.flac_.ra_.amr_.m4a_.mpga_.mp5_.dsm_.mpa_.mac_.dts_.mpga_.wma_.mp3_.midi_.ac3_.aac_.ogg_.mid_.ape_.cda_.rmi_.tta_.tta]
add esp, 0xc
lea ebp, [ebp + eax*2 + 2]
push ecx
push 0x513284
push ebp
call esi
lea ebp, [ebp + eax*2 + 2]
lea edx, [esp + 0x80]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x80]
push 0x104
push edx
push 0x9d0c
rep stosd dword es:[edi], eax
call fcn.00432d40
add esp, 0x18
lea eax, [esp + 0x74]
push eax
push 0x513284
push ebp
call esi
mov ecx, dword [str..bmp_.gif_.jpg_.tif_.jpeg_.jpe_.pcd_.bnm_.qti.qtf_.qtif_.tif_.tiff_.tiff]
add esp, 0xc
lea ebp, [ebp + eax*2 + 2]
push ecx
push 0x513284
push ebp
call esi
lea ebp, [ebp + eax*2 + 2]
lea edx, [esp + 0x80]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x80]
push 0x104
push edx
push 0x9d10
rep stosd dword es:[edi], eax
call fcn.00432d40
add esp, 0x18
lea eax, [esp + 0x74]
push eax
push 0x513284
push ebp
call esi
mov ecx, dword [str..wpl_.m3u_.ttpl_.qpl_.cue_.wmx_.wvx_.smil_.asx]
add esp, 0xc
lea ebp, [ebp + eax*2 + 2]
push ecx
push 0x513284
push ebp
call esi
lea ebp, [ebp + eax*2 + 2]
lea edx, [esp + 0x80]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x80]
push 0x104
push edx
push 0x9d0d
rep stosd dword es:[edi], eax
call fcn.00432d40
add esp, 0x18
lea eax, [esp + 0x74]
push eax
push 0x513284
push ebp
call esi
add esp, 0xc
lea ebp, [ebp + eax*2 + 2]
push 0x516e94
push ebp
call esi
mov ecx, dword [esp + 0x30]
push 0x81a00
push 0x41000
lea edx, [esp + 0x69c]
push ecx
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x290]
push edx
push eax
push ecx
call fcn.004a7bf0
add esp, 0x20
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x4a5bcf
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4a5bea
mov esi, dword [esp + 0x28]
mov edx, dword [0x50a0e0]
mov ebp, dword [0x4f9318]
mov dword [esp + 0x18], edx
test esi, esi
je 0x4a536e
mov eax, esi
shr eax, 0x10
jne 0x4a5342
and esi, 0xffff
lea ecx, [esp + 0x18]
push esi
call fcn.00407b70
jmp 0x4a536e
push esi
call ebp
mov edi, eax
test edi, edi
je 0x4a536e
push edi
lea ecx, [esp + 0x1c]
call fcn.00402090
test eax, eax
je 0x4a536e
lea ecx, [edi + edi]
mov edi, dword [esp + 0x18]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x20]
push 4
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c2c], 0
call fcn.00407130
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c24], 1
call fcn.00408910
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x4f94ec]
mov esi, dword [str..wpl_.m3u_.ttpl_.qpl_.cue_.wmx_.wvx_.smil_.asx]
mov edx, dword [0x50a0e0]
test esi, esi
mov dword [esp + 0x1c], edx
je 0x4a53fe
mov eax, esi
shr eax, 0x10
jne 0x4a53d2
and esi, 0xffff
lea ecx, [esp + 0x1c]
push esi
call fcn.00407b70
jmp 0x4a53fe
push esi
call ebp
mov edi, eax
test edi, edi
je 0x4a53fe
push edi
lea ecx, [esp + 0x20]
call fcn.00402090
test eax, eax
je 0x4a53fe
lea ecx, [edi + edi]
mov edi, dword [esp + 0x1c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c2c], 2
call fcn.004147e0
test eax, eax
jl 0x4a54d1
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0040b9c0
mov ecx, ebx
call fcn.004a1a20
mov eax, dword [esp + 0x1c]
mov edx, dword [0x50a0e4]
mov esi, dword [0x4f9320]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5469
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5469
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5494
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5494
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5bc8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5bc8
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004dcaa6
add esp, 4
mov eax, 1
jmp 0x4a5bec
lea ecx, [esp + 0x38]
call fcn.004272c0
mov ecx, dword [ebx + 0x10c]
lea eax, [esp + 0x34]
push 0
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x6c30], 3
call fcn.004a90d0
test eax, eax
jne 0x4a55a1
mov eax, dword [esp + 0x38]
mov byte [esp + 0x6c24], 2
test eax, eax
je 0x4a5515
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x50a0e4]
mov esi, dword [0x4f9320]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5546
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5546
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5571
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5571
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5bea
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a5bea
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
jmp 0x4a5be2
mov eax, dword [ebx + 0xc8]
xor edi, edi
push edi
push edi
mov eax, dword [eax]
push 0x1004
push eax
call dword [0x4f94a0]
mov ebp, eax
mov eax, dword [esp + 0x6c2c]
cmp eax, 0x127
jne 0x4a57b9
lea ecx, [esp + 0x40]
call fcn.004272c0
lea ecx, [esp + 0x10]
call fcn.004272c0
push str.item
lea ecx, [esp + 0x48]
mov word [esp + 0x48], di
call fcn.004067a0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
push str.selectNodes
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c30], 6
call fcn.00407e00
mov esi, dword [0x4f936c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x44]
mov byte [esp + 0x6c24], 5
push eax
call esi
mov eax, dword [esp + 0x34]
cmp eax, edi
mov eax, dword [esp + 0x10]
jl 0x4a5649
cmp eax, edi
je 0x4a5649
push eax
lea ecx, [esp + 0x44]
call fcn.00407de0
mov eax, dword [esp + 0x10]
cmp eax, edi
mov byte [esp + 0x6c24], 4
je 0x4a565b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], edi
mov word [esp + 0x44], di
lea edx, [esp + 0x44]
lea ecx, [esp + 0x40]
push edx
push str.length
mov byte [esp + 0x6c2c], 7
call fcn.00469320
cmp eax, edi
mov dword [esp + 0x3c], eax
jl 0x4a5697
cmp word [esp + 0x44], 3
jne 0x4a5697
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x44]
push ecx
call esi
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x4a578a
lea ecx, [esp + 0x48]
call fcn.004272c0
xor ebp, ebp
test edi, edi
jl 0x4a576c
lea ecx, [esp + 0x10]
call fcn.004272c0
mov word [esp + 0x54], 3
mov dword [esp + 0x5c], edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x54]
push edx
push eax
push str.item
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c30], 0xa
call fcn.00407e00
lea ecx, [esp + 0x54]
mov dword [esp + 0x3c], eax
push ecx
mov byte [esp + 0x6c28], 9
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
jl 0x4a5725
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a5725
push eax
lea ecx, [esp + 0x4c]
call fcn.00407de0
mov ebp, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c24], 8
call fcn.004282a0
test ebp, ebp
je 0x4a576c
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x64]
push edx
call fcn.0046cc00
push 0
push eax
push str.removeChild
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c30], 0xb
call fcn.004067f0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c24], 4
call fcn.004282a0
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x4a56ac
mov eax, dword [ebx + 0xc8]
xor ebp, ebp
push ebp
push ebp
mov ecx, dword [eax]
push 0x1009
push ecx
call dword [0x4f94a0]
lea ecx, [esp + 0x40]
mov dword [ebx + 0x110], ebp
mov byte [esp + 0x6c24], 3
call fcn.004282a0
mov esi, dword [esp + 0x2c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x484]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x28]
lea edx, [esi - 1]
push edx
lea eax, [esp + 0x488]
push edi
push eax
call fcn.004dde20
mov eax, dword [ebx + 0x120]
mov edx, dword [ebx + 0x11c]
lea ecx, [ebx + 0x118]
add esp, 0xc
push eax
push edx
call fcn.004bd0d0
mov ecx, dword [0x50a0e0]
lea edi, [edi + esi*2]
mov dword [esp + 0x14], ecx
or esi, 0xffffffff
cmp word [edi], 0
mov byte [esp + 0x6c24], 0xc
mov dword [esp + 0x24], esi
je 0x4a5954
mov esi, dword [ebx + 0xc8]
push 0
push 0x50b430
push 0
push ebp
mov ecx, esi
call fcn.00472760
mov edx, dword [esi + 0x14]
mov ebp, eax
push edx
push ebp
mov ecx, esi
call fcn.0048a0b0
mov eax, dword [esi + 0x14]
push 0
push 0
push 0
push 0
inc eax
push edi
push 1
mov dword [esi + 0x14], eax
mov ecx, dword [ebx + 0xc8]
push 1
push ebp
call fcn.0048a4e0
mov eax, dword [0x50a0e0]
mov dword [esp + 0x30], eax
or esi, 0xffffffff
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c24], 0xd
mov dword [esp + 0x2c], esi
call fcn.004069f0
lea ecx, [esp + 0x484]
push edi
push ecx
lea edx, [esp + 0x38]
push 0x5143d4
push edx
mov byte [esp + 0x6c34], 0xe
mov dword [esp + 0x3c], ebp
call fcn.004073f0
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, esi
jne 0x4a5910
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
je 0x4a590c
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4a58da
mov edx, dword [0x50a0e4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4a58e1
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4a58f1
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402200
jmp 0x4a590c
lea ecx, [esp + 0x14]
call fcn.004020f0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [0x4f9310]
mov dword [esp + 0x24], ebp
mov eax, dword [ebx + 0x120]
lea ecx, [ebx + 0x118]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004bcf40
push edi
call fcn.004dd4cc
add esp, 4
lea ecx, [esp + 0x30]
lea edi, [edi + eax*2 + 2]
inc ebp
mov byte [esp + 0x6c24], 0xc
call fcn.004021d0
cmp word [edi], 0
jne 0x4a5825
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 0x128]
mov dword [ebx + 0x114], 1
push eax
call dword [0x4f92a8]
xor edi, edi
push ebx
push edi
push fcn.004a62a0
call fcn.004ddc20
mov eax, dword [esp + 0x6c3c]
mov ebp, dword [0x4f9320]
add esp, 0xc
cmp eax, edi
je 0x4a5af5
cmp dword [ebx + 0x14], edi
je 0x4a5af5
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, edi
jl 0x4a59b5
push eax
mov dword [esp + 0x14], ecx
call dword [0x4f9310]
jmp 0x4a59c9
mov edx, dword [0x50a0e0]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.00406d00
mov dword [0x522310], edi
mov dword [0x52230c], edi
mov dword [0x522268], 1
mov eax, dword [ebx + 0x10c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c24], 0xf
mov dword [0x52226c], eax
mov dword [0x522270], esi
call fcn.00408910
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x4f94ec]
push edi
push 0x50cc7c
lea ecx, [esp + 0x18]
call fcn.004147e0
test eax, eax
jle 0x4a5a35
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
push eax
push 0x51
mov edx, dword [ecx]
push 0x574
jmp 0x4a5ac0
push edi
push str.ftp:__
lea ecx, [esp + 0x18]
call fcn.004147e0
test eax, eax
jle 0x4a5a5b
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
push eax
push 0x52
mov edx, dword [ecx]
push 0x574
jmp 0x4a5ac0
push edi
push str.rtsp:__
lea ecx, [esp + 0x18]
call fcn.004147e0
test eax, eax
jle 0x4a5a81
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
push eax
push 0x53
mov edx, dword [ecx]
push 0x574
jmp 0x4a5ac0
push edi
push str.mms:__
lea ecx, [esp + 0x18]
call fcn.004147e0
mov ecx, dword [ebx + 0x14]
test eax, eax
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
jle 0x4a5aa7
push 0x54
push 0x574
jmp 0x4a5ac0
push 0x10
push 0x574
call dword [edx]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
push eax
push edi
mov edx, dword [ecx]
push 0x57b
call dword [edx]
push esi
mov ecx, ebx
call fcn.004b1c10
mov eax, dword [esp + 0x10]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5af5
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a5af5
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5b20
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a5b20
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x38]
mov byte [esp + 0x6c24], 2
cmp eax, edi
je 0x4a5b36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x50a0e4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a5b61
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a5b61
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5b8c
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a5b8c
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a5bb7
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a5bb7
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4a5bc8
push eax
call fcn.004dcaa6
add esp, 4
mov eax, 1
jmp 0x4a5bec
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x114], 0
test eax, eax
je 0x4a5bea
push eax
call fcn.004dcaa6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x6c1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c18
ret 8