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

Disassembly:
jmp 0x1400122a0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x17d8
call fcn.1400110d2
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x46a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x17f8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1798], rax
lea rcx, [0x1400270a2]
call fcn.140011410
nop
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 0
mov qword [rbp + 0x10e8], 0
mov qword [rbp + 0x1108], 0
mov qword [rbp + 0x1128], 0
mov qword [rbp + 0x1148], 0
xor eax, eax
mov word [rbp + 0x1164], ax
mov dword [rbp + 0x1184], 0
mov r8d, 0x10
xor edx, edx
lea rcx, [rbp + 8]
call fcn.140011339
nop
mov eax, 5
mov word [rbp + 8], ax
mov byte [rbp + 0xa], 0xb
mov byte [rbp + 0xb], 3
mov dword [rbp + 0xc], 0x10
mov eax, 0x48
mov word [rbp + 0x10], ax
xor eax, eax
mov word [rbp + 0x12], ax
mov rax, qword [rbp + 0x17c0]
mov eax, dword [rax + 8]
mov dword [rbp + 0x14], eax
mov r8d, 0x38
xor edx, edx
lea rcx, [rbp + 0x38]
call fcn.140011339
nop
mov eax, 0x1000
mov word [rbp + 0x38], ax
mov eax, 0x1000
mov word [rbp + 0x3a], ax
mov dword [rbp + 0x3c], 0
mov byte [rbp + 0x40], 1
xor eax, eax
mov word [rbp + 0x44], ax
mov eax, 1
mov word [rbp + 0x46], ax
mov dword [rbp + 0x6c], 2
mov r8d, 0x10
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x17c8]
call fcn.14001119f
test eax, eax
je 0x1400123fc
mov eax, 1
jmp 0x14001263c
mov eax, dword [rbp + 0x17d0]
mov dword [rbp + 0x58], eax
mov r8d, 0x10
lea rdx, [rbp + 0x5c]
lea rcx, str.8a885d04_1ceb_11c9_9fe8_08002b104860
call fcn.14001119f
test eax, eax
je 0x140012429
mov eax, 1
jmp 0x14001263c
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x84]
mov r8d, 0x10
lea rdx, [rbp + 8]
mov rax, qword [rbp + 0x17c0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140012461
mov eax, 1
jmp 0x14001263c
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x84]
mov r8d, 0x38
lea rdx, [rbp + 0x38]
mov rax, qword [rbp + 0x17c0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140012499
mov eax, 1
jmp 0x14001263c
mov rax, qword [rbp + 0x17c0]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rbp + 0x17c0]
mov dword [rcx + 8], eax
mov r8d, 0x1000
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.140011339
nop
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
mov r8d, 0x1000
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x17c0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400124ff
mov eax, 1
jmp 0x14001263c
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x10e8], rax
mov rax, qword [rbp + 0x10e8]
movzx eax, word [rax]
cmp eax, 5
je 0x140012526
mov eax, 1
jmp 0x14001263c
mov rax, qword [rbp + 0x10e8]
movzx eax, byte [rax + 2]
cmp eax, 0xc
je 0x140012540
mov eax, 1
jmp 0x14001263c
mov rax, qword [rbp + 0x10e8]
movzx eax, byte [rax + 3]
cmp eax, 3
je 0x14001255a
mov eax, 1
jmp 0x14001263c
mov rax, qword [rbp + 0x10e8]
movzx eax, word [rax + 8]
cmp eax, dword [rbp + 0xa4]
je 0x140012577
mov eax, 1
jmp 0x14001263c
mov rax, qword [rbp + 0x10e8]
add rax, 0x10
mov qword [rbp + 0x1108], rax
mov rax, qword [rbp + 0x1108]
add rax, 8
mov qword [rbp + 0x1148], rax
mov rax, qword [rbp + 0x1148]
movzx eax, word [rax]
mov word [rbp + 0x1164], ax
movzx eax, word [rbp + 0x1164]
cmp eax, 0x100
jle 0x1400125c1
mov eax, 1
jmp 0x14001263c
movzx eax, word [rbp + 0x1164]
add rax, 5
xor edx, edx
mov ecx, 4
div rcx
shl rax, 2
movzx ecx, word [rbp + 0x1164]
add rcx, 2
sub rax, rcx
mov dword [rbp + 0x1184], eax
movzx eax, word [rbp + 0x1164]
mov rcx, qword [rbp + 0x1148]
lea rax, [rcx + rax + 2]
mov ecx, dword [rbp + 0x1184]
add rax, rcx
mov qword [rbp + 0x1128], rax
mov rax, qword [rbp + 0x1128]
cmp dword [rax], 1
je 0x140012624
mov eax, 1
jmp 0x14001263c
mov rax, qword [rbp + 0x1128]
movzx eax, word [rax + 4]
test eax, eax
je 0x14001263a
mov eax, 1
jmp 0x14001263c
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001cf30]
call fcn.14001138e
mov rax, rdi
mov rcx, qword [rbp + 0x1798]
xor rcx, rbp
call fcn.14001120d
lea rsp, [rbp + 0x17a8]
pop rdi
pop rbp
ret