Function at 0x410a70
Capabilities:
Delete file
Encode data using xor
Get file size
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [0x431014]
lea ecx, [ebp - 0x48]
push edi
push 0
push dword [ebp + 8]
or edi, 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x20], 0
call fcn.0040b0c0
mov ebx, dword [ebp - 0x48]
test eax, eax
je 0x410f1f
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x3c], edi
cmp edi, 0xffffffff
jne 0x410ad2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x3c]
push edi
mov dword [ebp - 0x30], edi
call fcn.00414eeb
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x410f1c
test edi, edi
je 0x410afc
push 0
lea ecx, [ebp - 0x38]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp ebx, 0xffffffff
je 0x410b08
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x1c], 0
push eax
push edi
push dword [ebp - 0x10]
or ebx, 0xffffffff
mov dword [ebp - 0x14], 0x200
push 0
push 0x200
mov dword [ebp - 0x48], ebx
call fcn.0040f7f0
add esp, 0x20
test eax, eax
jne 0x410b83
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0x10]
push 0
push 0
call fcn.0040f7f0
add esp, 0x20
test eax, eax
je 0x410f0c
push dword [ebp - 0x1c]
call fcn.00414eeb
mov edi, dword [ebp - 0x10]
mov esi, eax
mov eax, dword [ebp - 0x14]
add esp, 4
mov ebx, dword [ebp - 8]
add eax, 8
add edi, eax
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 8]
lea ecx, [esi + 4]
add ebx, 0xc
mov dword [ebp - 0x2c], edi
sub eax, esi
mov edx, edi
mov dword [ebp - 0x14], eax
mov edi, 0x20
mov esi, eax
nop dword [eax + eax]
mov eax, dword [edx - 8]
lea ecx, [ecx + 0x10]
xor eax, dword [ebx - 0xc]
lea edx, [edx + 0x10]
xor eax, 0x30303030
lea ebx, [ebx + 0x10]
mov dword [ecx - 0x14], eax
mov eax, dword [esi + ecx - 0x10]
xor eax, dword [edx - 0x14]
xor eax, 0x30303030
mov dword [ecx - 0x10], eax
mov eax, dword [ebx - 0x14]
xor eax, dword [edx - 0x10]
xor eax, 0x30303030
mov dword [ecx - 0xc], eax
mov eax, dword [edx - 0xc]
xor eax, dword [ebx - 0x10]
xor eax, 0x30303030
mov dword [ecx - 8], eax
sub edi, 1
jne 0x410bc0
mov eax, dword [ebp - 4]
mov edx, 0x200
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
lea ecx, [eax - 0x200]
mov dword [ebp - 0x38], ecx
cmp eax, edx
jbe 0x410cdb
mov ebx, dword [ebp - 0xc]
cmp ecx, 0x40
jb 0x410cb5
lea esi, [ebx - 1]
add esi, eax
lea ecx, [ebx + 0x200]
dec eax
mov dword [ebp - 0x34], esi
add eax, dword [ebp - 8]
cmp ecx, eax
ja 0x410c54
mov eax, dword [ebp - 8]
add eax, edx
cmp esi, eax
mov esi, dword [ebp - 0x18]
jae 0x410cb5
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 4]
and eax, 0x3f
movaps xmm1, xmmword [str.0000000000000000]
sub edi, eax
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x2c]
movups xmm0, xmmword [ecx + eax]
lea ecx, [ecx + 0x40]
pxor xmm0, xmm1
movups xmmword [ecx - 0x40], xmm0
movups xmm0, xmmword [edx + esi + 0x10]
pxor xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [edx + esi + 0x20]
pxor xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
movups xmm0, xmmword [edx + esi + 0x30]
add edx, 0x40
pxor xmm0, xmm1
movups xmmword [ecx - 0x10], xmm0
cmp edx, dword [ebp - 0x38]
jb 0x410c72
mov esi, dword [ebp - 0x18]
jmp 0x410cb8
mov eax, dword [ebp - 0x14]
cmp edx, dword [ebp - 4]
jae 0x410cd8
lea ecx, [edx + ebx]
mov ebx, dword [ebp - 4]
sub ebx, edx
mov al, byte [eax + ecx]
lea ecx, [ecx + 1]
xor al, 0x30
mov byte [ecx - 1], al
mov eax, dword [ebp - 0x14]
sub ebx, 1
jne 0x410cc5
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
lea ecx, [ebp - 0x40]
push 0
push ecx
push eax
push ebx
call fcn.00411320
add esp, 0x10
test eax, eax
je 0x410efc
push dword [ebp - 0x38]
call fcn.00414eeb
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
push ebx
call fcn.00411320
add esp, 0x14
test eax, eax
je 0x410eec
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp - 0x18]
call dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x410eec
push dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp - 0x18]
lea eax, [ebp - 0x40]
push eax
call fcn.00410840
add esp, 0x14
test eax, eax
je 0x410eec
push 0
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call fcn.004105f0
mov eax, dword [ebp - 8]
lea edx, [ebx + 0xc]
add esp, 0x10
mov esi, 0x20
sub ebx, eax
lea ecx, [eax + 4]
mov eax, dword [edi - 8]
lea ecx, [ecx + 0x10]
xor eax, dword [edx - 0xc]
lea edi, [edi + 0x10]
xor eax, 0x30303030
lea edx, [edx + 0x10]
mov dword [ecx - 0x14], eax
mov eax, dword [ebx + ecx - 0x10]
xor eax, dword [edi - 0x14]
xor eax, 0x30303030
mov dword [ecx - 0x10], eax
mov eax, dword [edx - 0x14]
xor eax, dword [edi - 0x10]
xor eax, 0x30303030
mov dword [ecx - 0xc], eax
mov eax, dword [edi - 0xc]
xor eax, dword [edx - 0x10]
xor eax, 0x30303030
mov dword [ecx - 8], eax
sub esi, 1
jne 0x410d73
mov esi, dword [ebp - 4]
mov edx, 0x200
lea eax, [esi - 0x200]
cmp esi, edx
jbe 0x410e78
cmp eax, 0x40
jb 0x410e5d
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, edx
lea eax, [edi + 0x200]
mov dword [ebp - 0x38], eax
lea eax, [edi - 1]
add eax, esi
cmp ecx, eax
ja 0x410dfe
mov eax, dword [ebp - 8]
dec eax
add eax, esi
cmp eax, dword [ebp - 0x38]
jae 0x410e5d
movaps xmm1, xmmword [str.0000000000000000]
lea eax, [esi - 0x200]
and eax, 0x3f
mov dword [ebp - 0x38], eax
mov eax, esi
sub eax, dword [ebp - 0x38]
nop word [eax + eax]
movups xmm0, xmmword [ecx + ebx]
lea ecx, [ecx + 0x40]
pxor xmm0, xmm1
movups xmmword [ecx - 0x40], xmm0
movups xmm0, xmmword [edi + edx + 0x10]
pxor xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [edi + edx + 0x20]
pxor xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
movups xmm0, xmmword [edi + edx + 0x30]
add edx, 0x40
pxor xmm0, xmm1
movups xmmword [ecx - 0x10], xmm0
cmp edx, eax
jb 0x410e20
cmp edx, esi
jae 0x410e78
mov ecx, dword [ebp - 8]
add ecx, edx
sub esi, edx
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor al, 0x30
mov byte [ecx - 1], al
sub esi, 1
jne 0x410e68
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
push edi
call fcn.00408520
push str..bak
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str..bak
push eax
lea ecx, [ebp - 0x24]
call fcn.00408e20
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x410ee2
push 0x1001
push edi
lea ecx, [ebp - 0x48]
call fcn.0040b0c0
test eax, eax
je 0x410ee2
push dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
push dword [ebp - 0x10]
call fcn.0040caa0
lea ecx, [ebp - 0x48]
call fcn.00408d50
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x410ee9
mov dword [ebp - 0x28], 0xfffffffe
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x410efc
push eax
call fcn.00414ef4
add esp, 4
test ebx, ebx
je 0x410f09
push ebx
call fcn.00414ef4
add esp, 4
mov ebx, dword [ebp - 0x48]
push dword [ebp - 0x10]
call fcn.00414ef4
mov edi, dword [ebp - 0x28]
add esp, 4
jmp 0x410f1f
or edi, 0xffffffff
cmp ebx, 0xffffffff
je 0x410f2b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0xc]
cmp eax, dword [0x431010]
je 0x410f4e
add esi, 0xfffffff4
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x410f4e
push esi
call fcn.00414ef4
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret