Function at 0xbef07720
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0xbef0e510]
lea rsi, [0xbeef22d8]
mov qword [rsp + 0x68], rax
xor r15d, r15d
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x70], rax
mov rax, qword [0xbef0e568]
mov qword [rsp + 0x5e0], rbx
mov rbx, qword [0xbef0e548]
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x5c], edx
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x64], r9d
test rax, rax
je 0xbef077b2
cmp rsi, qword [0xbef0dab0]
jb 0xbef077b2
cmp rsi, qword [0xbef0dab8]
ja 0xbef077b2
mov rdx, rsi
mov rcx, rbx
call rax
test rax, rax
jne 0xbef077be
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [0xbef0e548]
lea rsi, [0xbeef2260]
mov qword [rsp + 0x78], rax
mov rax, qword [0xbef0e568]
test rax, rax
je 0xbef077fc
cmp rsi, qword [0xbef0dab0]
jb 0xbef077fc
cmp rsi, qword [0xbef0dab8]
ja 0xbef077fc
mov rdx, rsi
mov rcx, rbx
call rax
test rax, rax
jne 0xbef07808
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movups xmm0, xmmword [0xbeef4e00]
mov rsi, qword [rbp + 0x500]
lea r9, [rsp + 0x48]
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x40]
mov eax, dword [0xbeef4e10]
xor r8d, r8d
mov dword [rbp - 0x68], eax
mov rcx, rsi
movzx eax, word [0xbeef4e14]
mov word [rbp - 0x64], ax
movzx eax, word [0xbeef4e20]
mov word [rbp - 0x5a], ax
movzx eax, byte [0xbeef4e22]
mov byte [rbp - 0x58], al
movzx eax, word [0xbeef4e30]
movups xmmword [rbp - 0x78], xmm0
mov word [rbp - 0x4f], ax
movsd xmm0, qword [0xbeef4e18]
movzx eax, byte [0xbeef4e32]
movsd qword [rbp - 0x62], xmm0
movsd xmm0, qword [0xbeef4e28]
mov byte [rbp - 0x4d], al
mov rax, qword [0xbef0de30]
mov dword [rsp + 0x28], 0x40
movsd qword [rbp - 0x57], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 0x1000
mov dword [rsp + 0x20], 0x3000
call rax
test eax, eax
jne 0xbef07a3b
mov r9, qword [rsp + 0x48]
lea r8, section..rdata
mov rdx, qword [rsp + 0x40]
add r9, 0xffffffffffffff98
mov rax, qword [0xbef0dd88]
add rdx, 0x68
mov rcx, rsi
mov qword [rsp + 0x20], r15
call rax
test eax, eax
jne 0xbef07a3b
mov rax, qword [0xbef0dde0]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x30], r15d
mov r8, rsi
mov dword [rsp + 0x28], r15d
mov rdx, rdi
mov rcx, rdi
mov dword [rsp + 0x20], 0x40
call rax
test eax, eax
jne 0xbef07a3b
mov rax, qword [0xbef0dd88]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov r9d, 0x68
mov rcx, rsi
mov qword [rsp + 0x20], r15
call rax
test eax, eax
jne 0xbef07a3b
mov rbx, qword [rbp + 0x508]
mov qword [rsp + 0x5e8], r14
xor r14b, r14b
test rbx, rbx
jne 0xbef07997
mov rax, qword [rsp + 0x40]
lea rdx, [0xbef0d9f8]
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rax + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov al, 1
movzx r14d, al
test rbx, rbx
je 0xbef07a2a
jmp 0xbef079cd
lea rdx, [rbp - 0x10]
mov dword [rbp + 0x20], 0x100003
mov rcx, rbx
call qword [0xbef0e570]
mov rax, qword [rsp + 0x40]
lea rdx, [rbp - 0x10]
add rax, 0x68
mov rcx, rbx
mov qword [rbp + 0x70], rax
mov rax, qword [0xbef0e4d8]
call rax
test eax, eax
sete al
test al, al
je 0xbef07a25
xor edx, edx
mov rcx, rbx
call qword [0xbef0dd30]
mov rax, qword [0xbef0e4b0]
lea r8, [0xbef0d988]
xor edx, edx
mov rcx, rbx
call rax
test eax, eax
jne 0xbef07a1a
mov rax, qword [0xbef0dd90]
lea r8, [rbp - 0x40]
mov r9d, 0x30
mov qword [rsp + 0x20], r15
xor edx, edx
mov rcx, rbx
call rax
test eax, eax
jne 0xbef07a1a
movsxd rdi, dword [rbp - 0x40]
xor edx, edx
mov rcx, rbx
call qword [0xbef0de90]
test r14b, r14b
je 0xbef07a33
mov rcx, rbx
call qword [0xbef0e4f8]
mov r14, qword [rsp + 0x5e8]
mov rbx, qword [rsp + 0x5e0]
cmp qword [rsp + 0x40], r15
je 0xbef07a68
mov r9d, 0x8000
mov qword [rsp + 0x48], r15
lea r8, [rsp + 0x48]
mov rcx, rsi
lea rdx, [rsp + 0x40]
call qword [0xbef0df38]
mov rsi, qword [rsp + 0x5f0]
mov rax, rdi
add rsp, 0x5c0
pop r15
pop rdi
pop rbp
ret