Function at 0x140014690
Capabilities:
Check mutex on windows
Create thread
Delete file

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
lea rbp, [r11 - 0xf8]
sub rsp, 0x1e0
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov qword [r11 + 8], rbx
lea rcx, [rsp + 0x40]
xor ebx, ebx
mov qword [r11 + 0x18], r13
mov qword [r11 + 0x20], r14
xor edx, edx
mov r8d, 0x148
mov qword [rbp + 0x90], rbx
mov r12d, ebx
mov r14d, ebx
xor sil, sil
call fcn.140068930
xor r8d, r8d
mov qword [rsp + 0x30], rbx
lea rdx, [rbp + 0x90]
mov qword [rbp + 0xa0], rbx
mov ecx, 0x3e8
call fcn.140018a10
mov r13, qword [rbp + 0x90]
test al, al
je 0x1400149a3
lea rdx, [rbp + 0xc0]
mov ecx, 0x24f2d5
call fcn.140019fe0
mov r9, rax
lea edx, [rbx + 0x10]
mov r8, r13
lea rcx, [rbp + 0xb0]
call fcn.14000f3f0
lea r8, [rbp + 0xb0]
xor ecx, ecx
lea edx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov r12, rax
test rax, rax
je 0x1400149a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400149a3
lea r8, [rbp + 0x90]
mov qword [rsp + 0x208], rdi
mov edx, 0x25d8
mov dword [rbp + 0x90], ebx
call fcn.140017110
xor r9d, r9d
lea r8, [rbp + 0xa0]
mov edx, 0x40f
lea rcx, [0x1400d69b0]
call fcn.140016cc0
mov eax, dword [rbp + 0x90]
test eax, eax
sete cl
test eax, eax
je 0x1400147bd
cmp eax, 0xe
jge 0x1400147bd
mov dil, 1
jmp 0x1400147c0
xor dil, dil
mov rbx, qword [rbp + 0xa0]
test cl, cl
jne 0x1400147d8
test dil, dil
jne 0x1400147d8
mov sil, 1
jmp 0x14001498e
lea r8, [0x1400a7668]
mov byte [rsp + 0x40], 1
mov edx, 0x104
lea rcx, [rsp + 0x41]
call fcn.14006f6d8
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rsp + 0x40]
call fcn.140017d90
test al, al
je 0x14001498e
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, 0x40f
lea rcx, [rsp + 0x40]
call fcn.140016cc0
test al, al
je 0x14001497c
test dil, dil
je 0x1400148cd
lea rdx, [rbp + 0xa0]
mov ecx, 0x973c8f
call fcn.140019fe0
mov r9, rax
lea rcx, [rbp + 0x90]
mov r8, r13
mov edx, reloc.WS2_32.dll_recv
call fcn.14000f3f0
xor edx, edx
lea r8, [rbp + 0x90]
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov r14, rax
test rax, rax
je 0x14001488d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400148cd
mov r8, qword [rsp + 0x30]
mov rax, rbx
sub r8, rbx
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400148b3
inc rax
test ecx, ecx
jne 0x1400148a0
test edx, edx
je 0x1400148cd
cmp byte [0x1400d69b0], sil
je 0x1400148cd
lea rcx, [0x1400d69b1]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0x40]
call fcn.140017950
xor ecx, ecx
call fcn.140014e50
test al, al
jne 0x1400148ee
mov cl, 1
call fcn.140014e50
jmp 0x14001497c
cmp byte [0x1400d69b0], sil
je 0x140014928
mov ecx, 0x25d8
call fcn.140018250
mov edx, 0x25d8
lea rcx, [0x1400d6920]
call fcn.14000cae0
mov edx, recv
lea rcx, [0x1400d6920]
call fcn.14000cc60
call fcn.140018760
movzx ecx, dil
call fcn.1400150f0
mov sil, 1
call fcn.1400163b0
test al, al
jne 0x14001497c
cmp byte [0x1400d67ea], al
jne 0x14001497c
xor eax, eax
lea r8, [0x140016440]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
setne byte [0x1400d67ea]
test rax, rax
je 0x14001497c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x30], 0
je 0x14001498e
mov rcx, qword [rsp + 0x30]
call fcn.14006ac0c
mov rdi, qword [rsp + 0x208]
test rbx, rbx
je 0x1400149a3
mov rcx, rbx
call fcn.14006ac0c
mov rbx, qword [rsp + 0x200]
test r13, r13
je 0x1400149b8
mov rcx, r13
call fcn.14006ac0c
mov r13, qword [rsp + 0x210]
test r14, r14
je 0x1400149ce
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x218]
test r12, r12
je 0x1400149e4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x1e0
pop r12
pop rsi
pop rbp
ret