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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2070
call fcn.180089590
sub rsp, rax
mov rax, qword [0x1800ab9c8]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov rbx, qword [rsp + 0x20d0]
lea r12d, [rcx + 7]
mov qword [rsp + 0x38], r8
mov r9, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x50], rbx
cmp ecx, r12d
jae case.0x180082db5.16
mov r15d, dword [rsp + 0x34]
lea r14d, [rcx - 0x7d]
mov r13, qword [rsp + 0x48]
lea rdx, [0x180000000]
nop dword [rax + rax]
cmp r14d, 0x10
ja case.0x180082db5.2
mov ecx, dword [rdx + r14*4 + 0x83018]
add rcx, rdx
jmp rcx
xor r15d, r15d
xor ebp, ebp
cmp dword [0x1800aa0f8], ebp
jle case.0x180082db5.2
lea rbx, str.ERROR:_failed__status_d__to_append_to_buffer
nop
mov rcx, qword [rbx]
lea rdx, [0x1800a03e0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x180082e08
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx]
lea rdx, str.Socket.prototype.close__function___
mov rcx, rax
call fcn.180088e90
jmp 0x180082efe
mov r9, rdi
lea rcx, [rsp + 0x60]
mov edx, 0x1000
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
je 0x180082e49
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx]
lea rdx, str._IpcMessageHandlerClass::OnPpapiChannelsCreated
mov rcx, rax
call fcn.180088e90
jmp 0x180082ef5
mov r9, rdi
lea rcx, [rsp + 0x1060]
mov edx, 0x1000
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
je 0x180082e8a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx]
lea rdx, str.YiesZSLX0zzG5Y6yU8xJzrww_nsOM5D77dIUkR8Hrw
mov rcx, rax
call fcn.180088e90
jmp 0x180082ef5
cmp qword [rbx + 0x20], 0
jne 0x180082ef5
mov ecx, 0x2000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x180082ec1
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebp
lea rdx, str.Scan_start_request_ignored_due_to_model_not_loaded.
mov rcx, rax
call fcn.180088e90
jmp 0x180082ef5
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + 0x1000]
mov r8d, 0x1000
lea rdx, [rsp + 0x1060]
call sub.VCRUNTIME140.dll_memcpy
inc r15d
mov qword [rbx + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
inc ebp
add rbx, 0x28
cmp ebp, dword [0x1800aa0f8]
jl 0x180082dd0
mov rbx, qword [rsp + 0x50]
jmp 0x180082fee
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rsp + 0x30], 1
jmp 0x180082fee
movsxd rcx, dword [rsp + 0x34]
mov rax, qword [rbx]
sub rax, rcx
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
lea rdx, [rcx + r8]
mov qword [rsp + 0x20], rax
mov r8d, 0xeb
lea rcx, [rsp + 0x48]
call fcn.1800449d0
jmp 0x180082fee
lea rdx, [0x18009e518]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r13, rax
test rax, rax
je 0x180082fa7
mov r9, rax
mov edx, 0x1000
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
je 0x180082fee
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.180089600
mov rbx, qword [rsp + 0x20b0]
add rsp, 0x2070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.llvm.x86.avx512.kor.w
mov rcx, r8
call fcn.180088fc0
mov dword [rsp + 0x34], eax
mov r8, qword [rsp + 0x38]
lea rdx, [0x180000000]
mov r9, qword [rsp + 0x40]
inc r14d
lea eax, [r14 + 0x7d]
cmp eax, r12d
jb 0x180082da0
jmp case.0x180082db5.16
mov eax, r15d
jmp 0x180082fb0