Function at 0x14008d2c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
mov dword [rbp + 0x27], 0xbbd1fa98
mov dword [rbp + 0x2b], 0xfefe
mov qword [rbp + 0x2f], 0x65a
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 0x27]
call fcn.140075bd0
mov dword [0x140260a10], 0x50
mov dword [0x140260a14], 0x40
lea rax, [0x14008d060]
mov qword [0x140260a18], rax
mov qword [0x140260a20], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x140260a28], rax
xorps xmm0, xmm0
movdqa xmmword [0x140260a30], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x140260a40], xmm1
lea rax, [rbp + 0x37]
mov qword [0x140260a50], rax
mov qword [0x140260a58], rsi
lea rcx, [0x140260a10]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], rsi
mov rax, qword [0x140260a28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov edi, 1
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x80000000
xor r8d, r8d
mov rdx, qword [0x140260a50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140260a60], rax
mov qword [rbp - 0x15], rsi
mov qword [rbp - 1], 2
mov qword [rbp + 0x17], 2
mov qword [rbp - 0x29], rsi
mov dword [rbp - 0x19], 0x1c
mov dword [rbp - 0x21], 0x3c
mov dword [rbp - 0x1d], edi
mov dword [rbp - 5], 0x20
mov qword [rbp + 7], rax
mov qword [rbp - 0xd], rdi
mov qword [rbp + 0xf], rdi
mov dword [rbp + 0x37], 0xb000
mov dword [rbp + 0x3b], 0xa000
lea rax, [0x1402609f8]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x50], rax
lea rax, [0x1402609f0]
mov qword [rsp + 0x48], rax
lea rax, [0x140260a00]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
test eax, eax
je 0x14008d4b8
call fcn.14008cf60
mov rdx, qword [0x140260a28]
mov rcx, qword [0x140260a50]
call qword [sym.imp.USER32.dll_UnregisterClassA]
movzx eax, di
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14008fda0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rcx, qword [0x140260a00]
mov rax, qword [rcx]
lea r9, [rbp + 0x27]
lea r8, [0x14024e090]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1402609f0]
mov rax, qword [rcx]
lea r9, [0x140260a08]
xor r8d, r8d
mov rdx, qword [rbp + 0x27]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x27]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, qword [0x140260a60]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140260a60]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor ecx, ecx
call fcn.14000c200
call fcn.140018050
mov rcx, rax
mov eax, dword [rax]
and eax, 0xfffffffc
or eax, 0xc4400
mov dword [rcx], eax
mov byte [rcx + 0x76], dil
mov byte [rcx + 0x74], dil
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov rcx, qword [0x140260a60]
call fcn.140041f30
mov rdx, qword [0x1402609f8]
mov rcx, qword [0x1402609f0]
call fcn.1400407b0
call fcn.14008a8f0
mov ebx, 0xc8
mov rcx, rdi
call fcn.1400904d0
mov qword [rbp + 0x27], rax
lea rcx, [rbp + 0x3f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14008c970]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x37], rax
test rax, rax
je 0x14008d748
cmp dword [rbp + 0x3f], 0
je 0x14008d740
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x27], xmm0
lea rcx, [rbp + 0x27]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14008d740
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x37], xmm0
cmp byte [0x14025d3d1], al
je 0x14008d6fc
nop dword [rax]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14008d62e
nop word [rax + rax]
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14008d600
call fcn.140017b90
cmp qword [rax + 0x4010], 0
je 0x14008d644
mov ebx, Ordinal_101
jmp 0x14008d66b
cmp byte [0x14025d3d2], 0
je 0x14008d653
test ebx, ebx
jle 0x14008d657
dec ebx
test ebx, ebx
jg 0x14008d66b
mov qword [rbp + 0x27], 0xfffffffffff551a0
lea rdx, [rbp + 0x27]
xor ecx, ecx
call qword [0x140260a68]
call fcn.140040a60
call fcn.140042270
call fcn.14001f200
call fcn.14008a590
call fcn.1400210a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov rcx, qword [0x1402609f8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140260a08]
mov edx, edi
call qword [rax + 0x108]
mov rcx, qword [0x1402609f8]
mov rax, qword [rcx]
lea r8, [rbp + 0x37]
mov rdx, qword [0x140260a08]
call qword [rax + 0x190]
call fcn.140017c40
mov rcx, rax
call fcn.140040aa0
call fcn.140029bf0
xor edx, edx
xor ecx, ecx
call fcn.140022810
mov rcx, qword [0x140260a00]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, edi
call qword [rax + 0x40]
cmp byte [0x14025d3d1], 0
jne 0x14008d5e0
call fcn.14008a570
call fcn.140041880
call fcn.140042910
xor ecx, ecx
call fcn.14000cd10
call fcn.14008cf60
mov rcx, qword [0x140260a60]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140260a28]
mov rcx, qword [0x140260a50]
call qword [sym.imp.USER32.dll_UnregisterClassA]
movzx eax, si
jmp 0x14008d493
mov ecx, edi
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x3f], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3