Function at 0x140005060
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400c8008]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov byte [0x1400cd267], 1
lea rcx, [rsp + 0x60]
call fcn.140005430
nop
lea rdx, [0x14009f070]
lea rcx, [0x14009f07c]
call fcn.140004d50
mov ebx, eax
lea rdx, str.dlcloader.dll
lea rcx, str.loader
call fcn.140004d50
test ebx, ebx
js 0x140005399
test eax, eax
js 0x140005399
mov r8d, ntohs
lea rdx, str.dlclib.dll
lea rcx, [rsp + 0x60]
call fcn.140006460
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400065b0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140006190
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], r12
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x7c], edx
xor r15d, r15d
cmp qword [rbp + 0x10], r15
jne 0x140005180
xor r9d, r9d
lea r8, [0x14009ef10]
lea rdx, str.Unable_to_read_library_into_memory.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140005305
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400068a0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
je 0x1400051bb
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1400051c9
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbp + 0x10], r15
jne 0x1400051db
lea rdx, str.DLCLib_could_not_be_installed.
jmp 0x1400052f3
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1400051f9
lea rdx, str.Could_not_fetch_Kernel_base_address.
jmp 0x1400052f3
lea rdx, [0x14009f190]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x14000521d
lea rdx, str.Could_not_fetch_LoadLibraryA_address.
jmp 0x1400052f3
mov r8d, dword [0x1400cd280]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rcx + r8], r15b
jne 0x140005250
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rdi, rdi
je 0x1400052ec
test rax, rax
je 0x1400052ec
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r9, qword [rsp + 0x40]
lea r8, [rsp + 0x40]
cmovae r8, qword [rsp + 0x40]
nop
lea rbx, [rbx + 1]
cmp byte [r9 + rbx], r15b
jne 0x1400052a0
lea r9, [rbx + 1]
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rsi
mov r9, r14
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x140005307
lea rdx, str.Unable_to_open_process_or_write_memory.
xor r9d, r9d
lea r8, str.SkyblockDLC
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor bl, bl
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r12
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x70]
call fcn.1400060b0
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140005384
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000537f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000537f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400997c0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
jmp 0x1400053b4
xor r9d, r9d
lea r8, [0x14009ef10]
lea rdx, str.Unable_to_download_libraries.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400053f4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400053ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400997c0
movzx eax, bl
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400997a0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret