Function at 0x140002690
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x1400cc7b0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
mov qword [rbp - 0x31], rcx
xor ebx, ebx
mov qword [rbp - 0x61], rbx
mov eax, edx
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rbx
mov dword [rbp - 0x29], 0x30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
mov r14, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, r14
mov qword [rbp - 0x51], rdx
call fcn.140002c60
mov rcx, rax
call fcn.1400055a0
mov qword [rbp - 0x59], rbx
mov qword [rbp + 0xf], rbx
mov dword [rbp + 7], ebx
mov qword [rbp - 0x49], rbx
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
jne 0x140002773
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000276c
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14000275c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400029a2
mov rcx, r8
call fcn.14006c650
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
xor al, al
jmp 0x14000297b
lea rdx, str.NtOpenProcess
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.NtWriteVirtualMemory
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x79], rax
lea rdx, str.NtProtectVirtualMemory
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.NtCreateThreadEx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x71], rax
lea rdx, str.NtWaitForSingleObject
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.NtFreeVirtualMemory
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x69], rax
lea rdx, str.NtClose
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x29]
mov edx, 0x1fffff
lea rcx, [rbp - 0x61]
call rbx
test eax, eax
je 0x14000282f
xor bl, bl
xor r14d, r14d
jmp 0x140002905
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp - 0x51]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
call r15
test eax, eax
je 0x14000285f
xor bl, bl
xor r14d, r14d
jmp 0x140002905
mov r9, qword [rdi + 8]
sub r9, qword [rdi]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
mov r8, r14
mov rdx, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
call qword [rbp - 0x79]
test eax, eax
je 0x140002888
xor bl, bl
xor r14d, r14d
jmp 0x140002905
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
call r13
test eax, eax
je 0x1400028b1
xor bl, bl
xor r14d, r14d
jmp 0x140002905
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov rax, qword [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x61]
lea r8, [rbp - 0x29]
mov edx, 0x1fffff
lea rcx, [rbp - 0x49]
call qword [rbp - 0x71]
test eax, eax
je 0x1400028f7
xor bl, bl
jmp 0x140002905
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x49]
call r12
mov bl, 1
cmp qword [rbp - 0x59], 0
je 0x140002921
mov r9d, 0x4000
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
call qword [rbp - 0x69]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14000292c
call rsi
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140002938
call rsi
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x140002978
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140002968
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400029a2
mov rcx, r8
call fcn.14006c650
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
movzx eax, bl
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14006c630
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400762a8
int3