Function at 0x402550
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x409017
push eax
mov eax, 0x125c
mov dword fs:[0], esp
call fcn.00403b40
push ebp
push esi
push edi
push 0x40fdb4
push 0x80000000
lea ecx, [esp + 0x424]
call fcn.00403290
mov ebp, dword [esp + 0x1278]
mov dword [esp + 0x1270], 0
mov esi, 0x40b044
mov eax, dword [esi + 0x18]
test eax, eax
je 0x402731
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x214]
mov edx, dword [esi - 4]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x318]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
lea eax, [esp + 0x214]
push 0x104
push eax
push ecx
push edx
lea ecx, [esp + 0x42c]
call fcn.004032d0
test eax, eax
jne 0x40265b
mov ecx, dword [esi - 4]
lea eax, [esp + 0x214]
push 0x104
push eax
push 0
push ecx
lea ecx, [esp + 0x42c]
call fcn.004032d0
test eax, eax
je 0x40265b
mov al, byte [esp + 0x214]
test al, al
je 0x40265b
mov eax, dword [esi + 4]
lea edx, [esp + 0x214]
push edx
push eax
call fcn.00403b6f
add esp, 8
test eax, eax
je 0x40265b
mov ecx, dword [esi]
mov edx, dword [esi - 4]
lea eax, [esp + 0x214]
push eax
push ecx
push edx
lea ecx, [esp + 0x428]
call fcn.00403550
mov eax, dword [esi + 4]
mov ecx, dword [esi - 4]
push eax
push 0
push ecx
lea ecx, [esp + 0x428]
call fcn.00403550
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x110]
push edx
push ebp
push str._s__d
push eax
call fcn.0040362b
mov ecx, dword [esi + 4]
add esp, 0x10
lea edx, [esp + 0x318]
push ecx
push str._sDefaultIcon
push edx
call fcn.0040362b
add esp, 0xc
lea eax, [esp + 0x110]
lea ecx, [esp + 0x318]
push eax
push 0
push ecx
lea ecx, [esp + 0x428]
call fcn.00403550
mov edx, dword [esi + 8]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x318]
rep stosd dword es:[edi], eax
push edx
push ebp
lea eax, [esp + 0x118]
push str.__s____s____1_
push eax
call fcn.0040362b
mov ecx, dword [esi + 4]
add esp, 0x10
lea edx, [esp + 0x318]
push ecx
push str._s_shellopencommand
push edx
call fcn.0040362b
add esp, 0xc
lea eax, [esp + 0x110]
lea ecx, [esp + 0x318]
push eax
push 0
push ecx
lea ecx, [esp + 0x428]
call fcn.00403550
add esi, 0x20
cmp esi, 0x40bfa4
jl 0x40259f
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0x40fdb4
push 0x80000000
lea ecx, [esp + 0xc4c]
call fcn.00403290
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x628]
lea edx, [esp + 0x628]
push 0x208
push edx
rep stosd dword es:[edi], eax
push eax
push str.SoftwareRealNetworksPreferencesDT_Codecs
lea ecx, [esp + 0xc54]
mov byte [esp + 0x1280], 1
call fcn.004032d0
test eax, eax
jne 0x4027e4
mov ecx, 0x41
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
push str.C:_temp_nsj1F.tmp_
lea eax, [esp + 0x10]
push str._sCodecs_
push eax
call fcn.0040362b
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0
push str.SoftwareRealNetworksPreferencesDT_Codecs
lea ecx, [esp + 0xc50]
call fcn.00403550
jmp 0x402897
lea edx, [esp + 0x628]
push str.QvodPlayer
push edx
call fcn.00403a52
add esp, 8
test eax, eax
jne 0x402897
mov ecx, 0x82
lea edi, [esp + 0xa3c]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x628]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
cmp byte [esp + ecx + 0x628], 0x5c
jne 0x402841
lea eax, [esp + 0x628]
lea ecx, [esp + 0xa3c]
push eax
push str._scook.dll
push ecx
jmp 0x402856
lea edx, [esp + 0x628]
lea eax, [esp + 0xa3c]
push edx
push 0x40d44c
push eax
call fcn.0040362b
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
add esp, 0xc
rep stosd dword es:[edi], eax
push str.C:_temp_nsj1F.tmp_
lea ecx, [esp + 0x10]
push str._sCodecscook.dll
push ecx
call fcn.0040362b
add esp, 0xc
lea edx, [esp + 0xa3c]
lea eax, [esp + 0xc]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x40fdb4
push 0x80000002
lea ecx, [esp + 0x838]
call fcn.00403290
mov ecx, dword [str.application_QVOD]
mov edx, dword [str.qvod]
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsAccepted_Documents]
push ecx
push edx
push eax
lea ecx, [esp + 0x83c]
mov byte [esp + 0x127c], 2
call fcn.00403550
mov ecx, dword [str.application_QVOD]
mov edx, dword [str.qhtp]
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsAccepted_Documents]
push ecx
push edx
push eax
lea ecx, [esp + 0x83c]
call fcn.00403550
mov ecx, dword [str.R31CND_QVOD]
mov edx, dword [str.SOFTWAREClassesSoftwareRealNetworksRealPlayer6.0PreferencesDistCode]
push ecx
push 0
push edx
lea ecx, [esp + 0x83c]
call fcn.00403550
push 0x40fdb4
push 0x80000000
lea ecx, [esp + 0xe58]
call fcn.00403290
mov eax, dword [0x40c020]
mov ecx, dword [0x40c01c]
push eax
push 0
push ecx
lea ecx, [esp + 0xe5c]
mov byte [esp + 0x127c], 3
call fcn.00403550
mov edx, dword [0x40c018]
mov eax, dword [str.._tv]
push edx
push 0
push eax
lea ecx, [esp + 0xe5c]
call fcn.00403550
push 0x40fdb4
push 0x80000000
lea ecx, [esp + 0x1064]
call fcn.00403290
mov ecx, dword [0x40c028]
mov edx, dword [str..mem]
push ecx
push 0
push edx
lea ecx, [esp + 0x1068]
mov byte [esp + 0x127c], 4
call fcn.00403550
push 1
call fcn.00402a30
add esp, 4
lea ecx, [esp + 0x105c]
mov byte [esp + 0x1270], 3
call fcn.004032c0
lea ecx, [esp + 0xe50]
mov byte [esp + 0x1270], 2
call fcn.004032c0
lea ecx, [esp + 0x830]
mov byte [esp + 0x1270], 1
call fcn.004032c0
lea ecx, [esp + 0xc44]
mov byte [esp + 0x1270], 0
call fcn.004032c0
lea ecx, [esp + 0x41c]
mov dword [esp + 0x1270], 0xffffffff
call fcn.004032c0
mov eax, 1
mov ecx, dword [esp + 0x1268]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1268
ret