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

Disassembly:
push 0x83c
mov eax, 0x477456
call fcn.0045053c
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.0041dfa0
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.00451b90
push edi
lea eax, [ebp - 0x820]
push 0
push eax
call fcn.00451b90
push edi
xor edi, edi
lea eax, [ebp - 0x620]
push edi
push eax
call fcn.00451b90
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00451b90
add esp, 0x30
call fcn.00409480
push eax
lea ecx, [ebp - 0x83c]
call fcn.00408c39
push 2
pop eax
mov byte [ebp - 4], al
call fcn.00409480
push eax
lea ecx, [ebp - 0x82c]
call fcn.00408c39
mov byte [ebp - 4], 4
test esi, esi
je 0x41c7b8
xor eax, eax
cmp word [esi], ax
je 0x41c7b8
test ebx, ebx
je 0x41c7b8
cmp word [ebx], ax
jne 0x41c845
mov dword [ebp - 0x824], 0x57
mov esi, dword [ebp - 0x824]
push 2
pop eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x82c]
lea ecx, [ecx - 0x10]
call fcn.00409575
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x83c]
add ecx, 0xfffffff0
call fcn.00409575
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.0041e015
mov eax, esi
call fcn.004504e6
ret
cmp eax, 1
jne 0x41c855
push esi
mov edx, 0x4a0354
lea ecx, [ebp - 0x830]
call fcn.0040a03a
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x83c]
push eax
call fcn.0040a1c3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x830]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov esi, dword [ebp - 0x83c]
mov ecx, esi
call fcn.0041cb77
test eax, eax
jne 0x41c806
jmp 0x41c7c2
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 - 0x828], ecx
call fcn.004656ca
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.004658c5
add esp, 0x28
lea ecx, [ebp - 0x420]
call fcn.0041f4fc
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41c8d3
cmp eax, 0xb7
jne 0x41c7c2
xor eax, eax
mov dword [ebp - 0x824], eax
jmp 0x41c8d5
xor eax, eax
push 2
pop ecx
cmp edi, ecx
jne 0x41c962
mov edi, dword [ebp - 0x828]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c903
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x824], eax
jmp 0x41c7c2
test al, 0x10
je 0x41c916
mov dword [ebp - 0x824], 3
jmp 0x41c7c2
mov dword [ebp - 0x828], 9
xor eax, eax
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41cb70
cmp eax, 0x20
je 0x41c949
cmp eax, 5
jne 0x41c7c2
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x828], 1
jns 0x41c920
jmp 0x41c7c2
mov esi, dword [ebp - 0x828]
xor edx, edx
push eax
push eax
push ebx
push esi
inc edx
mov ecx, edi
call fcn.004343f7
add esp, 0x10
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41c9a7
cmp byte [0x4a03a4], 0
jne 0x41c9a7
xor eax, eax
mov edx, ebx
push eax
mov ecx, esi
call fcn.0040d507
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
jne 0x41c7c2
cmp edi, 5
jne 0x41cb70
or dword [ebp - 0x838], 0xffffffff
lea ecx, [ebp - 0x838]
xor eax, eax
push ebx
mov dword [ebp - 0x834], eax
call fcn.0040c4a0
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41ca08
mov byte [ebp - 4], 4
cmp dword [ebp - 0x838], 0xffffffff
je 0x41c7c2
push dword [ebp - 0x838]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x838], 0xffffffff
jmp 0x41c7c2
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004215c0
mov edi, dword [ebp - 0x838]
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
je 0x41cb59
cmp edi, 0xffffffff
je 0x41ca3c
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 0x41ca96
cmp eax, 0x20
je 0x41ca63
cmp eax, 5
jne 0x41ca77
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x830], 1
jns 0x41ca46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x824], eax
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
je 0x41c7c2
push edi
jmp 0x41c9f6
mov esi, dword [ebp - 0x828]
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x82c]
call fcn.0040afd8
push 7
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00416d0f
mov byte [ebp - 4], 8
mov edx, str.https:__
push eax
lea ecx, [ebp - 0x830]
call fcn.0041d7c3
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x82c]
push eax
call fcn.0040a1c3
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x830]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x828]
lea ecx, [ecx - 0x10]
call fcn.00409575
xor eax, eax
xor edx, edx
push eax
push eax
push ebx
push dword [ebp - 0x82c]
inc edx
push 6
pop ecx
call fcn.004343f7
add esp, 0x10
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41cb59
cmp byte [0x4a03a4], 0
jne 0x41cb59
mov ecx, dword [ebp - 0x82c]
xor eax, eax
push eax
mov edx, ebx
call fcn.0040d507
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
jne 0x41ca83
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
je 0x41cb70
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x838], 0xffffffff
xor eax, eax
jmp 0x41c8f8