Function at 0x140044f70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x140116008]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [0x1401186c8]
lea r13, [0x1401186c8]
xor r12d, r12d
mov qword [rsp + 0x50], rcx
mov rcx, rdx
mov qword [rsp + 0x40], r12
mov ebp, r12d
mov qword [rsp + 0x48], rdx
mov edi, r12d
mov r14, rdx
call fcn.140030cd0
movzx r15d, al
cmp al, 0xff
je 0x14004506f
movzx ecx, al
call fcn.140031310
mov ebp, eax
lea ecx, [r12 + 1]
add eax, 0x1ff
and eax, 0xfffffe00
mov edx, eax
mov dword [rsp + 0x38], eax
call fcn.14005b1d4
mov qword [rsp + 0x40], rax
test ebp, ebp
je 0x140045062
mov r14d, 0x4000
mov r13, rax
nop dword [rax]
mov esi, ebp
mov edx, edi
sub esi, edi
movzx ecx, r15b
cmp esi, r14d
cmovg esi, r14d
add rdx, r13
lea r8d, [rsi + 1]
sar r8d, 1
call fcn.140031060
movzx eax, ax
cmp eax, esi
je 0x140045050
mov r8d, 0x2db
lea rdx, str.....oslibhttposstub.c
lea rcx, str.ASSERT_FAILED:_s:_d_n
call fcn.140021b20
add edi, esi
cmp edi, ebp
jb 0x140045010
mov r14, qword [rsp + 0x48]
lea r13, [0x1401186c8]
movzx ecx, r15b
call fcn.140030f70
mov edi, dword [rsp + 0x38]
mov esi, r12d
test rbx, rbx
je 0x1400450c0
nop word [rax + rax]
mov esi, dword [rbx]
lea rax, [rbx + 0x10]
mov r8, r14
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400450a3
inc rax
test ecx, ecx
jne 0x140045090
test edx, edx
je 0x1400450c0
add esi, 0x200
lea r13, [rbx + 0x218]
add esi, dword [rbx + 4]
mov rbx, qword [r13]
test rbx, rbx
jne 0x140045080
mov r15, qword [rsp + 0x40]
test r15, r15
jne 0x14004510a
test rbx, rbx
je 0x140045536
mov rdx, r14
lea rcx, str.__Deleted_user_file:__s_n
call fcn.140040c90
mov rax, qword [rbx + 0x218]
mov qword [r13], rax
mov rcx, qword [rbx + 0x210]
call fcn.140052f7c
mov rcx, rbx
call fcn.140052f7c
mov rbx, qword [r13]
jmp 0x1400452d3
mov r9d, edi
mov r8d, ebp
mov rdx, r14
test rbx, rbx
jne 0x14004521a
lea rcx, str.__Add_user_file:__s__size_d_allocated_d__n
call fcn.140040c90
mov edx, 0x220
lea ecx, [rbx + 1]
call fcn.14005b1d4
mov rbx, rax
test rax, rax
je 0x140045536
xor ecx, ecx
mov dword [rax], 1
mov dword [rax + 4], edi
mov dword [rax + 8], ebp
call fcn.140052f0c
mov dword [rbx + 0xc], eax
lea rax, [rbx + 0x10]
mov qword [rbx + 0x210], r15
movzx ecx, byte [r14]
test cl, cl
je 0x14004517e
sub r14, rax
nop dword [rax]
mov byte [rax], cl
inc rax
movzx ecx, byte [r14 + rax]
test cl, cl
jne 0x140045170
mov byte [rax], r12b
lea rdx, str.0100777
lea rax, [rbx + 0x74]
mov cl, 0x30
sub rdx, rax
mov byte [rax], cl
lea rax, [rax + 1]
movzx ecx, byte [rdx + rax]
test cl, cl
jne 0x140045191
lea rdx, str.0000000
mov byte [rax], r12b
mov r8, rdx
lea rax, [rbx + 0x7c]
sub r8, rax
mov cl, 0x30
nop word [rax + rax]
mov byte [rax], cl
lea rax, [rax + 1]
movzx ecx, byte [r8 + rax]
test cl, cl
jne 0x1400451c0
mov byte [rax], r12b
mov cl, 0x30
lea rax, [rbx + 0x84]
sub rdx, rax
nop
mov byte [rax], cl
lea rax, [rax + 1]
movzx ecx, byte [rdx + rax]
test cl, cl
jne 0x1400451e0
mov byte [rax], r12b
mov rcx, rbx
movabs rax, 0x3030007261747375
mov byte [rbx + 0xac], 0x30
mov qword [rbx + 0x111], rax
call fcn.1400447d0
mov qword [r13], rbx
jmp 0x1400452d3
lea rcx, str.__Updated_user_file:__s__new_size_d__d__n
call fcn.140040c90
mov rcx, qword [rbx + 0x210]
call fcn.140052f7c
mov edx, dword [rbx + 4]
cmp edx, edi
je 0x1400452b0
cmp qword [rbx + 0x218], r12
je 0x1400452b0
lea rcx, str.___previously_allocated_to__d__n
call fcn.140040c90
mov rcx, qword [rbx + 0x218]
mov qword [r13], rcx
mov rax, qword [rcx + 0x218]
test rax, rax
je 0x14004527f
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x218]
test rax, rax
jne 0x140045270
mov qword [rcx + 0x218], rbx
mov qword [rbx + 0x218], r12
mov dword [rbx + 4], edi
mov dword [rbx + 8], ebp
call fcn.140009a00
mov rcx, rbx
mov dword [rbx + 0xc], eax
mov qword [rbx + 0x210], r15
call fcn.1400447d0
mov rbx, qword [r13]
jmp 0x1400452d3
mov dword [rbx], 1
mov dword [rbx + 4], edi
mov dword [rbx + 8], ebp
call fcn.140009a00
mov rcx, rbx
mov dword [rbx + 0xc], eax
mov qword [rbx + 0x210], r15
call fcn.1400447d0
mov rdi, qword [rsp + 0x50]
lea r8, [0x14010de70]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140059800
test eax, eax
je 0x140045304
mov rdx, rdi
lea rcx, str.Fail_to_open_User_container_file_for_writing___s__n
call fcn.140040c90
jmp 0x140045536
test esi, esi
je 0x14004544e
mov rdi, qword [0x1401186c8]
cmp rdi, rbx
jne 0x140045331
mov r8d, 0x340
lea rdx, str.....oslibhttposstub.c
lea rcx, str.ASSERT_FAILED:_s:_d_n
call fcn.140021b20
mov r9, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov edx, 0x200
mov r8d, 1
call fcn.14005b6c4
cmp rax, 1
je 0x14004536a
mov r8d, 0x341
lea rdx, str.....oslibhttposstub.c
lea rcx, str.ASSERT_FAILED:_s:_d_n
call fcn.140021b20
mov eax, dword [rdi]
lea r8, [rdi + 0x10]
mov r9d, r12d
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x60]
lea rcx, str._check:_s_vs__s___d_vs__d__n
call fcn.140040c90
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [r8 + rdi + 0x10], 0
jne 0x140045390
inc r8
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.14006eed0
test eax, eax
je 0x1400453c9
mov r8d, 0x343
lea rdx, str.....oslibhttposstub.c
lea rcx, str.ASSERT_FAILED:_s:_d_n
call fcn.140021b20
cmp dword [rdi], r12d
je 0x1400453e7
mov r8d, 0x344
lea rdx, str.....oslibhttposstub.c
lea rcx, str.ASSERT_FAILED:_s:_d_n
call fcn.140021b20
mov edx, dword [rdi + 4]
mov r8d, 1
mov rcx, qword [rsp + 0x30]
call fcn.14005b3e4
add r12d, 0x200
add r12d, dword [rdi + 4]
mov rdi, qword [rdi + 0x218]
cmp r12d, esi
jb 0x140045313
je 0x140045430
mov r8d, 0x349
lea rdx, str.....oslibhttposstub.c
lea rcx, str.ASSERT_FAILED:_s:_d_n
call fcn.140021b20
cmp rdi, rbx
je 0x14004544e
mov r8d, 0x34a
lea rdx, str.....oslibhttposstub.c
lea rcx, str.ASSERT_FAILED:_s:_d_n
call fcn.140021b20
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov edx, esi
call fcn.14005b3e4
test rbx, rbx
je 0x1400454e6
cmp dword [rbx], esi
je 0x1400454b8
mov r9d, dword [rbx + 4]
lea rdx, [rbx + 0x10]
mov r8d, esi
lea rcx, str.Update_content_of_.tar_file_for__s_at__d__write_512_d_bytes__n
call fcn.140040c90
mov dword [rbx], esi
lea rcx, [rbx + 0x10]
mov r9, qword [rsp + 0x30]
mov edx, 0x200
mov r8d, 1
call fcn.1400596c0
mov edx, dword [rbx + 4]
mov r8d, 1
mov r9, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x210]
call fcn.1400596c0
jmp 0x1400454d1
mov edx, dword [rbx + 4]
mov r8d, 1
mov rcx, qword [rsp + 0x30]
add edx, 0x200
call fcn.14005b3e4
add esi, 0x200
add esi, dword [rbx + 4]
mov rbx, qword [rbx + 0x218]
test rbx, rbx
jne 0x140045466
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x200
call fcn.1400500b0
mov r9, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov edx, 0x200
mov r8d, 1
call fcn.1400596c0
mov r9, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov edx, 0x200
mov r8d, 1
call fcn.1400596c0
mov rcx, qword [rsp + 0x30]
call fcn.140056f18
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14004ee60
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret