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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f41d8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5374e4]
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 ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x224], 0
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x41de0c
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41de0c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049a810
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x41ddf8
push str.update_
add ebx, 0x38
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.0041cfd0
add esp, 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
push dword [eax - 0xc]
push eax
call fcn.0041db20
push dword [ebp - 0x21c]
call esi
or esi, 0xffffffff
test eax, eax
jne 0x41dda4
push 0x5031e4
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.0041cfd0
add esp, 0xc
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 2
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x41dd07
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x41dd1d
call fcn.0040db10
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x41de2a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov eax, dword [edi]
mov dword [ebp - 0x224], 1
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x220]
push ecx
push eax
call fcn.0041e250
add esp, 0x14
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
push eax
call fcn.00415800
mov edx, dword [ebp - 0x220]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41dd83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41dda4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.Copy_file_from__s_to__s__result___d
call fcn.00421b90
mov edx, dword [ebp - 0x21c]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41de0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41de0c
lea eax, [ebp - 0x218]
push eax
push str.File_Exists_:__s
call fcn.00421b90
add esp, 8
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.0046a581
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004034a0
int3