Function at 0x14000b330
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create directory
Create thread
Terminate process
Terminate thread

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14007f040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15, rcx
lea r8, str.GameClick_MC1919
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b3aa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x20
lea r8, [0x14006c470]
lea rdx, [0x14006c7e8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x308], rsi
mov edx, 0x65
mov qword [rsp + 0x310], rdi
mov rcx, r15
mov qword [rsp + 0x318], r12
mov qword [rsp + 0x2d8], r13
mov qword [rsp + 0x2d0], r14
call qword [sym.imp.USER32.dll_LoadIconA]
xor r12d, r12d
mov dword [0x14007fb60], 0x50
mov rbx, rax
mov dword [0x14007fb64], 3
lea rax, [0x14000acb0]
mov qword [0x14007fb70], r12
mov qword [0x14007fb68], rax
lea ecx, [r12 + 5]
mov qword [0x14007fb78], r15
mov qword [0x14007fb80], rbx
mov qword [0x14007fb88], r12
call qword [sym.imp.GDI32.dll_GetStockObject]
cmp qword [0x14007fe10], 0xf
lea r13, [0x14007fdf8]
mov qword [0x14007fb90], rax
lea rcx, [0x140080058]
mov rax, r13
mov qword [0x14007fb98], r12
cmova rax, qword [0x14007fdf8]
cmp qword [0x140080070], 0xf
mov qword [0x14007fba0], rax
cmova rcx, qword [0x140080058]
xor edx, edx
mov qword [0x14007fba8], rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
mov esi, 0x330
lea rcx, [0x14007fb60]
test eax, eax
mov ebx, eax
mov eax, 0x1f4
mov r14d, 0x1fb
setne dil
test ebx, ebx
cmovne esi, eax
mov eax, 0x134
cmovne r14d, eax
call qword [sym.imp.USER32.dll_RegisterClassExA]
test ebx, ebx
je 0x14000b4c4
lea r8, [0x14006c808]
jmp 0x14000b4d7
cmp qword [0x14007fe10], 0xf
mov r8, r13
cmova r8, qword [0x14007fdf8]
mov rcx, qword [0x14007fb78]
mov eax, dword [0x14007fe18]
sub eax, r14d
mov qword [rsp + 0x58], r12
cdq
mov qword [rsp + 0x50], rcx
sub eax, edx
mov qword [rsp + 0x48], r12
sar eax, 1
xor ecx, ecx
mov r9d, eax
mov qword [rsp + 0x40], r12
mov eax, dword [0x14007fe1c]
sub eax, esi
mov dword [rsp + 0x38], r14d
cdq
mov dword [rsp + 0x30], esi
sub eax, edx
mov dword [rsp + 0x28], r9d
mov rdx, qword [0x14007fba0]
mov r9d, 0xca0000
sar eax, 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x14007fb58], rax
mov rbx, rax
mov qword [0x14007fb18], r15
call qword [sym.imp.USER32.dll_GetDC]
xorps xmm0, xmm0
lea rdx, [rbp + 0x170]
movups xmmword [rbp + 0x170], xmm0
mov rsi, rax
mov dword [rbp + 0x170], 0x10028
xor eax, eax
mov dword [rbp + 0x174], 0x25
mov rcx, rsi
mov qword [rbp + 0x190], rax
movups xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x178], 0x2000
lea r14d, [rax + 1]
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x14000bbc9
lea r8, [rbp + 0x170]
mov edx, eax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x14000bbc9
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov rdx, qword [0x1400800e0]
mov qword [0x1400800f0], rax
test rdx, rdx
jne 0x14000b603
mov rcx, rax
call qword [sym.imp.OPENGL32.dll_wglCreateContext]
mov rdx, rax
mov qword [0x1400800e0], rax
mov rax, qword [0x1400800f0]
mov rcx, rax
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
cmp qword [0x14007ff48], r12
je 0x14000b633
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
lea rdx, [0x14007fec8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
mov rbx, qword [0x14007fbe0]
mov ecx, 0x64c0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x14007fbe0]
mov r9, rax
test r8, r8
je 0x14000b6b4
movsx rax, word [r8 + 0x6328]
lea rdx, [r8 + 0x632c]
mov r10d, dword [r8 + 0x40a8]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x14000b6a9
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 + 0x632c]
sub ecx, eax
mov word [r8 + 0x6328], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r12d
inc word [rdx + 4]
inc dword [r8 + 0x6320]
test r9, r9
je 0x14000b6c5
xor edx, edx
mov rcx, r9
call fcn.1400141b0
jmp 0x14000b6c8
mov rax, r12
mov qword [0x14007fbe0], rax
call fcn.140019490
test rbx, rbx
je 0x14000b6e2
mov qword [0x14007fbe0], rbx
jmp 0x14000b6e9
mov rbx, qword [0x14007fbe0]
lea rsi, [rbx + 8]
mov rdx, rsi
mov rcx, rsi
call fcn.14000c020
or dword [rsi], 0x403
xor ecx, ecx
call fcn.140047480
mov rcx, qword [0x14007fb58]
call fcn.140052da0
call fcn.140051550
movss xmm2, dword [0x1400757b8]
lea rbx, [0x140074640]
mov qword [rsi + 0x18], r12
mov byte [0x14007f10c], r12b
mov rcx, qword [rsi + 0x30]
mov qword [rsp + 0x20], rbx
call fcn.14004c3c0
movss xmm2, dword [0x1400757c4]
mov rcx, qword [rsi + 0x30]
mov qword [rsp + 0x20], rbx
call fcn.14004c3c0
movss xmm2, dword [0x1400757b0]
mov rcx, qword [rsi + 0x30]
mov qword [0x14007fb50], rax
mov qword [rsp + 0x20], rbx
call fcn.14004c3c0
movaps xmm0, xmmword [0x140075980]
lea r8, [0x140008560]
mov qword [rsp + 0x28], r12
xor r9d, r9d
xor edx, edx
mov qword [0x14007fb10], rax
xor ecx, ecx
mov dword [rsp + 0x20], r12d
movups xmmword [0x14007ffe8], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x140009090]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x140008f10]
mov qword [0x14007faf0], rax
xor edx, edx
mov dword [rsp + 0x20], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x14000bc60]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
lea rcx, [rbp - 0x78]
xor edx, edx
mov dword [rsp + 0x64], eax
mov r8d, 0x1e8
mov dword [rsp + 0x7c], eax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x14007fb58]
mov edx, 0x65
mov rcx, qword [0x14007fb18]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x210
mov dword [rsp + 0x70], r14d
mov dword [rsp + 0x74], 7
mov dword [rsp + 0x78], 0x401
call qword [sym.imp.USER32.dll_LoadIconA]
cmp qword [0x14007fe10], 0xf
lea rcx, [rbp - 0x78]
mov r8, r13
mov qword [rbp - 0x80], rax
cmova r8, qword [0x14007fdf8]
mov edx, 0x80
mov r9d, edx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov rcx, qword [0x14007fb58]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140004180
cmp qword [0x14007fdf0], 0xf
lea rbx, [0x14007fdd8]
mov rcx, rbx
cmova rcx, qword [0x14007fdd8]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
je 0x14000b8e4
cmp qword [0x14007fdf0], 0xf
cmova rbx, qword [0x14007fdd8]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp qword [0x14007feb8], 0xf
lea rbx, [0x14007fea0]
mov rcx, rbx
cmova rcx, qword [0x14007fea0]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
je 0x14000b925
cmp qword [0x14007feb8], 0xf
cmova rbx, qword [0x14007fea0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov qword [rsp + 0x28], r12
lea r8, [0x1400082b0]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1400021a0
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rcx, [rbp + 0x170]
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14000b9b8
nop dword [rax]
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x178], 0x12
jne 0x14000b99a
mov byte [0x14007f0aa], r12b
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rcx, [rbp + 0x170]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14000b970
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp qword [0x14007fb58], rax
je 0x14000ba64
cmp byte [0x14007faef], r12b
jne 0x14000ba64
cmp byte [0x140080340], r12b
jne 0x14000bb14
mov rcx, qword [0x14007faf0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x14007fbc0]
dec eax
mov qword [0x14007faf0], r12
test eax, 0xfffffffd
jne 0x14000ba20
mov rcx, qword [0x14007fbd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [0x14007fbd8], r12
call fcn.140002270
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x140009090]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
lea rcx, [0x14006c81c]
mov qword [0x14007faf0], rax
call fcn.140001a00
mov byte [0x140080340], r14b
jmp 0x14000bb14
test dil, dil
je 0x14000bafc
call fcn.14000ae40
cmp eax, r14d
jne 0x14000baee
mov rcx, qword [0x14007fb58]
xor dil, dil
cmp qword [0x14007fe10], 0xf
mov rdx, r13
cmova rdx, qword [0x14007fdf8]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x14007fe18]
mov rcx, qword [0x14007fb58]
add eax, 0xfffffe05
cdq
mov dword [rsp + 0x30], 0x40
sub eax, edx
mov dword [rsp + 0x28], 0x1fb
sar eax, 1
mov r9d, eax
mov dword [rsp + 0x20], 0x330
mov eax, dword [0x14007fe1c]
add eax, 0xfffffcd0
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowPos]
call fcn.140002270
jmp 0x14000bb04
cmp eax, 0xffffffff
jne 0x14000bb04
mov byte [0x14007faec], r14b
jmp 0x14000bb04
mov rcx, rsi
call fcn.14000c9d0
cmp byte [0x140080340], r12b
je 0x14000bb14
mov byte [0x140080340], r12b
call fcn.1400021a0
sub eax, ebx
cmp eax, 0x10
jge 0x14000bb33
mov ecx, 0xb
sub ecx, eax
test ecx, ecx
cmovle ecx, r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14007faec], r12b
je 0x14000b943
movaps xmm0, xmmword [0x14007fb60]
lea rcx, [rbp + 0x170]
movaps xmm1, xmmword [0x14007fb70]
movaps xmmword [rbp + 0x170], xmm0
movaps xmm0, xmmword [0x14007fb80]
movaps xmmword [rbp + 0x190], xmm0
movaps xmm0, xmmword [0x14007fba0]
movaps xmmword [rbp + 0x180], xmm1
movaps xmm1, xmmword [0x14007fb90]
movaps xmmword [rbp + 0x1b0], xmm0
movaps xmmword [rbp + 0x1a0], xmm1
call fcn.140009d60
lea rcx, [0x14007fec8]
call fcn.1400123e0
test rax, rax
jne 0x14000bbc5
mov rax, qword [0x14007fec0]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
lea edx, [r8 + 2]
lea rax, [0x14007fec0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xor eax, eax
jmp 0x14000bc0e
mov rbx, qword [0x14007fb58]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rdx, qword [0x1400800f0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [0x14007fb58]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x14007fb78]
mov rcx, qword [0x14007fba0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, r14d
mov r13, qword [rsp + 0x2d8]
mov r12, qword [rsp + 0x318]
mov rdi, qword [rsp + 0x310]
mov rsi, qword [rsp + 0x308]
mov r14, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140068d90
add rsp, 0x2e0
pop r15
pop rbx
pop rbp
ret