Function at 0x1400055c4
Capabilities:
Read file on windows

Disassembly:
jmp 0x14030bf20
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
lea rbp, [rsp + 0x30]
mov r12, rcx
mov r15, r8
mov r13, rdx
lea r14, [0x140000000]
mov esi, dword [r12]
lea eax, [rsi - 1]
cmp eax, 0x31
jbe 0x14030bf76
movabs rax, 0x5551455344414552
mov dword [0x140761844], esi
mov qword [0x140761848], rax
mov dword [0x140898f1c], 1
jmp 0x14030c15e
movsxd rsi, esi
imul r9, rsi, 0x138
cmp qword [r14 + r9 + 0x75da18], 0xffffffffffffffff
je 0x14030bf98
mov rdx, qword [r14 + r9 + 0x75da30]
test rdx, rdx
jne 0x14030bfbe
movabs rax, 0x5551455344414552
mov dword [0x140761844], esi
mov qword [0x140761848], rax
mov dword [0x140898f1c], 0x2710
jmp 0x14030c15e
mov eax, r15d
xor esi, esi
mov dword [0x140898f1c], 0
mov r8d, dword [r14 + r9 + 0x75da24]
mov edi, dword [r14 + r9 + 0x75da20]
test eax, eax
jle 0x14030c14e
mov dword [rbp + 0x20], r8d
mov r14d, eax
mov qword [rbp + 0x10], r15
mov r15, rdx
mov qword [rbp + 0x18], rbx
test edi, edi
jle 0x14030c004
mov r8d, dword [rbp + 0x20]
cmp edi, r8d
jle 0x14030c07f
movsxd rbx, dword [r12]
lea r11, [0x140000000]
imul rbx, rbx, 0x138
mov r10, rsp
lea r9, [rbp + 0x20]
mov rcx, qword [r11 + rbx + 0x75da18]
xor edi, edi
mov rdx, qword [r11 + rbx + 0x75da30]
mov r8d, dword [r11 + rbx + 0x75da38]
mov dword [r9], 0
mov qword [r10 + 0x20], 0
call sub.KERNEL32.dll_ReadFile
movsxd rbx, dword [r12]
lea r8, [0x140000000]
imul r9, rbx, 0x138
inc qword [r8 + r9 + 0x75da40]
test eax, eax
je 0x14030c1e1
mov r8d, dword [rbp + 0x20]
test r8d, r8d
je 0x14030c16e
mov edi, 1
sub r8d, edi
mov ebx, r14d
inc r8d
sub ebx, esi
movsxd r10, esi
cmp r8d, ebx
mov rax, r10
cmovl ebx, r8d
neg rax
test r15, r15
jne 0x14030c0e5
mov r8, rsp
lea r11, str.LBUFFER
mov ecx, 0x10100009
lea rdx, [0x140516d20]
mov r9d, 9
mov qword [r8 + 0x20], r11
lea r11, str.PLBUFFER
mov qword [r8 + 0x28], r11
mov r8d, 3
mov qword [rbp], rax
mov qword [rbp + 8], r10
call fcn.140002199
mov r10, qword [rbp + 8]
mov rax, qword [rbp]
movsxd rbx, ebx
lea r8, [r10 + rax - 1]
movsxd rdi, edi
lea rcx, [r13 + r10]
xor r10d, r10d
mov rax, rsp
lea rdx, [r8 + rbx + 1]
test rdx, rdx
lea r11, [rdi - 1]
mov qword [rax + 0x20], r10
lea r9, [rdi + rbx]
cmovle rdx, r10
sub r9, r11
dec r9
lea r8, [r15 + rdi - 1]
cmovle r9, r10
call fcn.1400025f4
add esi, ebx
add edi, ebx
cmp esi, r14d
jl 0x14030bff7
movsxd rax, dword [r12]
lea r14, [0x140000000]
mov rbx, qword [rbp + 0x18]
mov r8d, dword [rbp + 0x20]
imul r9, rax, 0x138
mov dword [r14 + r9 + 0x75da24], r8d
mov dword [r14 + r9 + 0x75da20], edi
lea rsp, [rbp + 0x30]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, qword [rbp + 0x10]
mov r10, rsp
movsxd rsi, esi
xor eax, eax
movsxd rdx, r15d
add r13, rsi
sub rdx, rsi
mov rcx, r13
lea r8, [0x140516da0]
cmovle rdx, rax
mov r9d, 1
lea r14, [0x140000000]
mov rbx, qword [rbp + 0x18]
mov dword [0x140898f1c], 0xffffffff
mov qword [r10 + 0x20], rax
call fcn.1400025f4
nop
movsxd rdx, dword [r12]
movabs rax, 0x5551455344414552
mov dword [0x140761844], edx
mov qword [0x140761848], rax
mov r8d, dword [rbp + 0x20]
imul r9, rdx, 0x138
jmp 0x14030c14e
mov r15, qword [rbp + 0x10]
lea r14, [0x140000000]
mov rbx, qword [rbp + 0x18]
call sub.KERNEL32.dll_GetLastError
nop
movsxd rsi, esi
mov r10, rsp
movsxd rdx, r15d
add r13, rsi
sub rdx, rsi
mov rcx, r13
mov dword [0x140898f1c], eax
mov eax, 0
cmovle rdx, rax
lea r8, [0x140516da4]
mov r9d, 1
mov qword [r10 + 0x20], rax
call fcn.1400025f4
movsxd rdx, dword [r12]
movabs rax, 0x5551455344414552
mov dword [0x140761844], edx
mov qword [0x140761848], rax
mov r8d, dword [rbp + 0x20]
imul r9, rdx, 0x138
jmp 0x14030c14e