Function at 0x442b70
Capabilities:
Delete file
Get file attributes
Get file size
Read file on windows
Write file on windows

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x120
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov dword [rbp + 0x84], r8d
mov qword [rbp + 0x58], r9
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xe0], 0
nop
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x442c2a
mov rcx, qword [rbp + 0x48]
call fcn.00411e10
mov rcx, rax
mov edx, 0x40000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov qword [rbp + 0x60], rax
jmp 0x442c7a
lea rcx, [rbp + 0xb8]
mov rdx, qword [rbp + 0x48]
xor r8, r8
call fcn.00411660
mov rcx, qword [rbp + 0xb8]
call fcn.00411320
mov rcx, rax
mov edx, 0x40000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileA
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
cmp rax, 0xffffffffffffffff
setne al
mov byte [rbp + 0x77], al
movzx rax, byte [rbp + 0x77]
test al, al
je 0x4433fc
lea rcx, [rbp + 0xe0]
mov rdx, qword [0x00442b30]
mov r8d, 1
mov r9d, dword [rbp + 0x84]
add r9d, 1
movsxd r9, r9d
call fcn.00413ce0
xor rax, rax
mov dword [rbp + 0x6c], eax
xor rax, rax
mov ecx, dword [rbp + 0x84]
mov dword [rbp + 0x70], ecx
mov ecx, eax
mov eax, dword [rbp + 0x70]
cmp ecx, eax
mov dword [rbp + 0x68], ecx
jg 0x4431e8
mov eax, dword [rbp + 0x70]
add eax, 1
mov dword [rbp + 0x70], eax
mov rax, qword [rbp + 0xe0]
mov ecx, dword [rbp + 0x6c]
movsxd rcx, ecx
mov rdx, rcx
add rcx, rcx
add rcx, rcx
add rcx, rcx
sub rcx, rdx
lea rax, [rax + rcx*8]
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x58]
call fcn.00413940
mov ecx, dword [rbp + 0x68]
movsxd rcx, ecx
cmp rcx, rax
jl 0x442d7e
lea rcx, [rbp + 0xe8]
mov eax, dword [rbp + 0x68]
movsxd rax, eax
mov rdx, qword [rbp + 0x50]
mov rdx, qword [rdx + rax*8]
call fcn.00410750
mov rcx, qword [rbp + 0xe8]
call fcn.004108a0
cmp eax, 1
jl 0x442d7b
mov rcx, qword [rbp + 0xe8]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x5c
jne 0x442d74
lea rcx, [rbp + 0xe8]
mov edx, 1
mov r8d, eax
call fcn.004124e0
jmp 0x442d7b
sub eax, 1
test eax, eax
jne 0x442d4b
nop
jmp 0x442d98
lea rcx, [rbp + 0xe8]
mov eax, dword [rbp + 0x68]
movsxd rax, eax
mov rdx, qword [rbp + 0x58]
mov rdx, qword [rdx + rax*8]
call fcn.00410750
lea rcx, [rbp + 0xb0]
mov rdx, qword [rbp + 0xe8]
call fcn.00427ef0
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0xb0]
call fcn.004107e0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x442e15
mov eax, dword [rbp + 0x68]
movsxd rax, eax
mov rcx, qword [rbp + 0x50]
mov rcx, qword [rcx + rax*8]
call fcn.00411e10
mov rcx, rax
mov edx, 0x80000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov qword [rbp + 0x88], rax
jmp 0x442e76
lea rcx, [rbp + 0xa8]
mov eax, dword [rbp + 0x68]
movsxd rax, eax
mov rdx, qword [rbp + 0x50]
mov rdx, qword [rdx + rax*8]
xor r8, r8
call fcn.00411660
mov rcx, qword [rbp + 0xa8]
call fcn.00411320
mov rcx, rax
mov edx, 0x80000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileA
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
cmp rax, 0xffffffffffffffff
je 0x4431c5
mov rcx, qword [rbp + 0x88]
xor rdx, rdx
call sub.kernel32.dll_GetFileSize
mov esi, eax
mov ecx, 0x40
mov edx, esi
call sub.kernel32.dll_LocalAlloc
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
test rax, rax
je 0x4431b9
mov ecx, 0x40
imul eax, esi, 0xb
mov r8d, 0xa
xor edx, edx
div r8d
mov rdx, rax
add edx, 0xc
mov edx, edx
call sub.kernel32.dll_LocalAlloc
mov rbx, rax
test rbx, rbx
je 0x4431ad
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x90]
mov r8d, esi
lea r9, [rbp + 0x114]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4431a5
cmp dword [rbp + 0x114], esi
jne 0x4431a5
mov dword [rbp + 0xf6], 0x4034b50
mov word [rbp + 0xfa], 0x14
mov word [rbp + 0xfc], 0x800
mov word [rbp + 0xfe], 8
or ecx, 0xffffffff
mov rdx, qword [rbp + 0x90]
mov r8d, esi
call fcn.00442a90
not eax
mov dword [rbp + 0x104], eax
mov rcx, qword [rbp + 0x90]
mov r8, rbx
mov r9d, esi
imul eax, esi, 0xb
mov r10d, 0xa
xor edx, edx
div r10d
add eax, 0xc
mov rdx, r8
mov r8d, r9d
mov r9d, eax
call fcn.004427e0
mov dword [rbp + 0x108], eax
mov dword [rbp + 0x10c], esi
mov rax, qword [rbp + 0x78]
mov rcx, qword [rax]
call fcn.004108b0
mov word [rbp + 0x110], ax
mov word [rbp + 0x112], 0
mov rcx, qword [rbp + 0x88]
xor rdx, rdx
xor r8, r8
lea r9, [rbp + 0x118]
call sub.kernel32.dll_GetFileTime
mov rcx, qword [rbp + 0x118]
lea rdx, [rbp + 0x118]
call fcn.0041f4f0
mov rcx, qword [rbp + 0x118]
lea rdx, [rbp + 0x102]
lea r8, [rbp + 0x100]
call fcn.0041f4c0
mov rax, qword [rbp + 0x78]
lea r13, [rax + 8]
mov dword [r13], 0x2014b50
mov word [r13 + 4], 0x14
lea rdi, [r13 + 6]
lea rsi, [rbp + 0xfa]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsw word [rdi], word [rsi]
mov word [r13 + 0x20], 0
mov word [r13 + 0x22], 0
mov word [r13 + 0x24], 0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44306b
mov eax, dword [rbp + 0x68]
movsxd rax, eax
mov rcx, qword [rbp + 0x50]
mov rcx, qword [rcx + rax*8]
call fcn.00411e10
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
mov dword [r13 + 0x26], eax
jmp 0x4430a0
lea rcx, [rbp + 0xa0]
mov eax, dword [rbp + 0x68]
movsxd rax, eax
mov rdx, qword [rbp + 0x50]
mov rdx, qword [rdx + rax*8]
xor r8, r8
call fcn.00411660
mov rcx, qword [rbp + 0xa0]
call fcn.00411320
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesA
mov dword [r13 + 0x26], eax
mov qword [rbp + 0xc0], 0
mov rcx, qword [rbp + 0x60]
xor rdx, rdx
mov r8d, 1
lea r9, [rbp + 0xc0]
call fcn.0043c020
mov eax, dword [rbp + 0xc0]
mov dword [r13 + 0x2a], eax
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0xf6]
mov r8d, 0x1e
lea r9, [rbp + 0x114]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x443192
cmp dword [rbp + 0x114], 0x1e
jne 0x443192
mov rax, qword [rbp + 0x78]
mov rcx, qword [rax]
call fcn.00411320
mov rsi, rax
mov rax, qword [rbp + 0x78]
mov rcx, qword [rax]
call fcn.004108b0
mov rcx, qword [rbp + 0x60]
mov rdx, rsi
mov r8d, eax
lea r9, [rbp + 0x114]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x443192
mov rax, qword [rbp + 0x78]
mov rcx, qword [rax]
call fcn.004108b0
cmp dword [rbp + 0x114], eax
jne 0x443192
mov rcx, qword [rbp + 0x60]
mov rdx, rbx
mov r8d, dword [rbp + 0x108]
lea r9, [rbp + 0x114]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x443192
mov eax, dword [rbp + 0x114]
cmp eax, dword [rbp + 0x108]
je 0x443197
xor rax, rax
jmp 0x443199
mov al, 1
mov byte [rbp + 0x77], al
mov eax, dword [rbp + 0x6c]
add eax, 1
mov dword [rbp + 0x6c], eax
mov rcx, rbx
call sub.kernel32.dll_LocalFree
mov rcx, qword [rbp + 0x90]
call sub.kernel32.dll_LocalFree
mov rcx, qword [rbp + 0x88]
call sub.kernel32.dll_CloseHandle
movzx rax, byte [rbp + 0x77]
test al, al
je 0x4431e8
mov eax, dword [rbp + 0x68]
add eax, 1
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x70]
mov ecx, dword [rbp + 0x68]
cmp ecx, eax
mov dword [rbp + 0x68], ecx
jne 0x442ce8
nop
movzx rax, byte [rbp + 0x77]
test al, al
je 0x4431f9
mov eax, dword [rbp + 0x6c]
test eax, eax
jg 0x4431fe
xor rax, rax
jmp 0x443200
mov al, 1
mov byte [rbp + 0x77], al
movzx rax, byte [rbp + 0x77]
test al, al
je 0x4433a3
mov dword [rbp + 0xca], 0x6054b50
mov word [rbp + 0xce], 0
mov word [rbp + 0xd0], 0
mov eax, dword [rbp + 0x6c]
mov word [rbp + 0xd2], ax
mov word [rbp + 0xd4], ax
mov dword [rbp + 0xd6], 0
mov rcx, qword [rbp + 0x60]
xor rdx, rdx
mov r8d, 1
lea r9, [rbp + 0xc0]
call fcn.0043c020
mov eax, dword [rbp + 0xc0]
mov dword [rbp + 0xda], eax
mov word [rbp + 0xde], 0
xor rax, rax
mov esi, dword [rbp + 0x6c]
sub esi, 1
cmp eax, esi
mov dword [rbp + 0x68], eax
jg 0x44335b
add esi, 1
mov rax, qword [rbp + 0xe0]
mov ecx, dword [rbp + 0x68]
movsxd rcx, ecx
mov rdx, rcx
add rcx, rcx
add rcx, rcx
add rcx, rcx
sub rcx, rdx
lea rbx, [rax + rcx*8]
mov rcx, qword [rbx]
call fcn.004108b0
lea rcx, [rbp + 0xd6]
mov edx, dword [rcx]
add edx, eax
add edx, 0x2e
mov dword [rcx], edx
mov rcx, qword [rbp + 0x60]
lea rdx, [rbx + 8]
mov r8d, 0x2e
lea r9, [rbp + 0x114]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x44333c
cmp dword [rbp + 0x114], 0x2e
jne 0x44333c
mov rcx, qword [rbx]
call fcn.00411320
mov rdi, rax
mov rcx, qword [rbx]
call fcn.004108b0
mov rcx, qword [rbp + 0x60]
mov rdx, rdi
mov r8d, eax
lea r9, [rbp + 0x114]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x44333c
mov rcx, qword [rbx]
call fcn.004108b0
cmp dword [rbp + 0x114], eax
je 0x443344
xor rax, rax
mov byte [rbp + 0x77], al
jmp 0x44335b
mov eax, dword [rbp + 0x68]
add eax, 1
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x68]
cmp eax, esi
mov dword [rbp + 0x68], eax
jne 0x44328d
nop
movzx rax, byte [rbp + 0x77]
test al, al
je 0x443399
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0xca]
mov r8d, 0x16
lea r9, [rbp + 0x114]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x443399
cmp dword [rbp + 0x114], 0x16
je 0x44339e
xor rax, rax
jmp 0x4433a0
mov al, 1
mov byte [rbp + 0x77], al
mov rcx, qword [rbp + 0x60]
call sub.kernel32.dll_CloseHandle
movzx rax, byte [rbp + 0x77]
test al, al
jne 0x4433fc
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x4433d5
mov rcx, qword [rbp + 0x48]
call fcn.00411e10
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
jmp 0x4433fc
lea rcx, [rbp + 0x98]
mov rdx, qword [rbp + 0x48]
xor r8, r8
call fcn.00411660
mov rcx, qword [rbp + 0x98]
call fcn.00411320
mov rcx, rax
call sub.kernel32.dll_DeleteFileA
nop
lea rcx, [rbp + 0x98]
mov edx, 5
call fcn.00410190
lea rcx, [rbp + 0xe0]
mov rdx, qword [0x00442b30]
call fcn.00413ec0
lea rcx, [rbp + 0xe8]
call fcn.00410080
movzx rax, byte [rbp + 0x77]
lea rsp, [rbp + 0x120]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret