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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x18], r8
push rsi
push rdi
push r14
sub rsp, 0x50
xor r14d, r14d
lea rax, [0x140166b40]
mov rbx, rdx
mov qword [r11 - 0x28], r14
mov rdx, qword [rcx + 8]
mov rdi, rcx
mov qword [r11 - 0x20], rax
mov rsi, r8
mov ebp, r14d
mov ecx, dword [rdx]
test ecx, ecx
je 0x14000b60a
sub ecx, 1
je 0x14000b58d
sub ecx, 2
je 0x14000b55c
cmp ecx, 3
jne 0x14000b6e5
mov rax, qword [rbx + 8]
cmp dword [rax], r14d
jne 0x14000b5b8
cmp qword [rdi], r14
je 0x14000b539
mov rcx, qword [rdx + 8]
xor r9d, r9d
mov edx, dword [rdi]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_SetFilePointer]
test eax, eax
je 0x14000b6e5
mov rax, qword [rdi + 8]
lea r9, [rsp + 0x70]
mov rdx, qword [rbx]
mov r8d, esi
mov qword [rsp + 0x20], r14
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
jmp 0x14000b5b1
mov rax, qword [rbx + 8]
cmp dword [rax], r14d
jne 0x14000b5b8
mov rcx, qword [rdx + 8]
mov r9d, esi
mov dword [rsp + 0x30], r14d
mov edx, 0x22c187
mov qword [rsp + 0x28], r14
mov r8, qword [rbx]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rdi
call fcn.14000a210
jmp 0x14000b5b1
mov rax, qword [rbx + 8]
cmp dword [rax], r14d
jne 0x14000b5b8
mov rcx, qword [rdx + 8]
mov r9, rsi
mov r8, qword [rbx]
mov rdx, qword [rdi]
mov qword [rsp + 0x20], r14
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov ebp, eax
jmp 0x14000b6e5
mov rdx, rsi
mov ecx, 0x40
call qword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000b6e5
mov r8, rsi
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.14000b4b0
test eax, eax
je 0x14000b5fa
mov r8, rsi
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000b4b0
mov ebp, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_LocalFree]
jmp 0x14000b6e5
mov rdx, qword [rbx + 8]
mov ecx, dword [rdx]
test ecx, ecx
je 0x14000b6d5
sub ecx, 1
je 0x14000b6b5
sub ecx, 1
je 0x14000b69b
sub ecx, 1
je 0x14000b678
cmp ecx, 3
jne 0x14000b6e5
mov rcx, qword [rdx + 8]
xor r9d, r9d
mov edx, dword [rbx]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
je 0x14000b6e5
mov rax, qword [rbx + 8]
lea r9, [rsp + 0x70]
mov rdx, qword [rdi]
mov r8d, esi
mov qword [rsp + 0x20], r14
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
jmp 0x14000b5b1
mov rcx, qword [rdx + 8]
lea rax, [rsp + 0x80]
mov dword [rsp + 0x30], r14d
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov edx, 0x22c183
jmp 0x14000b57b
mov rcx, qword [rdx + 8]
mov r9, rsi
mov r8, qword [rbx]
mov rdx, qword [rdi]
mov rcx, qword [rcx]
call fcn.14000bc1c
jmp 0x14000b5b1
mov rcx, qword [rdx + 8]
mov r9, rsi
mov r8, qword [rdi]
mov rdx, qword [rbx]
mov qword [rsp + 0x20], r14
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
jmp 0x14000b5b1
mov rdx, qword [rbx]
mov rcx, qword [rdi]
call fcn.1400c5ce0
mov ebp, 1
lea r11, [rsp + 0x50]
mov eax, ebp
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret