Function at 0x41c710
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6903
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4faee4]
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 edi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
push str..uploading
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x5c], ecx
call fcn.0042f670
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [edi + 0xd0]
push dword [ebp - 0x60]
push ebx
mov esi, dword [eax]
call fcn.0042e730
push eax
push str.receiving_filename__s__start_pos_d__part_size__d_n
push dword [edi + 0xd0]
call dword [esi + 0x18]
add esp, 0x14
lea ecx, [ebp - 0x28]
test ebx, ebx
jne 0x41c7d9
push 0x80
call fcn.0042e720
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x28]
call fcn.0042e720
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [ebp - 0x64]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
cmp eax, edx
jae 0x41c8b7
sub edx, eax
jmp 0x41c8b9
call fcn.0042e720
push eax
call fcn.00431640
mov esi, dword [ebp - 0x5c]
add esp, 4
test al, al
jne 0x41c84c
mov ecx, esi
call fcn.0042e720
push eax
call fcn.00431640
add esp, 4
test al, al
je 0x41c84c
mov eax, dword [edi + 0xd0]
lea ecx, [ebp - 0x28]
mov esi, dword [eax]
call fcn.0042e730
mov ecx, dword [ebp - 0x5c]
push eax
call fcn.0042e730
push eax
push str.copying_existing_file__s_to__s_n
push dword [edi + 0xd0]
call dword [esi + 0x18]
add esp, 0x10
lea ecx, [ebp - 0x28]
push 0
call fcn.0042e720
mov ecx, dword [ebp - 0x5c]
push eax
call fcn.0042e720
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x41c7c1
lea ecx, [ebp - 0x28]
call fcn.0042e720
push eax
call fcn.00431640
add esp, 4
test al, al
jne 0x41c7c1
mov ecx, esi
call fcn.0042e720
push eax
call fcn.00431640
add esp, 4
test al, al
jne 0x41c7c1
mov eax, dword [edi + 0xd0]
push str.Unable_to_append_file_n
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x60]
add esp, 8
mov dword [ebp - 0x60], 0xfffffff8
push str.File_not_exists
push eax
call fcn.00436d60
mov ecx, eax
call fcn.00436e70
xor bl, bl
jmp 0x41cb02
xor edx, edx
mov eax, dword [edi + 0xd0]
push edx
push str.decompressing__d_bytes..._n
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [esi + 0x10]
add esp, 0xc
mov edx, dword [esi + 0xc]
cmp ecx, edx
jae 0x41c8e1
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x41c8e8
mov dword [ebp - 0x5c], 0
cmp ecx, edx
jae 0x41c8f9
mov eax, edx
sub eax, ecx
je 0x41c8f9
mov eax, dword [esi + 8]
add eax, ecx
jmp 0x41c8fe
mov eax, dword [esi + 8]
add eax, edx
push 0
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x94]
push eax
call fcn.004362b0
mov byte [ebp - 4], 1
push dword [ebp - 0x60]
push 0
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0043e620
add esp, 0x10
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00436370
mov eax, dword [edi + 0xd0]
push dword [ebp - 0x74]
push str.decompressed__d_bytes_n
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [edi + 0xd0]
lea ecx, [ebp - 0x28]
add esp, 0xc
mov esi, dword [eax]
mov eax, dword [ebp - 0x74]
add eax, ebx
push eax
call fcn.0042e730
push eax
push str.opening_file___s_____d
push dword [edi + 0xd0]
call dword [esi + 0x10]
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
add esp, 0x10
add eax, ebx
push 0x88
push 0xc0000000
push 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043ece0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x50], 0
jne 0x41c9de
mov eax, dword [edi + 0xd0]
lea ecx, [ebp - 0x48]
mov esi, dword [eax]
call fcn.0042e730
push eax
push dword [ebp - 0x4c]
push str....error_n__d__s_n
push dword [edi + 0xd0]
call dword [esi + 8]
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x48]
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00436d60
mov ecx, eax
call fcn.00436e90
xor bl, bl
jmp 0x41caf2
test ebx, ebx
jne 0x41ca0e
mov esi, dword [edi + 0xd8]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [edi + 0xd8]
call fcn.0041d850
cmp dword [eax], esi
je 0x41ca0e
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xd8]
call fcn.0041d8d0
mov eax, dword [edi + 0xd0]
push str....opened__writing_data..._n
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x74]
mov eax, dword [ebp - 0x50]
push dword [ebp - 0x78]
add eax, ebx
push eax
call fcn.00482790
mov eax, dword [ebp - 0x60]
add esp, 0x14
mov ecx, dword [ebp - 0x6c]
add eax, ebx
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push 4
push eax
call fcn.00436400
test ebx, ebx
je 0x41cab8
mov esi, dword [edi + 0xd8]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [edi + 0xd8]
call fcn.0041d850
cmp dword [eax], esi
jne 0x41cab8
mov eax, dword [edi + 0xd0]
lea ecx, [ebp - 0x28]
mov esi, dword [eax]
mov eax, dword [ebp - 0x74]
add eax, ebx
push eax
call fcn.0042e730
push eax
push str.hash_of_file__s_is_not_exists._creating_0__d_n
push dword [edi + 0xd0]
call dword [esi + 0x18]
add esp, 0x10
lea eax, [ebp - 0x28]
lea ecx, [edi + 0xd8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0041df70
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
add eax, ebx
push eax
push 0
call fcn.0043f030
push eax
jmp 0x41cad1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0xd8]
call fcn.0041df70
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx + 0x28]
call fcn.00436fd0
mov eax, dword [edi + 0xd0]
push str.done._n
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
add esp, 8
mov bl, 1
lea ecx, [ebp - 0x58]
call fcn.0043efa0
lea ecx, [ebp - 0x80]
call fcn.00436370
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x41cb17
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004046a0
mov al, bl
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.00464228
mov esp, ebp
pop ebp
ret 0x14