Function at 0x410b80
Capabilities:
Check if file exists
Copy file
Delete directory
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c603
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x47b008]
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 dword [ebp - 0x2bc], ebx
mov esi, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x410c18
mov eax, dword [esi]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
cmp byte [ebp + 0x10], cl
jne 0x410c5e
test edi, edi
je 0x410c54
xor eax, eax
mov ecx, 0x46c558
cmp dword [ecx], edi
je 0x410c47
inc eax
add ecx, 0x10
cmp eax, 0x71
jb 0x410c30
mov esi, 1
jmp 0x4111b6
shl eax, 4
lea eax, [eax + 0x46c558]
test eax, eax
jne 0x410c5e
mov esi, 1
jmp 0x4111b6
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov word [ebp - 0x26c], ax
call fcn.00418de0
test al, al
jne 0x410cc8
mov byte [ebp - 4], 2
jmp 0x410d96
mov ebx, dword [ebp - 0x224]
lea edx, [ebp - 0x238]
mov ecx, dword [ebp - 0x238]
cmp ebx, 8
jb 0x410ce1
mov edx, ecx
mov eax, dword [ebp - 0x228]
lea eax, [edx + eax*2]
lea edx, [ebp - 0x238]
cmp ebx, 8
jb 0x410cf7
mov edx, ecx
push 0
sub eax, edx
lea ecx, [ebp - 0x238]
sar eax, 1
push 1
push eax
call fcn.00407880
mov ebx, dword [ebp - 0x224]
lea ecx, [ebp - 0x238]
mov edx, dword [ebp - 0x238]
cmp ebx, 8
jb 0x410d24
mov ecx, edx
mov eax, dword [ebp - 0x228]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x238]
cmp ebx, 8
jb 0x410d3a
mov ecx, edx
sub eax, ecx
lea ecx, [ebp - 0x238]
push 0
sar eax, 1
push 1
push eax
call fcn.00407880
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov dword [ebp - 0x284], 3
jb 0x410d6d
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x280], eax
mov eax, 0x614
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x238]
call fcn.00401520
cmp byte [ebp + 0x10], 0
jne 0x410db6
lea edx, [ebp - 0x2b8]
mov ecx, edi
call fcn.00417450
jmp 0x410dc1
lea ecx, [ebp - 0x2b8]
call fcn.00417640
sub eax, 0
je 0x41109e
mov bh, byte [ebp + 0xc]
sub eax, 1
jne 0x410dda
test bh, bh
je 0x411097
xor eax, eax
mov dword [ebp - 0x228], 0
push 0x46e75c
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00401590
mov edx, esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x238]
call fcn.004185b0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
mov bl, al
call fcn.00401520
test bl, bl
jne 0x410e37
mov esi, 5
jmp 0x4111b6
lea eax, [ebp - 0x268]
xor dl, dl
push eax
xor ecx, ecx
call fcn.00418bb0
add esp, 4
test al, al
jne 0x410e86
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x250]
push str.GetServiceImagePathByType_failed_with__i
push eax
call fcn.00411e60
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403810
lea ecx, [ebp - 0x250]
call fcn.00401520
mov esi, 4
jmp 0x4111b6
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
jb 0x410e9b
mov eax, dword [ebp - 0x268]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x2bc]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [eax + 0x64], 0
jne 0x410f1e
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
jb 0x410ece
mov eax, dword [ebp - 0x268]
push eax
call edi
test eax, eax
jne 0x411009
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x411003
call edi
push eax
lea eax, [ebp - 0x250]
push str.DeleteFile_failed_with__i
push eax
call fcn.00411e60
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403810
lea ecx, [ebp - 0x250]
call fcn.00401520
mov esi, 4
jmp 0x4111b6
test bh, bh
jne 0x411009
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
jb 0x410f3b
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x250]
call fcn.00401490
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 7
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x410ff2
cmp eax, 0x105
jae 0x410ff2
xor eax, eax
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 7
push eax
call fcn.00401590
push 0x1b
push str.EasyAntiCheat_Setup.exe.tmp
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 8
call fcn.0040a810
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
jb 0x410fca
mov ecx, dword [ebp - 0x238]
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
jb 0x410fdf
mov eax, dword [ebp - 0x250]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x238]
call fcn.00401520
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.00401520
jmp 0x411009
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x2a0]
xor dl, dl
push eax
mov ecx, 1
call fcn.00418bb0
add esp, 4
test al, al
je 0x41105c
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
jb 0x411038
mov eax, dword [ebp - 0x2a0]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
jb 0x411059
mov eax, dword [ebp - 0x2a0]
push eax
call edi
sub esp, 8
lea ecx, [ebp - 0x268]
call fcn.0040a5d0
cmp eax, 0xffffffff
je 0x411097
push eax
push ecx
lea eax, [ebp - 0x250]
push eax
call fcn.0040a550
cmp dword [eax + 0x14], 8
jb 0x411085
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x250]
call fcn.00401520
xor esi, esi
jmp 0x4111b6
push 0x19
push str.Access_to_registry_denied
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.004016e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x238]
push 0x1a
push str.setup_error.error_registry
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.004016e0
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x238]
mov ecx, ebx
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0040fa00
push eax
mov ecx, esi
call fcn.00403810
lea ecx, [ebp - 0x284]
call fcn.00401520
lea ecx, [ebp - 0x238]
call fcn.00401680
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.00401680
push 2
push 0x46ec68
mov ecx, esi
call fcn.0040a810
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
jb 0x41116c
mov eax, dword [ebp - 0x2b8]
push dword [ebp - 0x2a8]
mov ecx, esi
push eax
call fcn.0040a810
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x41119a
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x411191
mov esi, dword [esi]
mov dword [esi + ecx*2], 0x29
jmp 0x4111b1
push 0x29
mov byte [ebp - 0x2bc], 0
push dword [ebp - 0x2bc]
push ecx
mov ecx, esi
call fcn.0040ac30
mov esi, 3
lea ecx, [ebp - 0x2b8]
call fcn.00401520
lea ecx, [ebp - 0x268]
call fcn.00401520
lea ecx, [ebp - 0x2a0]
call fcn.00401520
mov eax, esi
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.0042207c
mov esp, ebp
pop ebp
ret 0x10