Function at 0x41a7d0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1d10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4c4720
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00401bb0
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ebx
push ecx
lea ecx, [ebp - 0x14]
mov edx, edi
call fcn.00483af0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a860
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41a921
mov ecx, dword [ebp - 0x14]
test ecx, ecx
setne al
test eax, eax
jne 0x41a884
push 0x80004005
call fcn.00401a60
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
push ecx
push eax
call fcn.0048652c
add esp, 8
test eax, eax
je 0x41a8a2
mov ecx, dword [ebp + 8]
push esi
push ebx
push ecx
jmp 0x41aa93
push 0x4c4720
lea ecx, [ebp + 0x10]
call fcn.00401bb0
lea edx, [ebp + 0x10]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push ebx
push eax
lea edx, [edi + 4]
lea ecx, [ebp - 0x14]
call fcn.00483af0
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x41a902
push 0x80004005
call fcn.00401a60
mov eax, dword [esi]
push ecx
push eax
call fcn.0048652c
add esp, 8
test eax, eax
je 0x41aa9a
mov ecx, dword [ebp + 8]
push esi
push ebx
push ecx
jmp 0x41aa93
lea esi, [ebp - 0x18]
mov eax, edi
call fcn.00483ac0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41a944
test al, 0x10
jne 0x41a944
mov eax, 1
jmp 0x41a946
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x18]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a96b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x41aa8a
lea ebx, [edi + 4]
lea esi, [ebp - 0x18]
mov eax, ebx
call fcn.00483ac0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41a99b
test al, 0x10
jne 0x41a99b
mov eax, 1
jmp 0x41a99d
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x18]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a9c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x41aa18
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
push edi
call fcn.0041ac30
mov esi, eax
mov dword [ebp - 4], 0xffffffff
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 0x41aa02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebp + 0x10]
mov eax, edi
call fcn.00483ac0
mov edi, eax
lea esi, [ebp + 8]
mov eax, ebx
mov byte [ebp - 4], 3
call fcn.00483ac0
mov edi, dword [edi]
mov eax, dword [eax]
push 1
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aa65
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 + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aa9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41aa9a
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ecx
push ebx
push edx
mov ebx, edi
call fcn.0041aae0
mov dword [ebp - 4], 0xffffffff
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 0x41aac0
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 0xc