Function at 0x41d3d0
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b3387
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4930]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x398]
mov esi, dword [esp + 0x39c]
mov edi, ecx
lea ecx, [esp + 0x260]
call fcn.0041bda0
lea eax, [esp + 0x260]
push eax
mov ecx, esi
mov dword [esp + 0x394], 0
call fcn.0041d710
test al, al
je 0x41d48f
push 0
push ebp
lea ecx, [esp + 0x268]
call fcn.0041ce80
test al, al
jne 0x41d48f
mov dword [esp + 0x260], 0x4d4d70
cmp byte [esp + 0x37c], 0
jne 0x41d488
mov eax, dword [esp + 0x268]
lea ecx, [esp + 0x26c]
cmp eax, ecx
je 0x41d488
push eax
call fcn.00470027
add esp, 4
xor al, al
jmp 0x41d68c
cmp byte [esp + 0x3a0], 0
mov ebx, 0xa
jne 0x41d4e8
cmp byte [esi + 0x11c], 0
mov ebx, 0xb
lea eax, [esi + 0xc]
jne 0x41d4b2
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d4e8
shr eax, 4
not al
and al, 1
je 0x41d4e8
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x41d4d9
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x41d4f7
mov ecx, dword [esi + 8]
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x41d506
mov eax, dword [edi + 8]
push ebx
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x41d611
cmp byte [esi + 0x11c], al
je 0x41d52a
add esi, 0xc
jmp 0x41d52d
mov esi, dword [esi + 8]
lea ecx, [esp + 0x18]
call fcn.0041ead0
lea eax, [esi + 4]
lea edx, [esp + 0x18]
call fcn.0041ed00
cmp byte [edi + 0x11c], 0
lea esi, [edi + 0xc]
jne 0x41d551
mov esi, dword [edi + 8]
lea ecx, [esp + 0x13c]
call fcn.0041ead0
lea eax, [esi + 4]
lea edx, [esp + 0x13c]
call fcn.0041ed00
mov byte [esp + 0x390], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebp
mov edi, eax
call fcn.0041a480
mov esi, eax
call fcn.0041a720
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebp
call fcn.0041a480
lea edx, [esp + 0x13c]
push edx
mov edi, eax
push 0x4d46e4
lea eax, [esp + 0x20]
call fcn.0041a9c0
cmp byte [esp + 0x258], 0
mov esi, 0x4d4d70
mov dword [esp + 0x13c], esi
jne 0x41d5e2
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x148]
cmp eax, ecx
je 0x41d5e2
push eax
call fcn.00470027
add esp, 4
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], esi
jne 0x41d605
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x41d605
push eax
call fcn.00470027
add esp, 4
mov dword [esp + 0x260], esi
jmp 0x41d463
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x41d620
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x41d63e
mov eax, dword [esi + 8]
push 1
push 0x10000000
add eax, 4
push 1
push eax
call fcn.00423e10
add esp, 0x10
mov eax, esi
call fcn.0041e180
cmp byte [esp + 0x37c], 0
mov dword [esp + 0x260], 0x4d4d70
jne 0x41d68a
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x26c]
cmp eax, edx
je 0x41d68a
push eax
call fcn.00470027
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.0046fdae
add esp, 0x380
ret 0xc