Function at 0x14001ffd0
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xf20]
mov eax, 0x1020
call fcn.14008df30
sub rsp, rax
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rbp + 0xf10], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
mov r8d, 7
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x68]
call fcn.140030010
lea rdx, [rsp + 0x68]
call fcn.140088cb0
test al, al
jne 0x1400200a4
nop dword [rax]
lea rdx, str.Failed_to_initialize_memory___Open_the_game
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14002e070
lea rdx, [0x14002e420]
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 ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
mov r8d, 7
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x68]
call fcn.140030010
lea rdx, [rsp + 0x68]
call fcn.140088cb0
test al, al
je 0x140020040
lea rdx, str.DMA_Initialized
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14002e070
lea rdx, [0x14002e420]
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 rcx, qword [0x1400e76a8]
call fcn.140087c20
test al, al
jne 0x1400200fa
lea rdx, str.Failed_to_initialize_keyboard_hotkeys_through_kernel
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14002e070
lea rdx, [0x14002e420]
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]
call fcn.140089f00
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
lea rdx, str.Failed_to_fix_CR3
je 0x140020118
lea rdx, str.CR3_Fixed
call fcn.14002e070
lea rdx, [0x14002e420]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
mov r8d, 0xa
lea rdx, str.client.dll
lea rcx, [rsp + 0x68]
call fcn.140030010
lea rdx, [rsp + 0x68]
call fcn.140089aa0
mov qword [0x1400e70b8], rax
mov dword [rbp - 0x70], 0x50
mov dword [rbp - 0x6c], 0x40
lea rax, [0x1400183e0]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x58], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x50], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
lea rbx, str.OverlayWindowClass
mov qword [rbp - 0x30], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], rdi
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov eax, dword [0x1400e2e0c]
mov dword [rsp + 0x38], eax
mov eax, dword [0x1400e2e18]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 0x90000000
lea r8, str.OverlayWindowTitle
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400e70a8], rax
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [0x1400e70a8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x1400e70a8]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400a6780]
movdqu xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
mov rcx, qword [0x1400e70a8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x1400e70a8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400e70a8]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400184a0
test eax, eax
jns 0x1400202d7
lea rcx, str.The_gui_was_not_initialized
call fcn.140003f90
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov r8d, 0xef8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x10]
call fcn.140020bd0
nop
lea rcx, [rbp + 0x10]
call fcn.14001ba90
mov ecx, 8
call fcn.14008cfc8
lea rcx, [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400381b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x140020490
mov ecx, 1
call fcn.14008cfc8
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140038210]
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 0x140020481
mov r8d, 0x26b8c
lea rdx, [0x1400bc280]
lea rcx, [0x1400e7180]
call qword [sym.imp.sfml_graphics_2.dll_public:_bool___cdecl_sf::Font::loadFromMemory_void_const____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
test al, al
jne 0x140020402
lea rdx, str.Error_loading_font_from_memory_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14002e070
lea rdx, [0x14002e420]
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]
nop
cmp dword [rbp - 8], 0
jne 0x14002045d
cmp dword [rbp + 8], 0
jne 0x14002046a
lea rcx, [rbp + 0x10]
call fcn.1400204d0
mov eax, 0xffffffff
mov rcx, qword [rbp + 0xf10]
xor rcx, rsp
call fcn.14008cbe0
lea r11, [rsp + 0x1020]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov eax, dword [0x1400e2e14]
test eax, eax
je 0x140020444
cmp eax, 1
jne 0x140020418
call fcn.140016210
jmp 0x14002041d
movzx eax, byte [rsp + 0x60]
test al, al
je 0x140020444
lea rdx, str.Connected_to_KMBOX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14002e070
lea rdx, [0x14002e420]
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]
call fcn.140019d90
mov rcx, qword [0x1400e7070]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp - 8], 0
je 0x140020464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 8], 0
je 0x140020471
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
lea rcx, [rbp + 0x10]
call fcn.1400204d0
xor eax, eax
jmp 0x1400203de
mov dword [rbp - 8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3