Function at 0x1400976a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1402de140]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov ebx, 4
xor edx, edx
lea ecx, [rdi + 0xa]
call fcn.1400899d0
test eax, eax
je 0x14009774d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140300b5c], eax
jle 0x140097726
lea rcx, [0x140300b5c]
call fcn.1401001c0
cmp dword [0x140300b5c], 0xffffffff
jne 0x140097726
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140300b48], rax
lea rcx, [0x140300b5c]
call fcn.140100154
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x140300b48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14009774d
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x1400977d2
mov edx, 3
lea ecx, [rdx + 3]
call fcn.1400899d0
test eax, eax
je 0x1400977cc
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140300b58], eax
jle 0x1400977aa
lea rcx, [0x140300b58]
call fcn.1401001c0
cmp dword [0x140300b58], 0xffffffff
jne 0x1400977aa
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140300b50], rax
lea rcx, [0x140300b58]
call fcn.140100154
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x140300b50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400977cc
mov ecx, 2
call rax
jmp 0x1400977d2
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp - 0x29], 0x50
mov dword [rbp - 0x25], 3
lea rax, [0x140096c00]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x11], rax
xorps xmm2, xmm2
xorps xmm3, xmm3
lea rax, str.Classname
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rdi
movups xmm0, xmmword [rbp - 0x29]
movaps xmmword [0x140300830], xmm0
movups xmm1, xmmword [rbp - 0x19]
movaps xmmword [0x140300840], xmm1
movaps xmmword [0x140300850], xmm2
movaps xmmword [0x140300860], xmm3
movups xmm0, xmmword [rbp + 0x17]
movaps xmmword [0x140300870], xmm0
mov qword [0x140300860], rdi
lea rcx, [0x140300830]
call qword [sym.imp.USER32.dll_RegisterClassExW]
call fcn.1400971f0
mov edx, 0xa
mov rcx, qword [0x140300890]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140300890]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140300750]
mov ecx, 0x62c0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rax
mov r9, qword [0x140300750]
test r9, r9
je 0x1400978f7
mov r10d, dword [r9 + 0x3f88]
movsx rax, word [r9 + 0x6130]
lea rdx, [r9 + 0x6134]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x1400978ec
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r9 + 0x6130], cx
movsx rax, cx
lea rdx, [r9 + 0x6134]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], edi
inc word [rdx + 4]
inc dword [r9 + 0x6128]
mov qword [rbp - 0x51], r8
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
mov qword [rbp + 0x3f], r8
test r8, r8
je 0x140097918
xor edx, edx
mov rcx, r8
call fcn.14005b560
jmp 0x14009791b
mov rax, rdi
mov qword [0x140300750], rax
call fcn.14005ffe0
test rbx, rbx
je 0x140097933
mov qword [0x140300750], rbx
xor ecx, ecx
call fcn.14007d580
mov dword [rsp + 0x30], Ordinal_41
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140300890]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140300890]
call fcn.1400879b0
call fcn.1400877e0
mov qword [rbp + 0x37], rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400ffe40
mov dword [rax], 1
mov dword [rax + 4], 2
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdi
mov dword [rax + 0x18], edi
mov qword [rbp + 0x37], rax
mov ecx, 8
call fcn.1400ffe40
lea rcx, [0x140096cc0]
mov qword [rax], rcx
mov qword [rbp + 0x3f], rax
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400a5bc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x27], rax
test rax, rax
je 0x140097a7f
cmp dword [rbp + 0x2f], 0
jne 0x1400979fb
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x2f], eax
jne 0x140097a12
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rbp + 0x27]
movaps xmmword [rbp - 0x39], xmm0
xor edx, edx
lea rcx, [rbp - 0x39]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140097a36
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp + 0x27], xmm0
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x140097a72
mov eax, 0xfffffffe
lock xadd dword [rcx + 4], eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140097a72
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140097a72
lea edx, [rax + 0x1f]
call fcn.1400ffe84
cmp dword [rbp + 0x2f], 0
je 0x140097a8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp + 0x2f], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400ffe20
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret