Function at 0x140001a70
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push rbp
push r12
push r14
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rcx
mov dword [rbp - 5], 0
lea rcx, str.Kernel32.dll
mov dword [rbp - 9], 1
mov r15d, edx
mov dword [rbp + 0xf], 0x61657243
mov dword [rbp + 0x13], 0x69466574
mov dword [rbp + 0x17], 0x57656c
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, r12
call rax
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140001b28
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_r_n
call fcn.140001070
jmp 0x140001bd6
xor edx, edx
mov qword [rsp + 0xc8], rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [rsi - 1]
cmp ecx, 0xfffffffd
ja 0x140001d4f
mov qword [rsp + 0xc0], rbx
lea rcx, str.Kernel32.dll
mov qword [rsp + 0x80], rdi
mov dword [rbp - 1], 0x70616548
mov dword [rbp + 3], 0x6f6c6c41
mov word [rbp + 7], 0x63
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, esi
xor edx, edx
mov rcx, rax
call rdi
mov rbx, rax
test rax, rax
jne 0x140001bf4
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_r_n
call fcn.140001070
mov rbx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xc8]
mov eax, dword [rbp - 9]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140001d80
add rsp, 0x88
pop r15
pop r14
pop r12
pop rbp
ret
lea r9, [rbp - 5]
mov qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001c23
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____Failed_to_alloc_a_buffer_
jmp 0x140001c73
lea rcx, str.Kernel32.dll
mov dword [rbp + 0x1f], 0x6e65704f
mov dword [rbp + 0x23], 0x636f7250
mov dword [rbp + 0x27], 0x737365
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, r15d
xor edx, edx
mov ecx, 0x43a
call rax
mov r14, rax
test rax, rax
jne 0x140001c9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____Failed_to_open_the_target_process_
mov r8d, eax
lea rcx, str._s._Error_d_r_n
call fcn.140001070
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140001bbe
mov r8d, esi
mov rdx, rbx
mov rcx, r14
call fcn.140001410
mov rdi, rax
test rax, rax
jne 0x140001ccf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.____Failed_to_inject_the_DLL_
lea rcx, str._s._Error_d_r_n
call fcn.140001070
jmp 0x140001d2d
mov r8d, r15d
lea rcx, str.___Injected__s_into_process_ID__d_
mov rdx, r12
call fcn.140001010
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x140001d1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_get_exit_code_of_thread
lea rcx, str._s._Error_d_r_n
call fcn.140001070
jmp 0x140001d2d
mov edx, dword [rbp - 9]
lea rcx, str.___Created_thread_exited_with_code__d._n
call fcn.140001070
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001bbe
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_r_n
call fcn.140001070
jmp 0x140001bce