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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503d10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
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.0045cb40
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.0045c970
push eax
lea edx, [ebp - 0x14]
push edx
mov ebx, 0x51d3b4
mov byte [ebp - 4], 1
call fcn.0045c970
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 0x4818f1
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.0045c970
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 0x48194f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0045ba40
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 0x48194f
add edi, 0xb8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x7d1
call fcn.00472960
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ebx, str.StormNC
call fcn.0045c970
push eax
lea eax, [ebp - 0x20]
push eax
mov ebx, 0x51d3ec
mov byte [ebp - 4], 5
call fcn.0045c970
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0045ca50
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 0x4819a6
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 0x4819c9
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.0045c970
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0045ca50
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 0x481a0d
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 0x481a4f
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045ba40
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 0x481a4f
mov edi, dword [ebp + 8]
add edi, 0xb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d2
call fcn.00472960
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ebx, str.StormNC
call fcn.0045c970
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x51d408
mov byte [ebp - 4], 8
call fcn.0045c970
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0045ca50
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 0x481aa6
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 0x481ac9
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.0045c970
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0045ca50
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 0x481b0d
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 0x481b4f
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045ba40
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 0x481b4f
mov edi, dword [ebp + 8]
add edi, 0xb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d3
call fcn.00472960
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ebx, str.webplayer
call fcn.0045c970
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x51d3ec
mov byte [ebp - 4], 0xb
call fcn.0045c970
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0045ca50
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 0x481ba6
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 0x481bc9
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.0045c970
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.0045ca50
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 0x481c0d
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 0x481c4f
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045ba40
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 0x481c4f
mov edi, dword [ebp + 8]
add edi, 0xb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d4
call fcn.00472960
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ebx, str.webplayer
call fcn.0045c970
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x51d408
mov byte [ebp - 4], 0xe
call fcn.0045c970
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0045ca50
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 0x481ca6
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 0x481cc9
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.0045c970
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 0x10
call fcn.0045ca50
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 0x481d0d
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 0x481d4f
mov edx, dword [ebp - 0x14]
push edx
call fcn.0045ba40
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 0x481d4f
mov edi, dword [ebp + 8]
add edi, 0xb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d5
call fcn.00472960
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 0x481d72
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 0x481d95
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 0x481dbb
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