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

Disassembly:
push 0xffffffffffffffff
push 0x4f4f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push ebx
push ebp
push esi
mov esi, dword [esp + 0x290]
push edi
lea ecx, [esp + 0x54]
mov edi, dword [esi + 0x10c]
call fcn.004272c0
xor ebx, ebx
lea eax, [esp + 0x50]
push ebx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x298], ebx
call fcn.004a90d0
mov ecx, dword [esi + 0x11c]
mov edx, dword [esi + 0x120]
mov esi, 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]
mov eax, dword [0x50a0e0]
mov ebp, dword [0x4f9318]
cmp esi, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0x48], eax
je 0x4a6361
mov ecx, esi
shr ecx, 0x10
jne 0x4a6335
and esi, 0xffff
lea ecx, [esp + 0x48]
push esi
call fcn.00407b70
jmp 0x4a6361
push esi
call ebp
mov edi, eax
cmp edi, ebx
je 0x4a6361
push edi
lea ecx, [esp + 0x4c]
call fcn.00402090
test eax, eax
je 0x4a6361
lea ecx, [edi + edi]
mov edi, dword [esp + 0x48]
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 esi, 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]
mov eax, dword [0x50a0e0]
cmp esi, ebx
mov byte [esp + 0x28c], 1
mov dword [esp + 0x4c], eax
je 0x4a63c1
mov ecx, esi
shr ecx, 0x10
jne 0x4a6395
and esi, 0xffff
lea ecx, [esp + 0x4c]
push esi
call fcn.00407b70
jmp 0x4a63c1
push esi
call ebp
mov edi, eax
cmp edi, ebx
je 0x4a63c1
push edi
lea ecx, [esp + 0x50]
call fcn.00402090
test eax, eax
je 0x4a63c1
lea ecx, [edi + edi]
mov edi, dword [esp + 0x4c]
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 esi, dword [str..bmp_.gif_.jpg_.tif_.jpeg_.jpe_.pcd_.bnm_.qti.qtf_.qtif_.tif_.tiff_.tiff]
mov eax, dword [0x50a0e0]
cmp esi, ebx
mov byte [esp + 0x28c], 2
mov dword [esp + 0x44], eax
je 0x4a6421
mov ecx, esi
shr ecx, 0x10
jne 0x4a63f5
and esi, 0xffff
lea ecx, [esp + 0x44]
push esi
call fcn.00407b70
jmp 0x4a6421
push esi
call ebp
mov edi, eax
cmp edi, ebx
je 0x4a6421
push edi
lea ecx, [esp + 0x48]
call fcn.00402090
test eax, eax
je 0x4a6421
lea ecx, [edi + edi]
mov edi, dword [esp + 0x44]
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 [0x50a0e0]
mov dword [esp + 0x10], eax
mov word [esp + 0x24], bx
push str.timeshow
lea ecx, [esp + 0x80]
mov word [esp + 0x80], bx
call fcn.004067a0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x7c]
push ecx
push edx
push str.getAttribute
lea ecx, [esp + 0x60]
mov byte [esp + 0x298], 6
call fcn.004067f0
mov ebp, dword [0x4f936c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x7c]
mov byte [esp + 0x28c], 5
push eax
call ebp
mov eax, dword [esp + 0x50]
mov edi, 8
cmp eax, ebx
jl 0x4a64ed
cmp word [esp + 0x24], di
jne 0x4a64ed
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4a64ed
push eax
lea ecx, [esp + 0x38]
call fcn.00406b10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x290], 7
call fcn.004022b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x28c], 5
call fcn.004021d0
lea ecx, [esp + 0x10]
call fcn.00407ab0
lea ecx, [esp + 0x10]
call fcn.004079c0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004dd24b
add esp, 4
mov esi, eax
jmp 0x4a64f0
or esi, 0xffffffff
lea edx, [esp + 0x24]
push edx
call ebp
lea ecx, [esp + 0x10]
call fcn.004021d0
cmp esi, ebx
mov dword [esp + 0x74], esi
jge 0x4a6510
mov dword [esp + 0x74], 1
mov eax, dword [0x50a0e0]
mov dword [esp + 0x10], eax
mov word [esp + 0x24], bx
push str.titleshow
lea ecx, [esp + 0x80]
mov word [esp + 0x80], bx
call fcn.004067a0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x7c]
push ecx
push edx
push str.getAttribute
lea ecx, [esp + 0x60]
mov byte [esp + 0x298], 0xa
call fcn.004067f0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x290], 9
call ebp
cmp dword [esp + 0x50], ebx
jl 0x4a65cf
cmp word [esp + 0x24], di
jne 0x4a65cf
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4a65cf
push eax
lea ecx, [esp + 0x38]
call fcn.00406b10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x290], 0xb
call fcn.004022b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x28c], 9
call fcn.004021d0
lea ecx, [esp + 0x10]
call fcn.00407ab0
lea ecx, [esp + 0x10]
call fcn.004079c0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004dd24b
add esp, 4
mov esi, eax
jmp 0x4a65d2
or esi, 0xffffffff
lea edx, [esp + 0x24]
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x28c], 3
call fcn.004021d0
cmp esi, ebx
mov dword [esp + 0x5c], esi
jge 0x4a65fa
mov dword [esp + 0x5c], 4
mov esi, dword [esp + 0x294]
cmp dword [esi + 0xb0], ebx
jne 0x4a761c
mov eax, dword [esp + 0x38]
lea edi, [eax + 4]
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xac]
cmp ecx, eax
je 0x4a761c
lea ecx, [esp + 0x260]
call fcn.004c2a60
lea ecx, [esp + 0x28]
call fcn.004272c0
mov edx, dword [0x50a0e0]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x294]
lea ecx, [esp + 0x64]
mov esi, dword [eax + 0x108]
call fcn.004272c0
push str.item
lea ecx, [esp + 0x80]
mov word [esp + 0x80], bx
call fcn.004067a0
lea ecx, [esp + 0x64]
lea edx, [esp + 0x7c]
push ecx
push edx
push str.createElement
lea ecx, [esi + 4]
mov byte [esp + 0x298], 0x10
call fcn.00407e00
mov dword [esi + 8], eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x290], 0xf
call ebp
cmp dword [esi + 8], ebx
jl 0x4a66c1
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x4a66c1
push eax
lea ecx, [esp + 0x2c]
call fcn.00407de0
lea ecx, [esp + 0x64]
mov byte [esp + 0x28c], 0xe
call fcn.004282a0
mov eax, dword [edi]
lea ecx, [esp + 0x240]
push eax
mov word [esp + 0x244], bx
call fcn.004067a0
push 0x50b4d8
lea ecx, [esp + 0x114]
mov word [esp + 0x114], bx
call fcn.004067a0
lea ecx, [esp + 0x240]
push ebx
lea edx, [esp + 0x114]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x12
call fcn.00406870
mov dword [esp + 0x24], eax
lea eax, [esp + 0x110]
push eax
call ebp
lea ecx, [esp + 0x240]
mov byte [esp + 0x28c], 0xe
push ecx
call ebp
mov eax, dword [edi]
push ecx
mov dword [esp + 0x64], esp
mov ecx, esp
cmp dword [eax - 0xc], ebx
jl 0x4a6765
mov dword [ecx], eax
add eax, 0xfffffff4
push eax
call dword [0x4f9310]
jmp 0x4a6775
mov edx, dword [0x50a0e0]
mov dword [ecx], edx
mov eax, dword [edi]
push eax
call fcn.00406d00
lea ecx, [esp + 0x264]
call fcn.004c2b90
cmp eax, ebx
mov eax, dword [0x50a0e0]
je 0x4a6c4c
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
or eax, 0xffffffff
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], 4
mov dword [esp + 0xa8], 0x17
lea ecx, [esp + 0x90]
mov byte [esp + 0x28c], 0x13
push ecx
lea ecx, [esp + 0x264]
call fcn.004c3460
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0xf0]
push edx
mov word [esp + 0xf4], bx
call fcn.004067a0
push str.author
lea ecx, [esp + 0x234]
mov word [esp + 0x234], bx
call fcn.004067a0
lea eax, [esp + 0xf0]
push ebx
lea ecx, [esp + 0x234]
push eax
push ecx
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x15
call fcn.00406870
lea edx, [esp + 0x230]
mov dword [esp + 0x24], eax
push edx
call ebp
lea eax, [esp + 0xf0]
push eax
call ebp
mov ecx, dword [esp + 0x98]
mov word [esp + 0xc0], bx
push ecx
lea ecx, [esp + 0xc4]
call fcn.004067a0
push str.special
lea ecx, [esp + 0x1b4]
mov word [esp + 0x1b4], bx
call fcn.004067a0
lea edx, [esp + 0xc0]
push ebx
lea eax, [esp + 0x1b4]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x17
call fcn.00406870
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x24], eax
push ecx
call ebp
lea edx, [esp + 0xc0]
push edx
call ebp
mov eax, dword [esp + 0x9c]
mov esi, 3
mov word [esp + 0x130], si
mov dword [esp + 0x138], eax
push 0x515fac
lea ecx, [esp + 0x214]
mov word [esp + 0x214], bx
call fcn.004067a0
mov byte [esp + 0x28c], 0x19
push ebx
lea ecx, [esp + 0x134]
lea edx, [esp + 0x214]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x38]
call fcn.00406870
mov dword [esp + 0x24], eax
lea eax, [esp + 0x210]
push eax
call ebp
lea ecx, [esp + 0x130]
push ecx
call ebp
mov edx, dword [esp + 0xa0]
mov word [esp + 0x150], si
mov dword [esp + 0x158], edx
push str.bits
lea ecx, [esp + 0x1d4]
mov word [esp + 0x1d4], bx
call fcn.004067a0
lea eax, [esp + 0x150]
push ebx
lea ecx, [esp + 0x1d4]
push eax
push ecx
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x1b
call fcn.00406870
lea edx, [esp + 0x1d0]
mov dword [esp + 0x24], eax
push edx
call ebp
lea eax, [esp + 0x150]
push eax
call ebp
mov ecx, dword [esp + 0xa8]
mov word [esp + 0x170], si
mov dword [esp + 0x178], ecx
push str.format
lea ecx, [esp + 0x254]
mov word [esp + 0x254], bx
call fcn.004067a0
lea edx, [esp + 0x170]
push ebx
lea eax, [esp + 0x254]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x1d
call fcn.00406870
lea ecx, [esp + 0x250]
mov dword [esp + 0x24], eax
push ecx
call ebp
lea edx, [esp + 0x170]
push edx
call ebp
mov eax, dword [esp + 0xa4]
mov word [esp + 0x190], si
mov dword [esp + 0x198], eax
push str.type
lea ecx, [esp + 0x1f4]
mov word [esp + 0x1f4], bx
call fcn.004067a0
lea ecx, [esp + 0x190]
push ebx
lea edx, [esp + 0x1f4]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x1f
call fcn.00406870
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1f0]
push eax
call ebp
lea ecx, [esp + 0x190]
mov byte [esp + 0x28c], 0x13
push ecx
call ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x90]
cmp ecx, eax
je 0x4a6ae7
cmp dword [ecx - 0xc], ebx
jge 0x4a6ab4
mov edx, dword [0x50a0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a6ab9
cmp dword [eax - 0xc], ebx
jge 0x4a6ac9
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00402200
jmp 0x4a6ae7
lea ecx, [esp + 0x14]
call fcn.004020f0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [0x4f9310]
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebx
jne 0x4a6ba8
mov eax, dword [edi]
push 0x5c
push eax
call fcn.004dd29d
add esp, 8
cmp eax, ebx
jne 0x4a6b0a
or ecx, 0xffffffff
jmp 0x4a6b10
sub eax, dword [edi]
sar eax, 1
mov ecx, eax
mov edx, dword [edi]
mov eax, dword [edx - 8]
sub eax, ecx
mov ecx, edi
dec eax
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00407130
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
mov byte [esp + 0x28c], 0x20
je 0x4a6b79
cmp dword [ecx - 0xc], ebx
jge 0x4a6b4b
mov edx, dword [0x50a0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a6b50
cmp dword [eax - 0xc], ebx
jge 0x4a6b60
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402200
jmp 0x4a6b79
lea ecx, [esp + 0x14]
call fcn.004020f0
mov esi, dword [esi]
mov dword [esp + 0x14], esi
add esi, 0xfffffff4
push esi
call dword [0x4f9310]
mov eax, dword [esp + 0x70]
mov ecx, dword [0x50a0e4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a6ba8
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4a6ba8
mov eax, dword [esp + 0x70]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov ecx, dword [esp + 0x14]
mov word [esp + 0xe0], bx
push ecx
lea ecx, [esp + 0xe4]
call fcn.004067a0
push str.title
lea ecx, [esp + 0xd4]
mov word [esp + 0xd4], bx
call fcn.004067a0
lea edx, [esp + 0xe0]
push ebx
lea eax, [esp + 0xd4]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x22
call fcn.00406870
lea ecx, [esp + 0xd0]
mov dword [esp + 0x24], eax
push ecx
call ebp
lea edx, [esp + 0xe0]
push edx
call ebp
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0x98]
mov byte [esp + 0x28c], 0xe
call fcn.004021d0
lea ecx, [esp + 0x94]
call fcn.004021d0
lea ecx, [esp + 0x90]
jmp 0x4a71ab
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push 0x2e
push eax
mov byte [esp + 0x294], 0x23
call fcn.004dd29d
add esp, 8
cmp eax, ebx
je 0x4a6c7a
mov ecx, dword [edi]
sub eax, ecx
sar eax, 1
mov edx, eax
cmp edx, 0xffffffff
jne 0x4a6d11
mov word [esp + 0x120], 3
mov dword [esp + 0x128], 4
push str.type
lea ecx, [esp + 0x104]
mov word [esp + 0x104], bx
call fcn.004067a0
lea ecx, [esp + 0x120]
push ebx
lea edx, [esp + 0x104]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x25
call fcn.00406870
mov dword [esp + 0x24], eax
lea eax, [esp + 0x100]
push eax
call ebp
lea ecx, [esp + 0x120]
mov byte [esp + 0x28c], 0x23
push ecx
call ebp
mov eax, dword [edi]
push 0x5c
push eax
call fcn.004dd29d
add esp, 8
cmp eax, ebx
jne 0x4a6ff2
mov dword [esp + 0x18], 0xffffffff
jmp 0x4a6ffa
mov eax, dword [ecx - 8]
mov ecx, edi
sub eax, edx
lea edx, [esp + 0x6c]
dec eax
push eax
push edx
call fcn.00407130
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
mov byte [esp + 0x28c], 0x26
je 0x4a6d78
cmp dword [ecx - 0xc], ebx
jge 0x4a6d4a
mov edx, dword [0x50a0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a6d4f
cmp dword [eax - 0xc], ebx
jge 0x4a6d5f
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x24]
call fcn.00402200
jmp 0x4a6d78
lea ecx, [esp + 0x1c]
call fcn.004020f0
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
add esi, 0xfffffff4
push esi
call dword [0x4f9310]
mov eax, dword [esp + 0x6c]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x28c], 0x23
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6daf
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4a6daf
mov edx, dword [esp + 0x6c]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00408910
mov eax, dword [esp + 0x1c]
push eax
call dword [0x4f94ec]
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
lea ecx, [esp + 0x50]
call fcn.004147e0
cmp eax, 0xffffffff
jle 0x4a6e4f
mov word [esp + 0x160], 3
mov dword [esp + 0x168], 1
push str.type
lea ecx, [esp + 0x144]
mov word [esp + 0x144], bx
call fcn.004067a0
lea edx, [esp + 0x160]
push ebx
lea eax, [esp + 0x144]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x28
call fcn.00406870
lea ecx, [esp + 0x140]
mov dword [esp + 0x24], eax
push ecx
call ebp
lea edx, [esp + 0x160]
mov byte [esp + 0x28c], 0x23
push edx
jmp 0x4a6fd5
mov eax, dword [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.004147e0
cmp eax, 0xffffffff
jle 0x4a6eda
mov word [esp + 0x1a0], 3
mov dword [esp + 0x1a8], 2
push str.type
lea ecx, [esp + 0x184]
mov word [esp + 0x184], bx
call fcn.004067a0
lea ecx, [esp + 0x1a0]
push ebx
lea edx, [esp + 0x184]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x2a
call fcn.00406870
mov dword [esp + 0x24], eax
lea eax, [esp + 0x180]
push eax
call ebp
mov byte [esp + 0x28c], 0x23
lea ecx, [esp + 0x1a0]
jmp 0x4a6fd4
mov edx, dword [esp + 0x1c]
push ebx
push edx
lea ecx, [esp + 0x4c]
call fcn.004147e0
cmp eax, 0xffffffff
jle 0x4a6f62
mov eax, 3
mov word [esp + 0x1e0], ax
mov dword [esp + 0x1e8], eax
push str.type
lea ecx, [esp + 0x1c4]
mov word [esp + 0x1c4], bx
call fcn.004067a0
lea eax, [esp + 0x1e0]
push ebx
lea ecx, [esp + 0x1c4]
push eax
push ecx
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x2c
call fcn.00406870
lea edx, [esp + 0x1c0]
mov dword [esp + 0x24], eax
push edx
call ebp
lea eax, [esp + 0x1e0]
mov byte [esp + 0x28c], 0x23
push eax
jmp 0x4a6fd5
mov word [esp + 0x220], 3
mov dword [esp + 0x228], 4
push str.type
lea ecx, [esp + 0x204]
mov word [esp + 0x204], bx
call fcn.004067a0
lea ecx, [esp + 0x220]
push ebx
lea edx, [esp + 0x204]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 0x2e
call fcn.00406870
mov dword [esp + 0x24], eax
lea eax, [esp + 0x200]
push eax
call ebp
mov byte [esp + 0x28c], 0x23
lea ecx, [esp + 0x220]
push ecx
call ebp
mov eax, dword [edi]
push 0x5c
push eax
call fcn.004dd29d
add esp, 8
cmp eax, ebx
jne 0x4a6ff2
mov dword [esp + 0x18], 0xffffffff
jmp 0x4a6ffa
sub eax, dword [edi]
sar eax, 1
mov dword [esp + 0x18], eax
lea edx, [esp + 0x78]
push 4
push edx
mov ecx, edi
call fcn.004072a0
mov esi, dword [str.ftp:httprtspmms:]
mov eax, dword [0x50a0e0]
cmp esi, ebx
mov byte [esp + 0x28c], 0x2f
mov dword [esp + 0x40], eax
je 0x4a7078
mov ecx, esi
shr ecx, 0x10
jne 0x4a703c
and esi, 0xffff
lea ecx, [esp + 0x40]
push esi
call fcn.00407b70
jmp 0x4a7078
push esi
call dword [0x4f9318]
cmp eax, ebx
mov dword [esp + 0x60], eax
je 0x4a7078
mov edx, eax
lea ecx, [esp + 0x40]
push edx
call fcn.00402090
test eax, eax
je 0x4a7078
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x40]
lea ecx, [eax + eax]
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 edi, dword [esp + 0x34]
mov eax, dword [esp + 0x78]
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x294], 0x30
call fcn.004147e0
test eax, eax
jl 0x4a70d7
push 0x2f
mov ecx, edi
call fcn.0044c330
mov ecx, dword [edi]
lea edx, [esp + 0xb8]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
mov ecx, edi
call fcn.00407130
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x290], 0x31
call fcn.004022b0
mov byte [esp + 0x28c], 0x30
lea ecx, [esp + 0xb8]
jmp 0x4a7114
mov eax, dword [edi]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xb0]
mov eax, dword [eax - 8]
sub eax, edx
dec eax
push eax
push ecx
mov ecx, edi
call fcn.00407130
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x290], 0x32
call fcn.004022b0
mov byte [esp + 0x28c], 0x30
lea ecx, [esp + 0xb0]
call fcn.004021d0
lea ecx, [esp + 0x1c]
call fcn.004069f0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
push str.title
call fcn.00408090
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push str.author
call fcn.00408090
mov ecx, dword [esp + 0x1c]
push ecx
push str.special
lea ecx, [esp + 0x2c]
call fcn.00408090
push 0xffffffffffffffff
push 0x515fac
lea ecx, [esp + 0x2c]
call fcn.00408260
push 0xffffffffffffffff
push str.bits
lea ecx, [esp + 0x2c]
call fcn.00408260
push 0x17
push str.format
lea ecx, [esp + 0x2c]
call fcn.00408260
lea ecx, [esp + 0x40]
xor esi, esi
call fcn.004021d0
lea ecx, [esp + 0x78]
call fcn.004021d0
mov byte [esp + 0x28c], 0xe
lea ecx, [esp + 0x1c]
call fcn.004021d0
lea edx, [esp + 0x20]
push str.title
push edx
lea ecx, [esp + 0x2c]
call fcn.004083f0
lea eax, [esp + 0x58]
push str.author
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x294], 0x33
call fcn.004083f0
lea ecx, [esp + 0x10]
push 0x50b4d8
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x294], 0x34
call fcn.004083f0
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x28c], 0x35
cmp eax, ebx
jne 0x4a725f
mov eax, dword [esp + 0x58]
cmp dword [eax - 8], ebx
je 0x4a7446
mov edx, dword [0x50a0e0]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push eax
push str._s____s
push edx
mov byte [esp + 0x29c], 0x36
call fcn.004073f0
add esp, 0x10
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call fcn.004022b0
mov byte [esp + 0x28c], 0x35
lea ecx, [esp + 0x18]
jmp 0x4a7441
mov eax, dword [esp + 0x5c]
cmp eax, 1
jne 0x4a72be
mov eax, dword [esp + 0x58]
cmp dword [eax - 8], ebx
je 0x4a7446
mov ecx, dword [0x50a0e0]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x20]
push eax
push edx
lea eax, [esp + 0x20]
push str._s____s
push eax
mov byte [esp + 0x29c], 0x37
call fcn.004073f0
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.004022b0
mov byte [esp + 0x28c], 0x35
lea ecx, [esp + 0x18]
jmp 0x4a7441
cmp eax, 2
je 0x4a7446
push str.type
lea ecx, [esp + 0x28]
call fcn.00408630
cmp dword [esp + 0x5c], 4
jne 0x4a7337
cmp eax, 2
jne 0x4a7337
mov eax, dword [esp + 0x58]
cmp dword [eax - 8], ebx
je 0x4a7446
mov edx, dword [0x50a0e0]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push eax
push str._s____s
push edx
mov byte [esp + 0x29c], 0x38
call fcn.004073f0
add esp, 0x10
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call fcn.004022b0
mov byte [esp + 0x28c], 0x35
lea ecx, [esp + 0x18]
jmp 0x4a7441
lea ecx, [esp + 0x68]
push 4
push ecx
lea ecx, [esp + 0x18]
call fcn.004072a0
mov edx, dword [str.ftp:httprtspmms:]
lea ecx, [esp + 0x8c]
push edx
mov byte [esp + 0x290], 0x39
call fcn.00406b10
mov eax, dword [esp + 0x68]
push ebx
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x294], 0x3a
call fcn.004147e0
test eax, eax
jl 0x4a73d3
push 0x2f
lea ecx, [esp + 0x14]
call fcn.0044c330
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], eax
call fcn.004069f0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xb4]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x34]
sub eax, ecx
lea ecx, [esp + 0x10]
dec eax
push eax
push edx
call fcn.00407130
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 0x3b
call fcn.004022b0
lea ecx, [esp + 0xb4]
jmp 0x4a7424
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0044c330
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], eax
call fcn.004069f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [esp + 0xbc]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00407130
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 0x3c
call fcn.004022b0
lea ecx, [esp + 0xbc]
call fcn.004021d0
lea ecx, [esp + 0x8c]
call fcn.004021d0
mov byte [esp + 0x28c], 0x35
lea ecx, [esp + 0x68]
call fcn.004021d0
lea ecx, [esp + 0x14]
call fcn.004069f0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
push edx
call fcn.004022b0
lea ecx, [esp + 0x10]
call fcn.004021d0
lea ecx, [esp + 0x58]
call fcn.004021d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x28c], 0xe
call fcn.004021d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x298]
mov edx, dword [ecx]
push 1
mov ecx, dword [eax + 0xc8]
push edx
call fcn.004bb000
cmp esi, ebx
jle 0x4a7581
mov ecx, dword [0x50a0e0]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x74]
mov byte [esp + 0x28c], 0x3d
cmp eax, ebx
jne 0x4a751d
mov eax, esi
cmp esi, 0xe10
cdq
mov ecx, 0x3c
jle 0x4a7525
idiv ecx
mov eax, esi
mov ecx, 0xe10
push edx
cdq
idiv ecx
mov eax, 0x88888889
mov ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x91a2b3c5
push edx
imul esi
add edx, esi
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x48]
push str._02d:_02d:_02d
push edx
call fcn.004073f0
add esp, 0x14
jmp 0x4a754e
mov eax, esi
mov ecx, 0x3c
cdq
idiv ecx
mov eax, 0x88888889
lea ecx, [esp + 0x3c]
push edx
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push str._02d:_02d
push ecx
call fcn.004073f0
add esp, 0x10
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x294]
push edx
mov eax, dword [esi]
push 2
mov ecx, dword [ecx + 0xc8]
push eax
call fcn.004bb000
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28c], 0xe
call fcn.004021d0
jmp 0x4a7585
mov esi, dword [esp + 0x38]
mov eax, dword [edi]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x298]
push 3
push edx
mov ecx, dword [eax + 0xc8]
call fcn.004bb000
mov ecx, dword [esi]
mov edx, dword [esp + 0x294]
push 0x50a1e8
push 4
push ecx
mov ecx, dword [edx + 0xc8]
call fcn.004bb000
lea eax, [esp + 0x24]
lea ecx, [esp + 0x50]
push eax
call fcn.00409940
lea ecx, [esp + 0x14]
call fcn.004021d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28c], 0xc
call fcn.004282a0
lea ecx, [esp + 0x260]
mov byte [esp + 0x28c], 3
call fcn.004c2ad0
mov ecx, dword [esp + 0x294]
add esi, 8
add edi, 8
mov dword [esp + 0x38], esi
mov eax, dword [ecx + 0xb0]
mov dword [esp + 0x34], edi
cmp eax, ebx
mov esi, ecx
je 0x4a6618
mov ecx, dword [esi + 0x108]
push ebx
call fcn.00402b80
lea ecx, [esi + 0x118]
call fcn.004bbcf0
mov edx, dword [esi + 0x128]
mov dword [esi + 0x114], ebx
push edx
call dword [0x4f92d4]
lea ecx, [esp + 0x44]
call fcn.004021d0
lea ecx, [esp + 0x4c]
call fcn.004021d0
lea ecx, [esp + 0x48]
call fcn.004021d0
lea ecx, [esp + 0x54]
mov dword [esp + 0x28c], 0xffffffff
call fcn.004282a0
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x280
ret