Function at 0x140043220
Capabilities:
Check mutex on windows
Create thread

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [r11 + 8], rbx
lea rdx, [r11 - 0x38]
mov qword [r11 + 0x10], rbp
lea rcx, str.6VVYqCAosWjD4erSfQbAx9XpKizRkGAzHDyeSx8_yt7MKDXhVRB0c9wKtMwzdJQt
mov qword [r11 - 8], rdi
mov qword [r11 - 0x18], r15
xor r15d, r15d
mov qword [r11 - 0x38], r15
mov qword [r11 - 0x30], r15
mov dword [0x140074e60], 1
call fcn.140036bf0
lea rdx, [rsp + 0x38]
lea rcx, str.6VVYqCAosWjD4erSfQbAx7LRjJQTLKFnWbDBB3B8fmA
call fcn.140036bf0
mov rcx, qword [rsp + 0x30]
call fcn.1400463c8
mov rcx, qword [rsp + 0x38]
mov qword [0x140074e58], rax
call fcn.1400463c8
mov rcx, qword [rsp + 0x30]
mov qword [0x140074e78], rax
call fcn.1400462d0
mov rcx, qword [rsp + 0x38]
call fcn.1400462d0
call fcn.140035c30
xor ecx, ecx
call fcn.1400467d4
mov rcx, rax
call fcn.140046c94
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
lea ecx, [r15 + 0x20]
mov qword [0x140074e40], rax
call fcn.1400462e4
mov qword [0x140074e48], rax
mov rbx, rax
test rax, rax
je 0x140043318
lea ecx, [r15 + 0x40]
mov qword [rax + 8], r15
call fcn.1400462e4
mov qword [rbx], rax
test rax, rax
je 0x140043318
mov qword [rbx + 0x10], 8
mov dword [rbx + 0x18], 0x100
jmp 0x14004331f
mov qword [0x140074e48], r15
call fcn.140046c68
mov ebp, eax
mov eax, 0x45e7b273
imul ebp
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1d4c0
sub ebp, ecx
mov rcx, qword [0x140074e50]
add ebp, 0x1d4c0
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400434ee
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x58], r14
nop dword [rax]
mov rbx, qword [0x140074e68]
test rbx, rbx
jne 0x14004338b
call fcn.14003e920
mov rbx, rax
mov qword [0x140074e68], rax
lea rcx, [rsp + 0x38]
call fcn.1400467d4
cmp qword [rsp + 0x38], rbx
jl 0x1400434c7
mov eax, 0x10624dd3
mov ecx, 0x10
mul ebp
mov eax, 0x88888889
shr edx, 6
mul edx
shr edx, 5
add dword [0x140074e24], edx
call fcn.1400462e4
mov rbx, rax
test rax, rax
je 0x140043453
cmp qword [0x140074e40], r15
jne 0x1400433ff
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x140074e40], rax
test rax, rax
jne 0x1400433ff
mov rcx, rbx
call fcn.1400462d0
jmp 0x1400434c7
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov r9, rbx
mov qword [rsp + 0x28], r15
lea r8, [0x1400431c0]
mov qword [rbx], rax
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140043453
mov rcx, qword [0x140074e48]
mov qword [rbx + 8], rax
test rcx, rcx
je 0x1400434c7
mov rdx, rbx
call section..text
mov rax, qword [0x140074e48]
test rax, rax
je 0x1400434c7
mov edi, r15d
cmp qword [rax + 8], rdi
jbe 0x1400434c7
mov rsi, r15
mov r14, r15
nop
mov rbx, qword [rax]
xor edx, edx
mov rbx, qword [r14 + rbx]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400434b1
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
call fcn.1400350b0
mov rcx, rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
call fcn.1400462d0
mov rax, qword [0x140074e48]
inc edi
add r14, 8
movsxd rsi, edi
cmp rsi, qword [rax + 8]
jb 0x140043470
mov rcx, qword [0x140074e50]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140043370
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [0x140074e40]
mov r15, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
test rcx, rcx
je 0x140043514
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140003bf0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x68
ret