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

Disassembly:
push 0x83c
mov eax, 0x47e894
call fcn.004569c5
mov ebx, edx
mov esi, ecx
lea eax, [ebp - 0x824]
mov dword [ebp - 0x824], 0x1f
push eax
push str.MakeFileLocal
lea ecx, [ebp - 0x848]
call fcn.0041e6cc
xor eax, eax
mov dword [ebp - 4], eax
mov edi, 0x200
push edi
push eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x218]
push eax
call fcn.00457e10
push edi
lea eax, [ebp - 0x820]
push 0
push eax
call fcn.00457e10
push edi
xor edi, edi
lea eax, [ebp - 0x620]
push edi
push eax
call fcn.00457e10
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00457e10
add esp, 0x30
lea ecx, [ebp - 0x83c]
call fcn.0040aaed
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.0040aaed
push 2
pop eax
mov byte [ebp - 4], al
test esi, esi
je 0x41cef2
xor eax, eax
cmp word [esi], ax
je 0x41cef2
test ebx, ebx
je 0x41cef2
cmp word [ebx], ax
jne 0x41cf7f
mov dword [ebp - 0x824], 0x57
mov esi, dword [ebp - 0x824]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x828]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x83c]
add ecx, 0xfffffff0
call fcn.0040aacb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.0041e740
mov eax, esi
call fcn.00456974
ret
cmp eax, 1
jne 0x41cf8f
push esi
mov edx, 0x4c24f0
lea ecx, [ebp - 0x830]
call fcn.00409379
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x83c]
push eax
call fcn.0040951e
push 2
pop eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x830]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov esi, dword [ebp - 0x83c]
mov ecx, esi
call fcn.0041d290
test eax, eax
jne 0x41cf3e
jmp 0x41cefc
cmp eax, 3
mov edi, eax
push 2
pop ecx
lea eax, [ebp - 0x620]
cmove edi, ecx
push eax
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x18]
lea ecx, [esi + 0xe]
push eax
cmovne ecx, esi
push ebx
mov dword [ebp - 0x82c], ecx
call fcn.0046d10e
xor eax, eax
push eax
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0046d2f5
add esp, 0x28
lea ecx, [ebp - 0x420]
call fcn.0041fca5
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41d00d
cmp eax, 0xb7
jne 0x41cefc
xor eax, eax
mov dword [ebp - 0x824], eax
jmp 0x41d00f
xor eax, eax
mov esi, dword [ebp - 0x82c]
push 2
pop ecx
cmp edi, ecx
jne 0x41d093
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41d039
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x824], eax
jmp 0x41cefc
test al, 0x10
je 0x41d04c
mov dword [ebp - 0x824], 3
jmp 0x41cefc
push 9
pop edi
xor eax, eax
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41d289
cmp eax, 0x20
je 0x41d078
cmp eax, 5
jne 0x41cefc
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
mov esi, dword [ebp - 0x82c]
jns 0x41d04f
jmp 0x41cefc
push eax
push eax
xor edx, edx
mov ecx, edi
push ebx
push esi
inc edx
call fcn.00435a0c
add esp, 0x10
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41d0d2
cmp byte [0x4c2540], 0
jne 0x41d0d2
xor eax, eax
mov edx, ebx
push eax
mov ecx, esi
call fcn.0040d445
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
jne 0x41cefc
cmp edi, 5
jne 0x41d289
push ebx
lea ecx, [ebp - 0x838]
call fcn.0040c04f
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41d126
push 2
pop eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x838], 0xffffffff
je 0x41cefc
push dword [ebp - 0x838]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x838], 0xffffffff
jmp 0x41cefc
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00421f7f
mov edi, dword [ebp - 0x838]
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
je 0x41d270
cmp edi, 0xffffffff
je 0x41d15a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x830], 9
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41d1b6
cmp eax, 0x20
je 0x41d181
cmp eax, 5
jne 0x41d195
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x830], 1
jns 0x41d164
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x824], eax
push 2
pop eax
mov byte [ebp - 4], al
cmp edi, 0xffffffff
je 0x41cefc
push edi
jmp 0x41d114
push dword [ebp - 0x82c]
lea ecx, [ebp - 0x828]
call fcn.0040a676
push 7
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x828]
call fcn.00416c10
mov byte [ebp - 4], 6
mov edx, str.https:__
push eax
lea ecx, [ebp - 0x830]
call fcn.0041de8a
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x828]
push eax
call fcn.0040951e
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x830]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x82c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
xor eax, eax
xor edx, edx
push eax
push eax
push ebx
push dword [ebp - 0x828]
inc edx
push 6
pop ecx
call fcn.00435a0c
add esp, 0x10
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41d270
cmp byte [0x4c2540], 0
jne 0x41d270
mov ecx, dword [ebp - 0x828]
xor eax, eax
push eax
mov edx, ebx
call fcn.0040d445
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
jne 0x41d1a1
push 2
pop eax
mov byte [ebp - 4], al
cmp edi, 0xffffffff
je 0x41d289
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x838], 0xffffffff
xor eax, eax
jmp 0x41d02e