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

Disassembly:
push 0xffffffffffffffff
push 0x4f69a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x288]
lea ecx, [esp + 0x58]
mov esi, dword [edi + 0x10c]
call fcn.00427790
xor ebp, ebp
lea eax, [esp + 0x54]
push ebp
push eax
push esi
mov ecx, edi
mov dword [esp + 0x28c], ebp
call fcn.004a9f10
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 ecx, dword [edi + 0x11c]
mov edx, dword [edi + 0x120]
mov eax, dword [0x50d0e0]
cmp esi, ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0x38], eax
je 0x4a71b1
mov ecx, esi
shr ecx, 0x10
jne 0x4a717f
and esi, 0xffff
lea ecx, [esp + 0x38]
push esi
call fcn.00407b60
jmp 0x4a71b1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
cmp ebx, ebp
je 0x4a71b1
push ebx
lea ecx, [esp + 0x3c]
call fcn.00402190
test eax, eax
je 0x4a71b1
mov ecx, dword [esp + 0x38]
lea edx, [ebx + ebx]
push edx
lea eax, [ebx + ebx + 2]
push esi
push eax
push ecx
call fcn.00402060
add esp, 0x10
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 edx, dword [0x50d0e0]
cmp esi, ebp
mov byte [esp + 0x280], 1
mov dword [esp + 0x34], edx
je 0x4a7218
mov eax, esi
shr eax, 0x10
jne 0x4a71e6
and esi, 0xffff
lea ecx, [esp + 0x34]
push esi
call fcn.00407b60
jmp 0x4a7218
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
cmp ebx, ebp
je 0x4a7218
push ebx
lea ecx, [esp + 0x38]
call fcn.00402190
test eax, eax
je 0x4a7218
mov eax, dword [esp + 0x34]
lea ecx, [ebx + ebx]
push ecx
lea edx, [ebx + ebx + 2]
push esi
push edx
push eax
call fcn.00402060
add esp, 0x10
mov esi, dword [str..bmp_.gif_.jpg_.tif_.jpeg_.jpe_.pcd_.bnm_.qti.qtf_.qtif_.tif_.tiff_.tiff]
mov ecx, dword [0x50d0e0]
cmp esi, ebp
mov byte [esp + 0x280], 2
mov dword [esp + 0x3c], ecx
je 0x4a727f
mov edx, esi
shr edx, 0x10
jne 0x4a724d
and esi, 0xffff
lea ecx, [esp + 0x3c]
push esi
call fcn.00407b60
jmp 0x4a727f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
cmp ebx, ebp
je 0x4a727f
push ebx
lea ecx, [esp + 0x40]
call fcn.00402190
test eax, eax
je 0x4a727f
mov edx, dword [esp + 0x3c]
lea eax, [ebx + ebx]
push eax
lea ecx, [ebx + ebx + 2]
push esi
push ecx
push edx
call fcn.00402060
add esp, 0x10
mov eax, dword [0x50d0e0]
mov dword [esp + 0x14], eax
mov word [esp + 0x20], bp
push str.timeshow
lea ecx, [esp + 0x78]
mov word [esp + 0x78], bp
call fcn.00406940
lea ecx, [esp + 0x20]
lea edx, [esp + 0x74]
push ecx
push edx
push str.getAttribute
lea ecx, [esp + 0x64]
mov byte [esp + 0x28c], 6
call fcn.00406990
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x74]
mov bl, 5
push eax
mov byte [esp + 0x284], bl
call esi
cmp dword [esp + 0x54], ebp
jl 0x4a733f
cmp word [esp + 0x20], 8
jne 0x4a733f
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x4a733f
push eax
lea ecx, [esp + 0x50]
call fcn.00406b50
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 7
call fcn.00402090
lea ecx, [esp + 0x4c]
mov byte [esp + 0x280], bl
call fcn.00402160
lea ecx, [esp + 0x14]
call fcn.00407410
lea ecx, [esp + 0x14]
call fcn.00407310
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004debd7
add esp, 4
mov ebx, eax
jmp 0x4a7342
or ebx, 0xffffffff
lea edx, [esp + 0x20]
push edx
call esi
lea ecx, [esp + 0x14]
call fcn.00402160
cmp ebx, ebp
mov dword [esp + 0x4c], ebx
jge 0x4a7362
mov dword [esp + 0x4c], 1
mov eax, dword [0x50d0e0]
mov dword [esp + 0x14], eax
mov word [esp + 0x20], bp
push str.titleshow
lea ecx, [esp + 0x78]
mov word [esp + 0x78], bp
call fcn.00406940
lea ecx, [esp + 0x20]
lea edx, [esp + 0x74]
push ecx
push edx
push str.getAttribute
lea ecx, [esp + 0x64]
mov byte [esp + 0x28c], 0xa
call fcn.00406990
mov dword [esp + 0x54], eax
lea eax, [esp + 0x74]
mov bl, 9
push eax
mov byte [esp + 0x284], bl
call esi
cmp dword [esp + 0x54], ebp
jl 0x4a741c
cmp word [esp + 0x20], 8
jne 0x4a741c
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x4a741c
push eax
lea ecx, [esp + 0x4c]
call fcn.00406b50
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 0xb
call fcn.00402090
lea ecx, [esp + 0x48]
mov byte [esp + 0x280], bl
call fcn.00402160
lea ecx, [esp + 0x14]
call fcn.00407410
lea ecx, [esp + 0x14]
call fcn.00407310
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004debd7
add esp, 4
mov ebx, eax
jmp 0x4a741f
or ebx, 0xffffffff
lea edx, [esp + 0x20]
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 3
call fcn.00402160
cmp ebx, ebp
mov dword [esp + 0x50], ebx
jge 0x4a7447
mov dword [esp + 0x50], 4
cmp dword [edi + 0xb0], ebp
jne 0x4a8421
mov eax, dword [esp + 0x30]
lea ebx, [eax + 4]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xac]
cmp ecx, eax
je 0x4a8421
lea ecx, [esp + 0x254]
call fcn.004c3850
lea ecx, [esp + 0x24]
call fcn.00427790
mov edx, dword [0x50d0e0]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x5c]
mov edi, dword [eax + 0x108]
call fcn.00427790
push str.item
lea ecx, [esp + 0x78]
mov word [esp + 0x78], bp
call fcn.00406940
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x74]
push ecx
push edx
push str.createElement
lea ecx, [edi + 4]
mov byte [esp + 0x28c], 0x10
call fcn.004080f0
mov dword [edi + 8], eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x284], 0xf
call esi
cmp dword [edi + 8], ebp
jl 0x4a74fd
mov eax, dword [esp + 0x5c]
cmp eax, ebp
je 0x4a74fd
push eax
lea ecx, [esp + 0x28]
call fcn.004080d0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x280], 0xe
call fcn.0042ca10
mov eax, dword [ebx]
lea ecx, [esp + 0x234]
push eax
mov word [esp + 0x238], bp
call fcn.00406940
push 0x50e548
lea ecx, [esp + 0xb8]
mov word [esp + 0xb8], bp
call fcn.00406940
lea ecx, [esp + 0x234]
push ebp
lea edx, [esp + 0xb8]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x12
call fcn.00406a10
mov dword [esp + 0x20], eax
lea eax, [esp + 0xb4]
push eax
call esi
lea ecx, [esp + 0x234]
mov byte [esp + 0x280], 0xe
push ecx
call esi
mov eax, dword [ebx]
push ecx
mov dword [esp + 0x14], esp
mov ecx, esp
cmp dword [eax - 0xc], ebp
jl 0x4a75a1
mov dword [ecx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4a75b1
mov edx, dword [0x50d0e0]
mov dword [ecx], edx
mov eax, dword [ebx]
push eax
call fcn.00406e00
lea ecx, [esp + 0x258]
call fcn.004c3980
cmp eax, ebp
mov eax, dword [0x50d0e0]
je 0x4a7a88
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
or eax, 0xffffffff
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], 4
mov dword [esp + 0xa0], 0x17
lea ecx, [esp + 0x88]
mov byte [esp + 0x280], 0x13
push ecx
lea ecx, [esp + 0x258]
call fcn.004c4250
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0xe4]
push edx
mov word [esp + 0xe8], bp
call fcn.00406940
push str.author
lea ecx, [esp + 0x228]
mov word [esp + 0x228], bp
call fcn.00406940
lea eax, [esp + 0xe4]
push ebp
lea ecx, [esp + 0x228]
push eax
push ecx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x15
call fcn.00406a10
lea edx, [esp + 0x224]
mov dword [esp + 0x20], eax
push edx
call esi
lea eax, [esp + 0xe4]
push eax
call esi
mov ecx, dword [esp + 0x90]
mov word [esp + 0x104], bp
push ecx
lea ecx, [esp + 0x108]
call fcn.00406940
push str.special
lea ecx, [esp + 0x1a8]
mov word [esp + 0x1a8], bp
call fcn.00406940
lea edx, [esp + 0x104]
push ebp
lea eax, [esp + 0x1a8]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x17
call fcn.00406a10
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x20], eax
push ecx
call esi
lea edx, [esp + 0x104]
push edx
call esi
mov eax, dword [esp + 0x94]
mov edi, 3
mov word [esp + 0x124], di
mov dword [esp + 0x12c], eax
push 0x519544
lea ecx, [esp + 0x208]
mov word [esp + 0x208], bp
call fcn.00406940
mov byte [esp + 0x280], 0x19
push ebp
lea ecx, [esp + 0x128]
lea edx, [esp + 0x208]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x34]
call fcn.00406a10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x204]
push eax
call esi
lea ecx, [esp + 0x124]
push ecx
call esi
mov edx, dword [esp + 0x98]
mov word [esp + 0x144], di
mov dword [esp + 0x14c], edx
push str.bits
lea ecx, [esp + 0x1c8]
mov word [esp + 0x1c8], bp
call fcn.00406940
lea eax, [esp + 0x144]
push ebp
lea ecx, [esp + 0x1c8]
push eax
push ecx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x1b
call fcn.00406a10
lea edx, [esp + 0x1c4]
mov dword [esp + 0x20], eax
push edx
call esi
lea eax, [esp + 0x144]
push eax
call esi
mov ecx, dword [esp + 0xa0]
mov word [esp + 0x164], di
mov dword [esp + 0x16c], ecx
push str.format
lea ecx, [esp + 0x248]
mov word [esp + 0x248], bp
call fcn.00406940
lea edx, [esp + 0x164]
push ebp
lea eax, [esp + 0x248]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x1d
call fcn.00406a10
lea ecx, [esp + 0x244]
mov dword [esp + 0x20], eax
push ecx
call esi
lea edx, [esp + 0x164]
push edx
call esi
mov eax, dword [esp + 0x9c]
mov word [esp + 0x184], di
mov dword [esp + 0x18c], eax
push str.type
lea ecx, [esp + 0x1e8]
mov word [esp + 0x1e8], bp
call fcn.00406940
lea ecx, [esp + 0x184]
push ebp
lea edx, [esp + 0x1e8]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x1f
call fcn.00406a10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1e4]
push eax
call esi
lea ecx, [esp + 0x184]
mov byte [esp + 0x280], 0x13
push ecx
call esi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x88]
cmp ecx, eax
je 0x4a7923
cmp dword [ecx - 0xc], ebp
jge 0x4a78f0
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a78f5
cmp dword [eax - 0xc], ebp
jge 0x4a7905
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.004021f0
jmp 0x4a7923
lea ecx, [esp + 0x18]
call fcn.00402350
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebp
jne 0x4a79e4
mov eax, dword [ebx]
push 0x5c
push eax
call fcn.004dec29
add esp, 8
cmp eax, ebp
jne 0x4a7946
or ecx, 0xffffffff
jmp 0x4a794c
sub eax, dword [ebx]
sar eax, 1
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [edx - 8]
sub eax, ecx
mov ecx, ebx
dec eax
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004071a0
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov byte [esp + 0x280], 0x20
je 0x4a79b5
cmp dword [ecx - 0xc], ebp
jge 0x4a7987
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a798c
cmp dword [eax - 0xc], ebp
jge 0x4a799c
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004021f0
jmp 0x4a79b5
lea ecx, [esp + 0x18]
call fcn.00402350
mov edi, dword [edi]
mov dword [esp + 0x18], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x70]
mov ecx, dword [0x50d0e4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a79e4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a79e4
mov eax, dword [esp + 0x70]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov ecx, dword [esp + 0x18]
mov word [esp + 0xd4], bp
push ecx
lea ecx, [esp + 0xd8]
call fcn.00406940
push str.title
lea ecx, [esp + 0xc8]
mov word [esp + 0xc8], bp
call fcn.00406940
lea edx, [esp + 0xd4]
push ebp
lea eax, [esp + 0xc8]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x22
call fcn.00406a10
lea ecx, [esp + 0xc4]
mov dword [esp + 0x20], eax
push ecx
call esi
lea edx, [esp + 0xd4]
push edx
call esi
mov edi, dword [esp + 0x94]
lea ecx, [esp + 0x90]
mov byte [esp + 0x280], 0xe
call fcn.00402160
lea ecx, [esp + 0x8c]
call fcn.00402160
lea ecx, [esp + 0x88]
jmp 0x4a7fbd
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push 0x2e
push eax
mov byte [esp + 0x288], 0x23
call fcn.004dec29
add esp, 8
cmp eax, ebp
je 0x4a7ab6
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 1
mov edx, eax
cmp edx, 0xffffffff
jne 0x4a7b48
mov word [esp + 0x114], 3
mov dword [esp + 0x11c], 4
push str.type
lea ecx, [esp + 0xf8]
mov word [esp + 0xf8], bp
call fcn.00406940
lea ecx, [esp + 0x114]
push ebp
lea edx, [esp + 0xf8]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x25
call fcn.00406a10
mov dword [esp + 0x20], eax
lea eax, [esp + 0xf4]
push eax
call esi
lea ecx, [esp + 0x114]
mov byte [esp + 0x280], 0x23
push ecx
call esi
mov eax, dword [ebx]
push 0x5c
push eax
call fcn.004dec29
add esp, 8
cmp eax, ebp
jne 0x4a7e24
or edi, 0xffffffff
jmp 0x4a7e2a
mov eax, dword [ecx - 8]
mov ecx, ebx
sub eax, edx
lea edx, [esp + 0x60]
dec eax
push eax
push edx
call fcn.004071a0
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x280], 0x26
je 0x4a7baf
cmp dword [ecx - 0xc], ebp
jge 0x4a7b81
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a7b86
cmp dword [eax - 0xc], ebp
jge 0x4a7b96
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.004021f0
jmp 0x4a7baf
lea ecx, [esp + 0x10]
call fcn.00402350
mov edi, dword [edi]
mov dword [esp + 0x10], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x60]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x280], 0x23
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a7be6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a7be6
mov edx, dword [esp + 0x60]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00408c00
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, dword [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x40]
call fcn.00414af0
cmp eax, 0xffffffff
jle 0x4a7c86
mov word [esp + 0x154], 3
mov dword [esp + 0x15c], 1
push str.type
lea ecx, [esp + 0x138]
mov word [esp + 0x138], bp
call fcn.00406940
lea edx, [esp + 0x154]
push ebp
lea eax, [esp + 0x138]
push edx
push eax
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x28
call fcn.00406a10
lea ecx, [esp + 0x134]
mov dword [esp + 0x20], eax
push ecx
call esi
lea edx, [esp + 0x154]
mov byte [esp + 0x280], 0x23
push edx
jmp 0x4a7e0c
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x3c]
call fcn.00414af0
cmp eax, 0xffffffff
jle 0x4a7d11
mov word [esp + 0x194], 3
mov dword [esp + 0x19c], 2
push str.type
lea ecx, [esp + 0x178]
mov word [esp + 0x178], bp
call fcn.00406940
lea ecx, [esp + 0x194]
push ebp
lea edx, [esp + 0x178]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x2a
call fcn.00406a10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x174]
push eax
call esi
mov byte [esp + 0x280], 0x23
lea ecx, [esp + 0x194]
jmp 0x4a7e0b
mov edx, dword [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x44]
call fcn.00414af0
cmp eax, 0xffffffff
jle 0x4a7d99
mov eax, 3
mov word [esp + 0x1d4], ax
mov dword [esp + 0x1dc], eax
push str.type
lea ecx, [esp + 0x1b8]
mov word [esp + 0x1b8], bp
call fcn.00406940
lea eax, [esp + 0x1d4]
push ebp
lea ecx, [esp + 0x1b8]
push eax
push ecx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x2c
call fcn.00406a10
lea edx, [esp + 0x1b4]
mov dword [esp + 0x20], eax
push edx
call esi
lea eax, [esp + 0x1d4]
mov byte [esp + 0x280], 0x23
push eax
jmp 0x4a7e0c
mov word [esp + 0x214], 3
mov dword [esp + 0x21c], 4
push str.type
lea ecx, [esp + 0x1f8]
mov word [esp + 0x1f8], bp
call fcn.00406940
lea ecx, [esp + 0x214]
push ebp
lea edx, [esp + 0x1f8]
push ecx
push edx
push str.setAttribute
lea ecx, [esp + 0x34]
mov byte [esp + 0x290], 0x2e
call fcn.00406a10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1f4]
push eax
call esi
mov byte [esp + 0x280], 0x23
lea ecx, [esp + 0x214]
push ecx
call esi
mov eax, dword [ebx]
push 0x5c
push eax
call fcn.004dec29
add esp, 8
cmp eax, ebp
jne 0x4a7e24
or edi, 0xffffffff
jmp 0x4a7e2a
sub eax, dword [ebx]
sar eax, 1
mov edi, eax
lea edx, [esp + 0x68]
push 4
push edx
mov ecx, ebx
call fcn.00407030
mov eax, dword [str.ftp:httprtspmms:]
lea ecx, [esp + 0x84]
push eax
mov byte [esp + 0x284], 0x2f
call fcn.00406b50
mov ecx, dword [esp + 0x68]
push ebp
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x288], 0x30
call fcn.00414af0
test eax, eax
mov eax, dword [ebx]
jl 0x4a7eec
push 0x2f
push eax
call fcn.004dec29
add esp, 8
cmp eax, ebp
jne 0x4a7e86
or ecx, 0xffffffff
jmp 0x4a7e8c
sub eax, dword [ebx]
sar eax, 1
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [edx - 8]
sub eax, ecx
mov ecx, ebx
dec eax
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004071a0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0x31
call fcn.00402090
mov eax, dword [esp + 0x6c]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x280], 0x30
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a7f28
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a7f28
mov edx, dword [esp + 0x6c]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
jmp 0x4a7f28
mov eax, dword [eax - 8]
lea ecx, [esp + 0xb0]
sub eax, edi
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.004071a0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0x32
call fcn.00402090
lea ecx, [esp + 0xb0]
mov byte [esp + 0x280], 0x30
call fcn.00402160
lea ecx, [esp + 0x10]
call fcn.00406cd0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
push str.title
call fcn.00408380
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push str.author
call fcn.00408380
mov ecx, dword [esp + 0x10]
push ecx
push str.special
lea ecx, [esp + 0x28]
call fcn.00408380
push 0xffffffffffffffff
push 0x519544
lea ecx, [esp + 0x28]
call fcn.00408550
push 0xffffffffffffffff
push str.bits
lea ecx, [esp + 0x28]
call fcn.00408550
push 0x17
push str.format
lea ecx, [esp + 0x28]
call fcn.00408550
lea ecx, [esp + 0x84]
xor edi, edi
call fcn.00402160
lea ecx, [esp + 0x68]
call fcn.00402160
mov byte [esp + 0x280], 0xe
lea ecx, [esp + 0x10]
call fcn.00402160
lea edx, [esp + 0x1c]
push str.title
push edx
lea ecx, [esp + 0x28]
call fcn.004086e0
lea eax, [esp + 0x44]
push str.author
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x288], 0x33
call fcn.004086e0
lea ecx, [esp + 0x14]
push 0x50e548
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x288], 0x34
call fcn.004086e0
mov eax, dword [esp + 0x50]
mov byte [esp + 0x280], 0x35
cmp eax, ebp
jne 0x4a8071
mov eax, dword [esp + 0x44]
cmp dword [eax - 8], ebp
je 0x4a824f
mov edx, dword [0x50d0e0]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push eax
push str._s____s
push edx
mov byte [esp + 0x290], 0x36
call fcn.004074f0
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call fcn.00402090
mov byte [esp + 0x280], 0x35
lea ecx, [esp + 0x10]
jmp 0x4a824a
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x4a80d0
mov eax, dword [esp + 0x44]
cmp dword [eax - 8], ebp
je 0x4a824f
mov ecx, dword [0x50d0e0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x1c]
push eax
push edx
lea eax, [esp + 0x18]
push str._s____s
push eax
mov byte [esp + 0x290], 0x37
call fcn.004074f0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402090
mov byte [esp + 0x280], 0x35
lea ecx, [esp + 0x10]
jmp 0x4a824a
cmp eax, 2
je 0x4a824f
push str.type
lea ecx, [esp + 0x24]
call fcn.00408910
cmp dword [esp + 0x50], 4
jne 0x4a8149
cmp eax, 2
jne 0x4a8149
mov eax, dword [esp + 0x44]
cmp dword [eax - 8], ebp
je 0x4a824f
mov edx, dword [0x50d0e0]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push eax
push str._s____s
push edx
mov byte [esp + 0x290], 0x38
call fcn.004074f0
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call fcn.00402090
mov byte [esp + 0x280], 0x35
lea ecx, [esp + 0x10]
jmp 0x4a824a
lea ecx, [esp + 0x48]
push 4
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407030
mov edx, dword [str.ftp:httprtspmms:]
lea ecx, [esp + 0x64]
push edx
mov byte [esp + 0x284], 0x39
call fcn.00406b50
mov eax, dword [esp + 0x48]
push ebp
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x288], 0x3a
call fcn.00414af0
test eax, eax
jl 0x4a81df
push 0x2f
lea ecx, [esp + 0x18]
call fcn.0044ca20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.00406cd0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xa4]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x10]
sub eax, ecx
lea ecx, [esp + 0x14]
dec eax
push eax
push edx
call fcn.004071a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0x3b
call fcn.00402090
lea ecx, [esp + 0xa4]
jmp 0x4a8230
push 0x5c
lea ecx, [esp + 0x18]
call fcn.0044ca20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.00406cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [esp + 0xa8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004071a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0x3c
call fcn.00402090
lea ecx, [esp + 0xa8]
call fcn.00402160
lea ecx, [esp + 0x64]
call fcn.00402160
mov byte [esp + 0x280], 0x35
lea ecx, [esp + 0x48]
call fcn.00402160
lea ecx, [esp + 0x18]
call fcn.00406cd0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
push edx
call fcn.00402090
lea ecx, [esp + 0x14]
call fcn.00402160
lea ecx, [esp + 0x44]
call fcn.00402160
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 0xe
call fcn.00402160
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x28c]
mov edx, dword [ecx]
push 1
mov ecx, dword [eax + 0xc8]
push edx
call fcn.004bbef0
cmp edi, ebp
jle 0x4a838a
mov ecx, dword [0x50d0e0]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x280], 0x3d
cmp eax, ebp
jne 0x4a8326
mov eax, edi
cmp edi, 0xe10
cdq
mov ecx, 0x3c
jle 0x4a832e
idiv ecx
mov eax, edi
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 edi
add edx, edi
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x4c]
push str._02d:_02d:_02d
push edx
call fcn.004074f0
add esp, 0x14
jmp 0x4a8357
mov eax, edi
mov ecx, 0x3c
cdq
idiv ecx
mov eax, 0x88888889
lea ecx, [esp + 0x40]
push edx
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push str._02d:_02d
push ecx
call fcn.004074f0
add esp, 0x10
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x288]
push edx
mov eax, dword [edi]
push 2
mov ecx, dword [ecx + 0xc8]
push eax
call fcn.004bbef0
lea ecx, [esp + 0x40]
mov byte [esp + 0x280], 0xe
call fcn.00402160
jmp 0x4a838e
mov edi, dword [esp + 0x30]
mov eax, dword [ebx]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x28c]
push 3
push edx
mov ecx, dword [eax + 0xc8]
call fcn.004bbef0
mov ecx, dword [edi]
mov edx, dword [esp + 0x288]
push 0x50d1e8
push 4
push ecx
mov ecx, dword [edx + 0xc8]
call fcn.004bbef0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
call fcn.00409c30
lea ecx, [esp + 0x18]
call fcn.00402160
lea ecx, [esp + 0x24]
mov byte [esp + 0x280], 0xc
call fcn.0042ca10
lea ecx, [esp + 0x254]
mov byte [esp + 0x280], 3
call fcn.004c38c0
mov ecx, dword [esp + 0x288]
add edi, 8
add ebx, 8
mov dword [esp + 0x30], edi
mov eax, dword [ecx + 0xb0]
mov edi, ecx
cmp eax, ebp
je 0x4a745a
mov ecx, dword [edi + 0x108]
push ebp
call fcn.00402ba0
lea ecx, [edi + 0x118]
call fcn.004bcc70
mov edx, dword [edi + 0x128]
mov dword [edi + 0x114], ebp
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x3c]
call fcn.00402160
lea ecx, [esp + 0x34]
call fcn.00402160
lea ecx, [esp + 0x38]
call fcn.00402160
lea ecx, [esp + 0x58]
mov dword [esp + 0x280], 0xffffffff
call fcn.0042ca10
mov ecx, dword [esp + 0x278]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x274
ret