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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5971
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x519220]
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 edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x380], ebx
call fcn.00403e10
push 1
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x130], 0
call fcn.00406110
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
cmove eax, dword [ebp - 0x12c]
xor ecx, ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x134]
mov dword [ebp - 4], ecx
push eax
mov ecx, esi
call fcn.00411bd0
test al, al
je 0x411856
push ecx
push ebx
lea ecx, [ebp - 0x134]
call fcn.004111a0
test al, al
je 0x41199e
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x411865
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x41189d
shr eax, 4
not al
and al, 1
je 0x41189d
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x411892
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4118ac
mov eax, dword [esi + 8]
cmp byte [edi + 0x11c], 0
lea ecx, [edi + 0xc]
jne 0x4118bb
mov ecx, dword [edi + 8]
push 0xb
add eax, 4
push eax
lea eax, [ecx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
lea eax, [esi + 0xc]
jne 0x4119a2
cmp byte [esi + 0x11c], 0
jne 0x4118e2
mov eax, dword [esi + 8]
sub esp, 0x10
lea ecx, [ebp - 0x37c]
add eax, 4
push 0
push eax
call fcn.0040f6f0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
cmp byte [edi + 0x11c], 0
jne 0x411909
mov eax, dword [edi + 8]
sub esp, 0x10
lea ecx, [ebp - 0x258]
add eax, 4
push 0
push eax
call fcn.0040f6f0
mov ecx, dword [ebp - 0x380]
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 2
push eax
push 0x5033d8
call fcn.00429910
mov ecx, eax
call fcn.00429dd0
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x411972
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x411972
push eax
call fcn.0049c7b1
add esp, 4
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x41199e
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x41199e
push eax
call fcn.0049c7b1
add esp, 4
xor bl, bl
jmp 0x4119e4
cmp byte [esi + 0x11c], 0
jne 0x4119ae
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x4119c8
mov ecx, dword [esi + 8]
push 1
push ecx
add ecx, 4
mov edx, 1
call fcn.004377d0
add esp, 8
mov ecx, esi
call fcn.00413be0
mov bl, 1
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x411a0d
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x411a0d
push eax
call fcn.0049c7b1
add esp, 4
mov al, bl
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.0048f1b0
mov esp, ebp
pop ebp
ret 0xc