Function at 0x18003e860
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.18027bd5c
nop
xor edx, edx
mov r8d, 0xa0
lea rcx, [rsi + 0x58]
call fcn.1802d1800
lea rcx, [rsi + 0x58]
call fcn.18003ec50
nop
mov qword [rsi + 0xf8], r12
call fcn.180269230
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.1802696a0
movzx r14d, al
cmp ebx, 2
jle 0x18003e94a
test al, al
je 0x18003e9c1
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x18003e959
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.180266880
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.18026e5b0
mov qword [0x1804f47f8], rsi
call fcn.180269230
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.1802696a0
movzx r14d, al
cmp ebx, 2
jle 0x18003ea1f
test al, al
je 0x18003ea9c
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x18003ea2e
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.180266880
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.18026e5b0
nop
mov ecx, 8
call fcn.18027ee54
test rax, rax
je 0x18003eab0
mov qword [rax], rsi
jmp 0x18003eab3
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, [0x18003e530]
xor edx, edx
xor ecx, ecx
call fcn.1802a2364
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18003ec38
mov qword [rbp + 0x88], r12
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x58], 0
je 0x18003ec2d
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.18027bc20
test eax, eax
jne 0x18003ec2d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
cmp dword [rsp + 0x58], eax
jne 0x18003ec48
call fcn.180269230
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.1802696a0
movzx r14d, al
cmp ebx, 2
jle 0x18003eb97
test al, al
je 0x18003ec0f
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x18003eba6
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.180266880
movzx r9d, r14b
movzx r8d, r15b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.18026e5b0
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.18027c200
nop
mov dword [rsp + 0x58], r12d
mov ecx, 6
call fcn.18027c200
nop
call fcn.1802a21cc
int3