Function at 0x1011e45e
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x24], eax
mov ebx, 0x1004d6d0
push edi
mov edi, ecx
test eax, eax
jne 0x1011e497
push 0x1004d6bc
mov edx, 0x88
mov ecx, ebx
call fcn.100e970f
test esi, esi
jne 0x1011e4ac
push 0x1004d704
mov edx, 0x89
mov ecx, ebx
call fcn.100e970f
xor ecx, ecx
mov ebx, ecx
test edi, edi
jne 0x1011e5c0
cmp dword [0x101dcacc], ecx
je 0x1011e5c0
cmp dword [0x101dcad0], ecx
je 0x1011e5c0
cmp dword [0x101dcac8], ecx
je 0x1011e5c0
cmp dword [0x101dcac0], ecx
je 0x1011e5c0
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x1c], 0xf750e6c3
mov dword [ebp - 0x18], 0x11d138ee
mov dword [ebp - 0x14], 0xc000e585
mov dword [ebp - 0x10], 0xee95c24f
call fcn.1011e342
test eax, eax
jne 0x1011e561
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1011e52e
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
js 0x1011e535
mov ebx, 0x80004005
push 0x1004d718
push 1
push ebx
push 0x4000000
call fcn.100ab973
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x1011e732
push dword [ebp - 0xc]
call fcn.1011e3ca
jmp 0x1011e732
mov edx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0xc]
push esi
call fcn.1011e36d
test eax, eax
jne 0x1011e597
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1011e589
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
js 0x1011e590
mov ebx, 0x80004005
push 0x1004d744
jmp 0x1011e53a
mov esi, dword [0x101dcac8]
test esi, esi
je 0x1011e5b3
push 0
push eax
push dword [ebp - 0xc]
mov ecx, esi
call dword [0x101e07c0]
call esi
jmp 0x1011e5bb
push 0x7f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
cmp dword [ebp - 0xc], ebx
jmp 0x1011e54e
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], ecx
test edi, edi
jne 0x1011e5f7
xor edx, edx
lea ecx, [ebp - 0x20]
call fcn.100f1e5c
mov ebx, eax
test ebx, ebx
jns 0x1011e5f4
push 0x1004d76c
push 1
push ebx
push 0x4000000
call fcn.100ab973
add esp, 0x10
jmp 0x1011e722
mov edi, dword [ebp - 0x20]
push 0x1004d788
mov edx, edi
lea ecx, [ebp - 0xc]
call fcn.100a9500
mov ebx, eax
test ebx, ebx
jns 0x1011e627
push esi
push 0x1004d800
push 1
push ebx
push 0x4000000
call fcn.100ab973
add esp, 0x14
jmp 0x1011e722
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.100a8220
mov ebx, eax
test ebx, ebx
jns 0x1011e63f
push esi
push 0x1004d848
jmp 0x1011e612
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov edi, 0x4000000
cmp eax, 0xffffffff
je 0x1011e6a5
push 0x80
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
push esi
push 0x10039118
push 0
push 0
push edi
call fcn.100ab973
add esp, 0x14
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x1011e6a5
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x1011e691
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1011e6a5
push esi
push 0x1004d88c
push 1
push eax
push edi
call fcn.100ab973
add esp, 0x14
push 0
push dword [ebp - 0x24]
push esi
call dword [sym.imp.api_ms_win_core_file_l2_1_0.dll_CreateHardLinkW]
mov edi, eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
dec eax
neg eax
sbb al, al
inc al
mov dword [ebp - 0x28], eax
test edi, edi
jne 0x1011e722
mov edi, dword [ebp - 0x24]
test al, al
je 0x1011e6dc
push 0
push esi
push edi
call dword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_CopyFileW]
test eax, eax
jne 0x1011e722
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1011e6f3
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
js 0x1011e6fa
mov ebx, 0x80004005
cmp byte [ebp - 0x28], 0
mov eax, 0x1004d8c4
jne 0x1011e70a
mov eax, 0x1004d8d0
push esi
push edi
push eax
push 0x1004d8e4
push 1
push ebx
push 0x4000000
call fcn.100ab973
add esp, 0x1c
lea ecx, [ebp - 0x20]
call fcn.100b61be
lea ecx, [ebp - 0xc]
call fcn.100b61be
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret 4