Function at 0x14006e8e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xa80]
sub rsp, 0xb80
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rbp + 0xa58], rax
mov rsi, rcx
mov edi, r9d
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14008b7b8]
lea rdx, str.CONOUT_
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
test eax, eax
je 0x14006e96b
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_redirect_stdout_to_console_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14008b7f8]
lea rdx, str.CONIN_
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
test eax, eax
je 0x14006e9ae
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_redirect_stdin_to_console_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor r14d, r14d
lea rcx, [rbp + 0x960]
xorps xmm0, xmm0
mov qword [rbp + 0x960], r14
xorps xmm1, xmm1
mov qword [rbp + 0x988], r14
movdqu xmmword [rbp + 0x968], xmm0
movdqu xmmword [rbp + 0x978], xmm1
call fcn.140079560
lea rdx, str.Default
lea rcx, [rbp + 0x8f1]
call fcn.140052400
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Waiting_for_client.dll_to_load...
call fcn.14005bfc0
lea rdx, [0x14005bf80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rbp + 0x70], 0x438
nop
mov edx, dword [rbp + 0x960]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0x70]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x14006ea79
nop word [rax + rax]
lea rdx, str.client.dll
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14006ea86
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14006ea50
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14006ea20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.Module_Name:
call fcn.1400799b0
mov rcx, rax
lea rdx, [rbp + 0xa0]
call fcn.1400799b0
mov rcx, rax
lea rdx, [0x14008bc30]
call fcn.1400799b0
lea rdx, [0x14004e900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [rbp + 0x88]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x14008bc2c]
call fcn.1400799b0
lea rdx, [0x140079b80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Got_module_Base_
mov rbx, qword [rbp + 0x88]
call fcn.14005bfc0
lea rdx, [0x14005bf80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rbp + 0x8f8], rbx
mov dword [rbp + 0x4b0], 0x438
mov edx, dword [rbp + 0x960]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0x4b0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x14006eb8c
nop dword [rax]
lea rdx, str.engine2.dll
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14006eb99
lea rdx, [rbp + 0x4b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14006eb60
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14006eb31
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.Module_Name:
call fcn.1400799b0
mov rcx, rax
lea rdx, [rbp + 0x4e0]
call fcn.1400799b0
mov rcx, rax
lea rdx, [0x14008bc30]
call fcn.1400799b0
lea rdx, [0x14004e900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [rbp + 0x4c8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x14008bc2c]
call fcn.1400799b0
lea rdx, [0x140079b80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Got_module_Base_
mov rbx, qword [rbp + 0x4c8]
call fcn.14005bfc0
lea rdx, [0x14005bf80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x8f8]
lea rcx, [rbp + 0x20]
xorps xmm0, xmm0
mov qword [rbp + 0x9f0], rax
mov qword [rbp + 0x38], rsi
lea rax, [0x14006dfa0]
xorps xmm1, xmm1
mov qword [rbp + 0x28], rax
lea rsi, str.Discord_32_Bit_
mov qword [rbp + 0x9a0], rbx
movups xmmword [rbp + 0x9f8], xmm0
mov qword [rbp + 0x30], r14
movups xmmword [rbp + 0xa08], xmm0
mov qword [rbp + 0x68], r14
movups xmmword [rbp + 0xa18], xmm0
mov dword [rbp + 0x20], 0x50
movups xmmword [rbp + 0xa28], xmm0
mov dword [rbp + 0x24], 3
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [rbp + 0x38]
mov r9d, 0x80000000
mov rdx, qword [rbp + 0x60]
mov r8, rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov ecx, 0x28
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 2
mov r8b, 0xff
mov rcx, rax
mov qword [rbp - 0x70], rax
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0x9a8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x9a8], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
xorps xmm0, xmm0
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0x900]
movups xmmword [rbp + 0x900], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0x918]
mov qword [rbp + 0x918], r14
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x918]
lea rdx, [rbp + 0x990]
mov rcx, qword [rbp - 0x70]
mov dword [rbp + 0x990], eax
mov eax, dword [rbp + 0x91c]
mov dword [rbp + 0x994], eax
mov eax, dword [rbp + 0x9b0]
mov dword [rbp + 0x998], eax
mov eax, dword [rbp + 0x9b4]
mov dword [rbp + 0x99c], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [rbp - 0x70]
xor r9d, r9d
mov qword [rbp], rax
xor r8d, r8d
lea rax, [rbp - 0x68]
mov qword [rbp - 0x30], r14
mov qword [rsp + 0x58], rax
xor ecx, ecx
lea rax, [rbp + 0x910]
mov qword [rbp - 0x1c], r14
mov qword [rsp + 0x50], rax
lea edx, [r9 + 1]
lea rax, [rbp - 0x58]
mov qword [rbp - 0x14], 1
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xa40]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov qword [rbp - 8], 2
mov qword [rbp + 0x10], 2
mov dword [rbp - 0x28], 0x90
mov dword [rbp - 0x24], 1
mov dword [rbp - 0x20], 0x1c
mov dword [rbp - 0xc], 0x20
mov qword [rbp + 8], 1
mov dword [rbp + 0xa40], 0xb000
mov dword [rbp + 0xa44], 0xa000
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r14
mov dword [rbp + 0x910], r14d
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, qword [rbp - 0x60]
lea r9, [rbp - 0x48]
mov qword [rbp - 0x48], r14
lea r8, [0x14008b7a8]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x14006f8d5
mov rcx, qword [rbp - 0x58]
lea r9, [rbp - 0x50]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
mov edx, edi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14009c0a8]
mov ecx, 0x6180
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x14009c0a8]
mov r9, rax
test r8, r8
je 0x14006ef5b
movsx rax, word [r8 + 0x6030]
lea rdx, [r8 + 0x6034]
mov r10d, dword [r8 + 0x3f60]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x14006ef50
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
lea rdx, [r8 + 0x6034]
sub ecx, eax
mov word [r8 + 0x6030], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 4]
inc dword [r8 + 0x6028]
test r9, r9
je 0x14006ef6c
xor edx, edx
mov rcx, r9
call fcn.140004b60
jmp 0x14006ef6f
mov rax, r14
mov qword [0x14009c0a8], rax
call fcn.14000a660
test rbx, rbx
je 0x14006ef87
mov qword [0x14009c0a8], rbx
xor ecx, ecx
call fcn.140029c60
mov rcx, qword [rbp - 0x70]
call fcn.140002700
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x58]
call fcn.140002540
mov ecx, 0x20
mov byte [rbp + 0x8f0], 1
call fcn.14007d574
lea rcx, [rbp + 0x8f0]
mov r9, rax
lea r8, [0x14006f910]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x8f8]
mov qword [rax + 8], rcx
lea rcx, [rbp + 0x960]
mov qword [rax + 0x10], rcx
lea rcx, [0x14007c300]
mov qword [rax + 0x18], rcx
lea rcx, [rbp + 0x958]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x950], rax
test rax, rax
je 0x14006f8c2
mov ecx, 0x20
call fcn.14007d574
lea rcx, [rbp + 0x8f0]
mov r9, rax
lea rdx, [0x14006a2b0]
lea r8, [0x14006f910]
mov qword [rax], rcx
lea rcx, [rbp + 0x8f8]
mov qword [rax + 8], rcx
lea rcx, [rbp + 0x960]
mov qword [rax + 0x18], rdx
lea rdx, [rbp + 0x948]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [rax + 0x10], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x940], rax
test rax, rax
je 0x14006f8af
mov ecx, 0x20
call fcn.14007d574
lea rcx, [rbp + 0x8f0]
mov r9, rax
lea rdx, [0x14007c6d0]
lea r8, [0x14006f910]
mov qword [rax], rcx
lea rcx, [rbp + 0x8f8]
mov qword [rax + 8], rcx
lea rcx, [rbp + 0x960]
mov qword [rax + 0x18], rdx
lea rdx, [rbp + 0x938]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [rax + 0x10], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x930], rax
test rax, rax
je 0x14006f89c
mov ecx, 0x28
call fcn.14007d574
lea rcx, [rbp + 0x8f0]
mov r9, rax
lea r8, [0x14006f950]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x9a0]
mov qword [rax + 8], rcx
lea rcx, [rbp + 0x8f8]
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x960]
mov qword [rax + 0x18], rcx
lea rcx, [0x14007ba10]
mov qword [rax + 0x20], rcx
lea rcx, [rbp + 0x928]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x920], rax
test rax, rax
je 0x14006f889
mov rbx, qword [0x14009c0a8]
movaps xmmword [rsp + 0xb70], xmm6
mov rcx, qword [rbx + 0x38]
call fcn.14002edb0
movss xmm6, dword [0x14008c4f4]
lea rdx, str.fonts_font.ttf
mov rcx, qword [rbx + 0x38]
movaps xmm2, xmm6
call fcn.14002ef20
mov rcx, qword [rbx + 0x38]
lea rdx, str.fonts_TT_Rationalist_Trial_Bold.ttf
movaps xmm2, xmm6
mov rdi, rax
call fcn.14002ef20
mov rsi, rax
call fcn.14006e000
movzx ecx, byte [rbp + 0x8f0]
mov rbx, qword [0x14009c0a8]
test cl, cl
je 0x14006f466
movss xmm6, dword [0x14008c3f0]
movaps xmmword [rsp + 0xb60], xmm7
movss xmm7, dword [0x14008c414]
mov dword [rsp + 0x6c], 0x3f800000
mov dword [rsp + 0x7c], 0x3f800000
mov dword [rbp - 0x74], 0x3f800000
nop dword [rax]
nop dword [rax + rax]
movss xmm0, dword [0x14009b110]
lea rcx, [rbp + 0x960]
movss xmm1, dword [0x14009b114]
movss xmm2, dword [0x14009b118]
movups xmm3, xmmword [rsp + 0x60]
movss xmm3, xmm0
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm1
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc9
movups xmmword [rbx + 0x3af4], xmm3
movss xmm0, dword [0x14009b110]
movss xmm1, dword [0x14009b114]
movss xmm2, dword [0x14009b118]
movups xmmword [rsp + 0x60], xmm3
movups xmm3, xmmword [rsp + 0x70]
movss xmm3, xmm0
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm1
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc9
movups xmmword [rbx + 0x3b04], xmm3
movss xmm0, dword [0x14009b110]
movss xmm1, dword [0x14009b114]
addss xmm0, xmm6
movss xmm2, dword [0x14009b118]
subss xmm1, xmm7
movups xmmword [rsp + 0x70], xmm3
movups xmm3, xmmword [rbp - 0x80]
movss xmm3, xmm0
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm1
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc9
movups xmmword [rbp - 0x80], xmm3
movups xmmword [rbx + 0x3b14], xmm3
call fcn.140079370
test eax, eax
je 0x14006f2dd
mov al, 1
jmp 0x14006f2f9
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x960]
call fcn.140079370
test eax, eax
setne al
xchg byte [rbp + 0x8f0], al
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x9b8]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14006f36d
lea rcx, [rbp + 0x9b8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x9b8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x9c0], 0x12
jne 0x14006f34c
mov eax, r14d
xchg byte [rbp + 0x8f0], al
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x9b8]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14006f320
movzx eax, byte [rbp + 0x8f0]
test al, al
je 0x14006f45e
mov rax, qword [0x14009c0a8]
test rax, rax
je 0x14006f391
mov rcx, qword [rax + 0x98]
jmp 0x14006f394
mov rcx, r14
cmp qword [rcx + 0x48], r14
jne 0x14006f39f
call fcn.140002020
call fcn.140003110
call fcn.14000ce90
lea rcx, [rbp - 0x70]
call fcn.140079fa0
lea r9, [rbp + 0x9f0]
mov qword [rsp + 0x28], rsi
lea r8, [rbp + 0x960]
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x8f8]
call fcn.140077fc0
call fcn.14000ee70
mov rcx, qword [rbp - 0x68]
lea r8, [rbp - 0x50]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0xa48], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x14006f41a
mov rcx, qword [rbp - 0x68]
lea r8, [rbp + 0xa48]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14009c0a8]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
mov rcx, r14
add rax, 0x48
cmp byte [rax], r14b
cmovne rcx, rax
call fcn.1400013d0
mov rcx, qword [rbp - 0x60]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
movzx eax, byte [rbp + 0x8f0]
test al, al
jne 0x14006f200
movaps xmm7, xmmword [rsp + 0xb60]
movaps xmm6, xmmword [rsp + 0xb70]
cmp dword [rbp + 0x958], r14d
je 0x14006f87d
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x958], eax
je 0x14006f871
movaps xmm0, xmmword [rbp + 0x950]
lea rcx, [rbp + 0x900]
xor edx, edx
movdqa xmmword [rbp + 0x900], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14006f865
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x950], xmm0
cmp dword [rbp + 0x948], r14d
je 0x14006f87d
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x948], eax
je 0x14006f871
movaps xmm0, xmmword [rbp + 0x940]
lea rcx, [rbp + 0x900]
xor edx, edx
movdqa xmmword [rbp + 0x900], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14006f865
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x940], xmm0
cmp dword [rbp + 0x938], r14d
je 0x14006f87d
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x938], eax
je 0x14006f871
movaps xmm0, xmmword [rbp + 0x930]
lea rcx, [rbp + 0x900]
xor edx, edx
movdqa xmmword [rbp + 0x900], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14006f865
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x930], xmm0
cmp dword [rbp + 0x928], r14d
je 0x14006f87d
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x928], eax
je 0x14006f871
movaps xmm0, xmmword [rbp + 0x920]
lea rcx, [rbp + 0x900]
xor edx, edx
movdqa xmmword [rbp + 0x900], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14006f865
mov rbx, qword [0x14009c0a8]
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x920], xmm0
test rbx, rbx
je 0x14006f5c3
mov rdi, qword [rbx + 0x98]
jmp 0x14006f5c6
mov rdi, r14
call fcn.140002420
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14006f5da
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006f5e8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14006f5f7
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x14009c0a8]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
test r8, r8
je 0x14006f675
movsx rdx, word [r8 + 0x6030]
lea rcx, [r8 + 0x6034]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006f66a
lea ecx, [rdx + 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 [r8 + 0x6030], cx
movsx rax, cx
lea rcx, [r8 + 0x6034]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x602c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x14009c0a8]
test r8, r8
je 0x14006f693
mov rdi, qword [r8 + 0x90]
jmp 0x14006f696
mov rdi, r14
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x14006f6b0
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x14009c0a8]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x88], r14
test r8, r8
je 0x14006f724
movsx rdx, word [r8 + 0x6030]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rdx*8 + 0x6034]
add rcx, r8
cmp dword [rcx], r9d
je 0x14006f719
lea ecx, [rdx + 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 [r8 + 0x6030], cx
movsx rax, cx
lea rcx, [rax*8 + 0x6034]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x602c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14009c0a8]
mov qword [0x14009c0a8], rbx
call fcn.14000aae0
mov qword [0x14009c0a8], r14
test rbx, rbx
je 0x14006f7ca
mov rcx, rbx
call fcn.140021fc0
mov r8, qword [0x14009c0a8]
test r8, r8
je 0x14006f7c1
movsx r10, word [r8 + 0x6030]
lea rdx, [r8 + 0x6034]
mov r9d, dword [r8 + 0x3f60]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14006f7b6
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x6034]
sub ecx, eax
mov word [r8 + 0x6030], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r14d
inc word [rdx + 6]
inc dword [r8 + 0x602c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14006f7d9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14006f7e8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14006f7f7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14006f806
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x968]
test rcx, rcx
je 0x14006f836
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x928], r14d
jne 0x14006f85e
cmp dword [rbp + 0x938], r14d
jne 0x14006f85e
cmp dword [rbp + 0x948], r14d
jne 0x14006f85e
cmp dword [rbp + 0x958], r14d
jne 0x14006f85e
xor eax, eax
jmp 0x14006f8da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x928], r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x938], r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x948], r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x958], r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, 1
mov rcx, qword [rbp + 0xa58]
xor rcx, rsp
call fcn.14007d3d0
lea r11, [rsp + 0xb80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret