Function at 0x14003ebe0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, rcx
xor r12d, r12d
mov qword [rcx], r12
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
movups xmmword [rcx + 0x48], xmm0
lea rsi, [rcx + 0x58]
mov qword [rsi], r12
lea r15, [rcx + 0x60]
mov qword [r15], r12
lea rdi, [rcx + 0x68]
mov qword [rdi], r12
mov qword [rcx + 0x70], r12
mov qword [rcx + 0x78], r12
mov qword [rcx + 0x80], r12
mov qword [rcx + 0x88], r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x90], xmm0
lea ecx, [r12 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x94], xmm0
mov word [rbx + 0x98], r12w
mov byte [rbx + 0x9a], 1
mov qword [rbx + 0x9c], r12
mov qword [rbx + 0xa8], r12
movabs rax, 0x4254997f59d7b0d2
mov qword [rsp + 0x60], rax
movabs rax, 0x5f1e5bf1004ba635
mov qword [rsp + 0x68], rax
movabs rax, 0xd16388607a459a05
mov qword [rsp + 0x70], rax
movabs rcx, 0x310a655923f4560e
mov qword [rsp + 0x78], rcx
movabs r8, 0x2304ca2a3ca4d197
mov qword [rbp], r8
movabs rdx, 0x31770c83653fc85c
mov qword [rbp + 8], rdx
movabs rax, 0xd16388607a32f561
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rcx
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x70], xmm1
movabs rax, 0x476aa37d6d9185c6
mov qword [rbp], rax
movabs rax, 0x317762ec0676bf33
mov qword [rbp + 8], rax
mov qword [rbp - 0x10], r8
mov qword [rbp - 8], rdx
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
lea edx, [r12 - 0x14]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x20
mov r8d, eax
lea edx, [r12 - 0x14]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x28], 0xffffffffffffffff
mov qword [rbp - 0x20], 0xffffffffffffffff
lea rdx, [rbp - 0x28]
mov rcx, qword [rbx]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
lea r9d, [r12 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r12 - 1]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp qword [rbx], r12
je 0x14003eff8
lea ecx, [r12 + 0x10]
call fcn.140040624
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbx + 0xa8], rax
mov qword [rbp - 0x6c], r12
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x5c], 0x20
mov rax, qword [rbx]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x64], 1
mov qword [rbp - 0x48], 1
mov dword [rbp], 0xb000
mov dword [rbp + 4], 0xa000
mov qword [rsp + 0x58], r15
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14003eff8
mov qword [rbp - 0x10], r12
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r9, [rbp - 0x10]
lea r8, [0x1400499f0]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14003eef6
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r9, [rbx + 0x70]
xor r8d, r8d
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov edx, 1
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbx
call fcn.14003e140
mov ecx, 0x10
call fcn.140040624
mov qword [rax], rbx
lea rcx, [0x140040080]
mov qword [rax + 8], rcx
mov qword [rbp], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140040380]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14003f04b
cmp dword [rbp - 8], 0
je 0x14003f03f
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003f03f
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
lea ecx, [rax + 0x10]
call fcn.140040624
mov qword [rax], rbx
lea rcx, [0x140040150]
mov qword [rax + 8], rcx
mov qword [rbp], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140040380]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14003f02f
cmp dword [rbp - 8], 0
je 0x14003f023
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003f023
mov rax, rbx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140040520
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 8], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 8], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3