Function at 0x1400743b0
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
mov r11, rsp
push rbx
push rdi
push r13
push r14
sub rsp, 0xe8
mov rax, qword [0x1404b3fb8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edi, edi
mov qword [r11 + 0x20], rbp
mov qword [r11 - 0x28], rsi
mov r14d, edi
mov qword [r11 - 0x30], r12
mov esi, edi
mov r12, qword [rcx + 0x3f8]
mov ebx, edi
mov qword [rsp + 0xa0], rdx
mov r13d, edi
mov dword [rsp + 0x60], r8d
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x50], rdi
nop
inc rdx
cmp byte [r12 + rdx], bl
jne 0x140074430
mov ecx, dword [0x14052a144]
add rdx, 0x20
mov r8d, 8
mov qword [rsp + 0xd0], r15
call fcn.14007e530
mov rbp, rax
test rax, rax
je 0x140074943
lea r14, [0x1404403c0]
lea rax, [0x140135a88]
mov r13, qword [r14]
mov r9, rax
mov rdx, r13
mov qword [rsp + 0x20], rdi
mov r8, r12
mov rcx, rbp
call fcn.1400844d0
lea rdx, str.CONNECT_REQUEST
mov rcx, rax
mov r15, rax
call fcn.1400844a0
mov r8, rbp
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1400744d7
inc esi
lea rax, [0x140135a88]
add r14, 8
cmp esi, 2
jb 0x140074470
mov ebx, 0x7f6
mov r14, rdi
mov r13d, edi
jmp 0x140074820
lea rdx, str.CONNECT_ANSWER
mov rcx, r15
call fcn.1400844a0
mov r8, rbp
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x140074510
mov ebx, 0x7f7
mov r14, rdi
mov r13d, edi
jmp 0x140074820
lea rdx, str.CONNECT_DATA
mov rcx, r15
call fcn.1400844a0
xor edx, edx
mov r8, rbp
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x14007454a
mov ebx, 0x7f8
mov r14, rdi
mov r13d, edi
jmp 0x140074820
xor r9d, r9d
mov qword [rsp + 0x20], 4
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x140074583
mov ebx, 0x7f9
mov r14, rdi
mov r13d, edi
jmp 0x140074820
lea rdx, str.CONNECT_NAMED_MUTEX
mov rcx, r15
call fcn.1400844a0
mov r8, rbp
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rsi, qword [rsp + 0x48]
mov r14, rax
test rax, rax
jne 0x1400745bc
mov ebx, 0x7fe
mov r13d, edi
jmp 0x140074825
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x1400745d6
mov ebx, 0x7fe
mov r13d, edi
jmp 0x140074825
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400745f6
mov ebx, 0x7fd
mov r13d, edi
jmp 0x140074825
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x80]
lea rdx, [rsp + 0xa8]
mov r8d, 0xa
mov qword [rsp + 0x58], rdi
mov ecx, dword [rax]
call fcn.140084590
lea r9, [0x140135a88]
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], r9
mov r8, r12
mov qword [rsp + 0x20], rax
mov rdx, r13
mov rcx, rbp
call fcn.1400844d0
lea rdx, [0x140135ad4]
mov rcx, rax
mov r15, rax
call fcn.1400844a0
xor edx, edx
mov r8, rbp
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov rsi, rax
test rax, rax
jne 0x140074691
mov ebx, 0x7fa
mov r12, rdi
mov r13, rdi
mov r14, rdi
jmp 0x1400747b3
xor r9d, r9d
mov qword [rsp + 0x20], 0x3e84
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
jne 0x1400746ca
mov r12, qword [rsp + 0x68]
mov ebx, 0x7fb
mov r13, r12
mov r14, r12
jmp 0x1400747b3
lea rdx, str.SERVER_WROTE
mov rcx, r15
call fcn.1400844a0
mov r8, rbp
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov r13, rax
test rax, rax
jne 0x1400746fe
mov r12, qword [rsp + 0x68]
mov r14, r12
jmp 0x1400747ae
lea rdx, str.SERVER_READ
mov rcx, r15
call fcn.1400844a0
mov r8, rbp
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov r12, rax
test rax, rax
je 0x1400747a9
lea rdx, str.CLIENT_WROTE
mov rcx, r15
call fcn.1400844a0
mov r8, rbp
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400747a9
lea rdx, str.CLIENT_READ
mov rcx, r15
call fcn.1400844a0
mov r8, rbp
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
je 0x1400747ae
lea rdx, str.CONNECTION_CLOSED
mov rcx, r15
call fcn.1400844a0
mov r8, rbp
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov r14, rax
test rax, rax
jne 0x1400748fa
mov r14, qword [rsp + 0x50]
mov ebx, 0x7fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
test r12, r12
je 0x1400747cb
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13, r13
je 0x1400747d9
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400747e7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400747fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140074808
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test rsi, rsi
je 0x140074816
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13d, dword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov r12, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0x128]
test ebx, ebx
je 0x14007484a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
test rsi, rsi
je 0x140074858
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xe0]
test rax, rax
je 0x140074873
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x140074889
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x14007489f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140074990
test r14, r14
je 0x1400748be
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x7fc
jne 0x140074950
mov r9, qword [str.Cant_open_shared_memory__client_could_not_create__s_event___lu_]
mov edx, ebx
mov r8, qword [section..data]
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r15
call fcn.14007a4c0
or rax, 0xffffffffffffffff
jmp 0x140074993
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rsp + 0x50]
mov r9, r12
mov qword [rsp + 0x30], r14
mov r8, r13
mov qword [rsp + 0x28], rax
mov rdx, rdi
mov rax, qword [rsp + 0x70]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140084bd0
mov rcx, qword [rsp + 0xa0]
mov r14, rbx
mov r13d, ebx
mov qword [rcx], rax
jmp 0x140074820
mov r15, qword [rsp + 0xa0]
jmp 0x140074825
lea eax, [rbx - 0x7d0]
cmp eax, 0x3e
ja 0x140074968
lea r9, str.Unknown_MySQL_error
mov r9, qword [r9 + rax*8]
jmp 0x14007496f
mov r9, qword [0x140445980]
mov r8, qword [section..data]
mov edx, ebx
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x20], r13d
call fcn.14007a4c0
or rax, 0xffffffffffffffff
jmp 0x140074993
mov rax, rdi
mov r15, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14012e750
add rsp, 0xe8
pop r14
pop r13
pop rdi
pop rbx
ret