Function at 0x18003ebd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rax, vtable.DInputHook.0
mov qword [rcx], rax
add rcx, 8
mov qword [rbp + 0x90], rcx
mov dword [rcx], r12d
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], r12
mov edx, 0x102
call fcn.18028313c
nop
xor edx, edx
mov r8d, 0xa0
lea rcx, [rsi + 0x58]
call fcn.1802bd010
lea rcx, [rsi + 0x58]
call fcn.18003efc0
nop
mov qword [rsi + 0xf8], r12
call fcn.180270610
mov rdi, rax
lea rax, str._DInputHook__Constructing_DInputHook
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x24
lea r13, str.D:_aUEVRUEVR_srchooksDInputHook.cpp
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], 0x11
lea rax, str.DInputHook::DInputHook
mov qword [rsp + 0x48], rax
mov ebx, dword [rdi + 0x40]
cmp ebx, 2
setle r15b
lea rcx, [rdi + 0x88]
call fcn.180270a80
movzx r14d, al
cmp ebx, 2
jle 0x18003ecba
test al, al
je 0x18003ed31
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x18003ecc9
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x60], rcx
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp - 0x80], xmm1
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.18026dc60
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.180275990
mov qword [0x1804da828], rsi
call fcn.180270610
mov rdi, rax
lea rax, str._DInputHook__Creating_thread
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0x1c
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], 0x15
lea rax, str.DInputHook::DInputHook
mov qword [rsp + 0x48], rax
mov ebx, dword [rdi + 0x40]
cmp ebx, 2
setle r15b
lea rcx, [rdi + 0x88]
call fcn.180270a80
movzx r14d, al
cmp ebx, 2
jle 0x18003ed8f
test al, al
je 0x18003ee0c
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x18003ed9e
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x60], rcx
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp - 0x80], xmm1
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.18026dc60
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.180275990
nop
mov ecx, 8
call fcn.180286234
test rax, rax
je 0x18003ee20
mov qword [rax], rsi
jmp 0x18003ee23
mov rax, r12
mov qword [rbp + 0x88], rax
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x18003e8a0]
xor edx, edx
xor ecx, ecx
call fcn.18028e0d4
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18003efa8
mov qword [rbp + 0x88], r12
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x58], 0
je 0x18003ef9d
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.180283000
test eax, eax
jne 0x18003ef9d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
cmp dword [rsp + 0x58], eax
jne 0x18003efb8
call fcn.180270610
mov rdi, rax
lea rax, str._DInputHook__Exiting_constructor
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x20
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], 0x43
lea rax, str.DInputHook::DInputHook
mov qword [rsp + 0x48], rax
mov ebx, dword [rdi + 0x40]
cmp ebx, 2
setle r15b
lea rcx, [rdi + 0x88]
call fcn.180270a80
movzx r14d, al
cmp ebx, 2
jle 0x18003ef07
test al, al
je 0x18003ef7f
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x18003ef16
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x30], rcx
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp - 0x80], xmm1
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.18026dc60
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.180275990
nop
mov rax, rsi
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call fcn.1802835e0
nop
mov dword [rsp + 0x58], r12d
mov ecx, 6
call fcn.1802835e0
nop
call fcn.18028df3c
int3