Function at 0x483020
Capabilities:
Check if file exists
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b028
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5512c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xb4]
sub eax, 0x10
call fcn.0045cad0
add eax, 0x10
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov ebx, str.Corecodecs
mov dword [ebp - 4], 0
call fcn.0045c900
push eax
lea edx, [ebp - 0x220]
push edx
mov ebx, 0x521c0c
mov byte [ebp - 4], 1
call fcn.0045c900
add esp, 0x10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4830c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x224]
push edx
mov ebx, str.mfc100u.dll
call fcn.0045c900
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x483139
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.0045bd90
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
add esp, 4
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x483139
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x7d1
call fcn.00472e80
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ebx, str.StormNC
call fcn.0045c900
push eax
lea eax, [ebp - 0x22c]
push eax
mov ebx, 0x521c44
mov byte [ebp - 4], 5
call fcn.0045c900
add esp, 0x10
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.0045c9e0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48319f
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 - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4831c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ebx, str.msvcp100.dll
call fcn.0045c900
add esp, 8
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.0045c9e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48326a
mov edx, dword [ebp - 0x220]
push edx
call fcn.0045bd90
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
add esp, 4
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x48326a
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x7d2
call fcn.00472e80
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x22c]
push eax
mov ebx, str.StormNC
call fcn.0045c900
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ebx, 0x521c60
mov byte [ebp - 4], 8
call fcn.0045c900
add esp, 0x10
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 9
call fcn.0045c9e0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4832d0
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 - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4832f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ebx, str.msvcr100.dll
call fcn.0045c900
add esp, 8
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0xa
call fcn.0045c9e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483346
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48339b
mov edx, dword [ebp - 0x220]
push edx
call fcn.0045bd90
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
add esp, 4
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x48339b
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x7d3
call fcn.00472e80
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x22c]
push eax
mov ebx, str.webplayer
call fcn.0045c900
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ebx, 0x521c44
mov byte [ebp - 4], 0xb
call fcn.0045c900
add esp, 0x10
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0xc
call fcn.0045c9e0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483401
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 - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483427
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ebx, str.msvcp100.dll
call fcn.0045c900
add esp, 8
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0xd
call fcn.0045c9e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483477
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4834cc
mov edx, dword [ebp - 0x220]
push edx
call fcn.0045bd90
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
add esp, 4
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4834cc
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x7d4
call fcn.00472e80
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x22c]
push eax
mov ebx, str.webplayer
call fcn.0045c900
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ebx, 0x521c60
mov byte [ebp - 4], 0xe
call fcn.0045c900
add esp, 0x10
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0xf
call fcn.0045c9e0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483532
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 - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483558
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ebx, str.msvcr100.dll
call fcn.0045c900
add esp, 8
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x10
call fcn.0045c9e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4835a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4835fd
mov edx, dword [ebp - 0x220]
push edx
call fcn.0045bd90
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
add esp, 4
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4835fd
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x7d5
call fcn.00472e80
call fcn.0045cdb0
test al, al
je 0x4838dc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.004e8ae0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x218]
call fcn.004594a0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x230]
push ecx
mov ebx, str.MSVCR64
mov byte [ebp - 4], 0x11
call fcn.0045c900
push eax
lea edx, [ebp - 0x21c]
push edx
mov ebx, 0x521c60
mov byte [ebp - 4], 0x12
call fcn.0045c900
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x13
call fcn.0045c9e0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4836b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4836dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x230]
push edx
mov ebx, 0x521c60
call fcn.0045c900
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x14
call fcn.0045c9e0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48372c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
je 0x483786
mov edx, dword [ebp - 0x220]
push edx
call esi
test eax, eax
je 0x483770
mov eax, dword [ebp - 0x220]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x230], esp
mov edi, esp
call fcn.0045cad0
add eax, 0x10
mov dword [edi], eax
call fcn.0045c250
add esp, 4
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.MSVCR64
call fcn.0045c900
push eax
lea ecx, [ebp - 0x230]
push ecx
mov ebx, 0x521c44
mov byte [ebp - 4], 0x15
call fcn.0045c900
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x16
call fcn.0045c9e0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4837ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483812
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x230]
push edx
mov ebx, 0x521c44
call fcn.0045c900
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x17
call fcn.0045c9e0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483862
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push ecx
call esi
test eax, eax
je 0x4838b6
mov edx, dword [ebp - 0x220]
push edx
call esi
test eax, eax
je 0x4838a0
mov eax, dword [ebp - 0x220]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x230], esp
mov edi, esp
call fcn.0045cad0
add eax, 0x10
mov dword [edi], eax
call fcn.0045c250
add esp, 4
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4838dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x230]
push edx
mov ebx, str.MSVCR64_
call fcn.0045c900
add esp, 8
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x18
call fcn.0045c9e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48392c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push 0
push ecx
call fcn.0045c640
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483963
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 - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483989
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4839b2
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3e00
mov esp, ebp
pop ebp
ret