Function at 0x1400112c1
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x140013d60
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
lea rcx, [0x140029544]
call fcn.140011497
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140013e2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.____Failed_to_open_the_DLL_file_
lea rcx, str._____s._Error_d
call fcn.140011032
jmp 0x140013fd2
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0xffffffff
je 0x140013e51
cmp dword [rbp + 0x84], 0
jne 0x140013e72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.____Failed_to_get_the_DLL_file_size_
lea rcx, str._____s._Error_d
call fcn.140011032
jmp 0x140013fd2
mov edx, dword [rbp + 0x84]
lea rcx, str.___File_Size:__d_n
call fcn.140011032
mov eax, dword [rbp + 0x84]
mov qword [rbp + 0x178], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x178]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140013ed8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.____Failed_to_get_the_DLL_file_size_
lea rcx, str._____s._Error_d
call fcn.140011032
jmp 0x140013fd2
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140013f22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.____Failed_to_alloc_a_buffer_
lea rcx, str._____s._Error_d
call fcn.140011032
jmp 0x140013fd2
mov r8d, dword [rbp + 0x1a8]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140013f5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.____Failed_to_open_the_target_process_
lea rcx, str._____s._Error_d
call fcn.140011032
jmp 0x140013fd2
xor r9d, r9d
mov r8d, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call fcn.1400113c0
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140013f9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.____Failed_to_inject_the_DLL_
lea rcx, str._____s._Error_d
call fcn.140011032
jmp 0x140013fd2
mov r8d, dword [rbp + 0x1a8]
mov rdx, qword [rbp + 0x1a0]
lea rcx, str.___Injected__s_into_process_ID__d_
call fcn.140011032
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
test eax, eax
jne 0x140013dd0
cmp qword [rbp + 0x68], 0
je 0x140013fee
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x48], 0
je 0x140013fff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001f8f0]
call fcn.1400113ed
mov eax, edi
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret