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

Disassembly:
push 0x83c
mov eax, 0x467120
call fcn.00463b54
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.0041bb53
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.00441660
push edi
lea eax, [ebp - 0x820]
push 0
push eax
call fcn.00441660
push edi
xor edi, edi
lea eax, [ebp - 0x620]
push edi
push eax
call fcn.00441660
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00441660
add esp, 0x30
call fcn.004068d0
push eax
lea ecx, [ebp - 0x83c]
call fcn.00405f99
push 2
pop eax
mov byte [ebp - 4], al
call fcn.004068d0
push eax
lea ecx, [ebp - 0x82c]
call fcn.00405f99
mov byte [ebp - 4], 4
test esi, esi
je 0x41a382
xor eax, eax
cmp word [esi], ax
je 0x41a382
test ebx, ebx
je 0x41a382
cmp word [ebx], ax
jne 0x41a40f
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.00406985
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x83c]
add ecx, 0xfffffff0
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x848]
call fcn.0041bbc1
mov eax, esi
call fcn.00463afe
ret
cmp eax, 1
jne 0x41a41f
push esi
mov edx, 0x48bcf8
lea ecx, [ebp - 0x830]
call fcn.004074c4
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x83c]
push eax
call fcn.0040764f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x830]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov esi, dword [ebp - 0x83c]
mov ecx, esi
call fcn.0041a756
test eax, eax
jne 0x41a3d0
jmp 0x41a38c
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.00454a47
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.00454c46
add esp, 0x28
lea ecx, [ebp - 0x420]
call fcn.0041cfac
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41a49d
cmp eax, 0xb7
jne 0x41a38c
xor eax, eax
mov dword [ebp - 0x824], eax
jmp 0x41a49f
xor eax, eax
push 2
pop ecx
cmp edi, ecx
jne 0x41a52c
mov edi, dword [ebp - 0x828]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41a4cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x824], eax
jmp 0x41a38c
test al, 0x10
je 0x41a4e0
mov dword [ebp - 0x824], 3
jmp 0x41a38c
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 0x41a74f
cmp eax, 0x20
je 0x41a513
cmp eax, 5
jne 0x41a38c
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x828], 1
jns 0x41a4ea
jmp 0x41a38c
mov esi, dword [ebp - 0x828]
xor edx, edx
push eax
push eax
push ebx
push esi
inc edx
mov ecx, edi
call fcn.00431ec4
add esp, 0x10
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41a571
cmp byte [0x48bd47], 0
jne 0x41a571
xor eax, eax
mov edx, ebx
push eax
mov ecx, esi
call fcn.0040b716
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
jne 0x41a38c
cmp edi, 5
jne 0x41a74f
or dword [ebp - 0x838], 0xffffffff
lea ecx, [ebp - 0x838]
xor eax, eax
push ebx
mov dword [ebp - 0x834], eax
call fcn.00409673
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41a5d2
mov byte [ebp - 4], 4
cmp dword [ebp - 0x838], 0xffffffff
je 0x41a38c
push dword [ebp - 0x838]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x838], 0xffffffff
jmp 0x41a38c
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0041ed18
mov edi, dword [ebp - 0x838]
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
je 0x41a738
cmp edi, 0xffffffff
je 0x41a606
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 0x41a660
cmp eax, 0x20
je 0x41a62d
cmp eax, 5
jne 0x41a641
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x830], 1
jns 0x41a610
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x824], eax
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
je 0x41a38c
push edi
jmp 0x41a5c0
mov esi, dword [ebp - 0x828]
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x82c]
call fcn.00408222
push 7
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00414abd
mov byte [ebp - 4], 8
mov edx, str.https:__
push eax
lea ecx, [ebp - 0x830]
call fcn.0041b3f9
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x82c]
push eax
call fcn.0040764f
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x830]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x828]
lea ecx, [ecx - 0x10]
call fcn.00406985
push str.semupdate.
push str.emupdate.
lea ecx, [ebp - 0x82c]
call fcn.004187c7
xor eax, eax
xor edx, edx
push eax
push eax
push ebx
push dword [ebp - 0x82c]
inc edx
push 6
pop ecx
call fcn.00431ec4
add esp, 0x10
mov dword [ebp - 0x824], eax
test eax, eax
je 0x41a738
cmp byte [0x48bd47], 0
jne 0x41a738
mov ecx, dword [ebp - 0x82c]
xor eax, eax
push eax
mov edx, ebx
call fcn.0040b716
mov dword [ebp - 0x824], eax
pop ecx
test eax, eax
jne 0x41a64d
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
je 0x41a74f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x838], 0xffffffff
xor eax, eax
jmp 0x41a4c2