Function at 0x1800313e0
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 edx, 0x102
call fcn.180267000
nop
xor edx, edx
mov r8d, 0xa0
lea rcx, [rsi + 0x58]
call fcn.180288120
lea rcx, [rsi + 0x58]
call fcn.1800317b0
nop
mov qword [rsi + 0xf8], r12
call fcn.180254440
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.180254940
movzx r14d, al
cmp ebx, 2
jle 0x1800314ac
test al, al
je 0x180031523
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x1800314bb
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.1802519e0
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.180259810
mov qword [0x1804d7bf8], rsi
call fcn.180254440
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.180254940
movzx r14d, al
cmp ebx, 2
jle 0x180031581
test al, al
je 0x1800315fe
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x180031590
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.1802519e0
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.180259810
nop
mov ecx, 8
call fcn.18026a164
test rax, rax
je 0x180031612
mov qword [rax], rsi
jmp 0x180031615
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, [0x1800310b0]
xor edx, edx
xor ecx, ecx
call fcn.18028d0dc
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18003179a
mov qword [rbp + 0x88], r12
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x58], 0
je 0x18003178f
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.180266cd0
test eax, eax
jne 0x18003178f
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
cmp dword [rsp + 0x58], eax
jne 0x1800317aa
call fcn.180254440
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.180254940
movzx r14d, al
cmp ebx, 2
jle 0x1800316f9
test al, al
je 0x180031771
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x180031708
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.1802519e0
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.180259810
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.1802673a8
nop
mov dword [rsp + 0x58], r12d
mov ecx, 6
call fcn.1802673a8
nop
call fcn.18028cf18
int3