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

Disassembly:
push 0x83c
mov eax, 0x47cf92
call fcn.00454305
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.0041e3a4
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.004557e0
push edi
lea eax, [ebp - 0x820]
push 0
push eax
call fcn.004557e0
push edi
xor edi, edi
lea eax, [ebp - 0x620]
push edi
push eax
call fcn.004557e0
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.004557e0
add esp, 0x30
lea ecx, [ebp - 0x83c]
call fcn.0040aa2d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.0040aa2d
push 2
pop eax
mov byte [ebp - 4], al
test esi, esi
je 0x41cc12
xor eax, eax
cmp word [esi], ax
je 0x41cc12
test ebx, ebx
je 0x41cc12
cmp word [ebx], ax
jne 0x41cc9f
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.0040aa0b
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x83c]
add ecx, 0xfffffff0
call fcn.0040aa0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.0041e418
mov eax, esi
call fcn.004542b4
ret
cmp eax, 1
jne 0x41ccaf
push esi
mov edx, 0x4a7418
lea ecx, [ebp - 0x830]
call fcn.00409299
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x83c]
push eax
call fcn.0040943e
push 2
pop eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x830]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov esi, dword [ebp - 0x83c]
mov ecx, esi
call fcn.0041cfb3
test eax, eax
jne 0x41cc5e
jmp 0x41cc1c
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.0046abce
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.0046adb5
add esp, 0x28
lea ecx, [ebp - 0x420]
call fcn.0041f8c8
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41cd2d
cmp eax, 0xb7
jne 0x41cc1c
xor eax, eax
mov dword [ebp - 0x824], eax
jmp 0x41cd2f
xor eax, eax
mov esi, dword [ebp - 0x82c]
push 2
pop ecx
cmp edi, ecx
jne 0x41cdb3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41cd59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x824], eax
jmp 0x41cc1c
test al, 0x10
je 0x41cd6c
mov dword [ebp - 0x824], 3
jmp 0x41cc1c
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 0x41cfa9
cmp eax, 0x20
je 0x41cd98
cmp eax, 5
jne 0x41cc1c
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
mov esi, dword [ebp - 0x82c]
jns 0x41cd6f
jmp 0x41cc1c
push eax
push eax
xor edx, edx
mov ecx, edi
push ebx
push esi
inc edx
call fcn.004350b0
add esp, 0x10
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41cdf2
cmp byte [0x4a7468], 0
jne 0x41cdf2
xor eax, eax
mov edx, ebx
push eax
mov ecx, esi
call fcn.0040d30b
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
jne 0x41cc1c
cmp edi, 5
jne 0x41cfa9
push ebx
lea ecx, [ebp - 0x838]
call fcn.0040bf35
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41ce46
push 2
pop eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x838], 0xffffffff
je 0x41cc1c
push dword [ebp - 0x838]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x838], 0xffffffff
jmp 0x41cc1c
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00421b1e
mov edi, dword [ebp - 0x838]
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
je 0x41cf90
cmp edi, 0xffffffff
je 0x41ce7a
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 0x41ced6
cmp eax, 0x20
je 0x41cea1
cmp eax, 5
jne 0x41ceb5
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x830], 1
jns 0x41ce84
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 0x41cc1c
push edi
jmp 0x41ce34
push dword [ebp - 0x82c]
lea ecx, [ebp - 0x828]
call fcn.0040a5c2
push 7
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x828]
call fcn.00416bff
mov byte [ebp - 4], 6
mov edx, str.https:__
push eax
lea ecx, [ebp - 0x830]
call fcn.0041dbad
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x828]
push eax
call fcn.0040943e
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x830]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x82c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
xor eax, eax
xor edx, edx
push eax
push eax
push ebx
push dword [ebp - 0x828]
inc edx
push 6
pop ecx
call fcn.004350b0
add esp, 0x10
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41cf90
cmp byte [0x4a7468], 0
jne 0x41cf90
mov ecx, dword [ebp - 0x828]
xor eax, eax
push eax
mov edx, ebx
call fcn.0040d30b
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
jne 0x41cec1
push 2
pop eax
mov byte [ebp - 4], al
cmp edi, 0xffffffff
je 0x41cfa9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x838], 0xffffffff
xor eax, eax
jmp 0x41cd4e