Function at 0x481570
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5048f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x54c2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xb4]
sub eax, 0x10
call fcn.0045c680
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ebx, str.Corecodecs
mov dword [ebp - 4], 0
call fcn.0045c4b0
push eax
lea edx, [ebp - 0x14]
push edx
mov ebx, 0x51e714
mov byte [ebp - 4], 1
call fcn.0045c4b0
add esp, 0x10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481601
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ebx, str.mfc100u.dll
call fcn.0045c4b0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x48165f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0045b940
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add esp, 4
push 0
push edx
push eax
call esi
test eax, eax
jne 0x48165f
add edi, 0xb8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x7d1
call fcn.00489ce0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, str.StormNC
call fcn.0045c4b0
push eax
lea eax, [ebp - 0x20]
push eax
mov ebx, 0x51e74c
mov byte [ebp - 4], 5
call fcn.0045c4b0
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0045c590
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4816b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4816d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, str.msvcp100.dll
call fcn.0045c4b0
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0045c590
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48171d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48175f
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045b940
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add esp, 4
push 0
push eax
push ecx
call esi
test eax, eax
jne 0x48175f
mov edi, dword [ebp + 8]
add edi, 0xb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d2
call fcn.00489ce0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ebx, str.StormNC
call fcn.0045c4b0
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x51e768
mov byte [ebp - 4], 8
call fcn.0045c4b0
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0045c590
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4817b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4817d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, str.msvcr100.dll
call fcn.0045c4b0
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0045c590
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48181d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48185f
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045b940
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add esp, 4
push 0
push eax
push ecx
call esi
test eax, eax
jne 0x48185f
mov edi, dword [ebp + 8]
add edi, 0xb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d3
call fcn.00489ce0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ebx, str.webplayer
call fcn.0045c4b0
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x51e74c
mov byte [ebp - 4], 0xb
call fcn.0045c4b0
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0045c590
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4818b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4818d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, str.msvcp100.dll
call fcn.0045c4b0
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.0045c590
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48191d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48195f
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045b940
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add esp, 4
push 0
push eax
push ecx
call esi
test eax, eax
jne 0x48195f
mov edi, dword [ebp + 8]
add edi, 0xb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d4
call fcn.00489ce0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ebx, str.webplayer
call fcn.0045c4b0
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x51e768
mov byte [ebp - 4], 0xe
call fcn.0045c4b0
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0045c590
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4819b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4819d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, str.msvcr100.dll
call fcn.0045c4b0
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 0x10
call fcn.0045c590
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481a1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481a5f
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045b940
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add esp, 4
push 0
push eax
push ecx
call esi
test eax, eax
jne 0x481a5f
mov edi, dword [ebp + 8]
add edi, 0xb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d5
call fcn.00489ce0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x481a82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481aa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481acb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4