Function at 0x14001caa0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x890]
sub rsp, 0x990
mov rax, qword [0x1402698e0]
xor rax, rsp
mov qword [rbp + 0x870], rax
mov rdi, rcx
mov rcx, qword [rbp + 0x8e0]
mov rsi, r9
mov rbx, r8
mov r14, rdx
test rcx, rcx
je 0x14001cae4
call fcn.1400095d0
mov qword [rdi + 8], r14
lea rdx, str.Matcher
lea rcx, [rsp + 0x30]
mov qword [0x140270960], r14
call fcn.140197bf8
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [rdi + reloc.WS2_32.dll_htonl]
cmp byte [rdi + 0x304], 1
jne 0x14001cb49
lea r8, str.RMatcher_mutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001cb49
lea rdx, str.Only_1_instance_of_RMatcher_allowed_in_LOCAL_mode
mov ecx, 2
call qword [rdi + reloc.WS2_32.dll_htonl]
or rax, 0xffffffffffffffff
jmp 0x14001cf83
lea rcx, [rsp + 0x30]
test rsi, rsi
jne 0x14001cb73
lea rdx, str.RMatcher_started_with_no_Config_file
call fcn.140197bf8
lea rdx, [rsp + 0x30]
lea ecx, [rsi + 2]
call qword [rdi + reloc.WS2_32.dll_htonl]
or rax, 0xffffffffffffffff
jmp 0x14001cf83
lea rdx, str.Using_configuration_file____s
mov r8, rsi
mov qword [rsp + 0x980], r15
call fcn.140197bf8
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [rdi + reloc.WS2_32.dll_htonl]
test rbx, rbx
je 0x14001cb9e
cmp byte [rbx], 0
jne 0x14001cbac
mov rdx, rsi
mov rcx, rdi
call fcn.14001bbd0
mov rbx, rax
lea rdx, str.Project_path_is__.1024s
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140197bf8
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [rdi + reloc.WS2_32.dll_htonl]
lea rdx, str.TS_CONFIG_s_settings_Config64.tbl
lea rcx, [rbp + 0x760]
mov r8, rbx
call fcn.140197bf8
lea rcx, [rbp + 0x760]
call fcn.140198490
lea rdx, str.Loading_properties_from_config_file___s_
lea rcx, [rsp + 0x30]
mov r8, rsi
call fcn.140197bf8
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [rdi + reloc.WS2_32.dll_htonl]
lea r8, str.Trillium
lea rcx, [rdi + 0x20]
mov rdx, rsi
call fcn.140003780
lea rdx, str.Return_code_from_properties_load_is__d.
lea rcx, [rsp + 0x30]
mov r8d, eax
mov r14d, eax
call fcn.140197bf8
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [rdi + reloc.WS2_32.dll_htonl]
test r14d, r14d
je 0x14001cca1
lea rcx, [rsp + 0x30]
cmp r14d, 1
jne 0x14001cc62
lea rdx, str.Fatal_error__d:_Unable_to_open_the_config_file___s_.
mov r9, rsi
mov r8d, r14d
call fcn.140197bf8
jmp 0x14001cc8b
cmp r14d, 2
jne 0x14001cc7c
lea rdx, str.Fatal_error__d:_Unable_to_find_the_section_header_in___s_.
mov r9, rsi
mov r8d, r14d
call fcn.140197bf8
jmp 0x14001cc8b
lea rdx, str.Fatal_error__d_encountered_loading_properties.
mov r8d, r14d
call fcn.140197bf8
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [rdi + reloc.WS2_32.dll_htonl]
or rax, 0xffffffffffffffff
jmp 0x14001cf7b
lea rdx, str.MatchParmFile
lea rcx, [rdi + 0x20]
call fcn.140004000
lea rdx, str.MatchLogFile
lea rcx, [rdi + 0x20]
mov qword [rdi + 0x98], rax
call fcn.140004000
mov rdx, qword [rdi + 0x98]
mov qword [rdi + 0xa0], rax
or r14, 0xffffffffffffffff
cmp byte [rdx], 0
jne 0x14001cce4
xor r8d, r8d
jmp 0x14001ccfa
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14001ccf0
lea rcx, [0x140270ae0]
call fcn.140003060
mov rdx, qword [rdi + 0xa0]
cmp byte [rdx], 0
jne 0x14001cd17
xor r8d, r8d
jmp 0x14001cd2a
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14001cd20
lea rcx, [0x140270b00]
call fcn.140003060
lea rdx, str.DefaultCharacterSetEncoding
lea rcx, [rdi + 0x20]
call fcn.140004000
mov rax, qword [rdi + 0x98]
cmp byte [rax], 0
jne 0x14001cd69
lea rdx, str.The_MatchParmFile_property_was_not_specified__please_check_your_configuration.
mov ecx, 2
call qword [rdi + reloc.WS2_32.dll_htonl]
mov eax, r14d
jmp 0x14001cf7b
mov rax, qword [rdi + 0xa0]
cmp byte [rax], 0
jne 0x14001cd8c
lea rdx, str.The_MatchLogFile_property_was_not_specified__please_check_your_configuration.
mov ecx, 2
call qword [rdi + reloc.WS2_32.dll_htonl]
mov eax, r14d
jmp 0x14001cf7b
lea rdx, str.MatchForceWindow
lea rcx, [rdi + 0x20]
mov qword [rsp + 0x9c8], r12
call fcn.140004000
lea rcx, [rdi + 0xf0]
mov rdx, rax
call fcn.140003440
mov eax, dword [rbp + 0x8e8]
mov dword [rdi + 0x10], eax
mov eax, dword [rbp + 0x8f0]
mov dword [rdi + 0x14], eax
mov dword [rdi + 0x18], eax
cmp eax, 1
jae 0x14001cdd4
mov dword [rdi + 0x18], 1
mov ecx, dword [rdi + 0x18]
mov eax, 0x28
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400266b8
mov rcx, rax
mov qword [rdi + 0xa8], rax
test rax, rax
jne 0x14001ce0f
lea rdx, str.Unable_to_allocate_Client_Control_Blocks
lea ecx, [rax + 2]
call qword [rdi + reloc.WS2_32.dll_htonl]
mov eax, r14d
jmp 0x14001cf73
mov eax, dword [rdi + 0x18]
xor edx, edx
mov qword [rsp + 0x988], r13
lea r8, [rax + rax*4]
shl r8, 3
call fcn.14019ab30
lea rdx, [rsp + 0x20]
lea rcx, [0x140270da4]
call fcn.14001c870
mov dword [0x140270da0], 1
xor ecx, ecx
lea r13, [0x140270da0]
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x20]
lea rcx, [rcx + 1]
mov byte [rcx + r13 + 0xb], al
test al, al
jne 0x14001ce50
lea rcx, [0x140270dcc]
sub rcx, rbx
nop dword [rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rcx + rbx - 1], al
test al, al
jne 0x14001ce70
xor esi, esi
cmp dword [rdi + 0x18], esi
jbe 0x14001cf01
nop word [rax + rax]
lea rdx, str.Creating_TSI_area__d
lea rcx, [rsp + 0x30]
mov r8d, esi
call fcn.140197bf8
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [rdi + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi + 0xa8]
lea rcx, [rsi + rsi*4]
lea rbx, [rax + rcx*8]
mov rcx, r13
lea rdx, [rbx + 0x20]
call qword [sym.imp.libtsi.dll_int___cdecl_TSI_LoadProjectEx_struct_TSI_LoadProject_ProjectProperties_const____ptr64__int____ptr64_]
lea rdx, str.Back_from_creating_TSI_area__status___d
lea rcx, [rsp + 0x30]
mov r8d, eax
mov r15d, eax
mov dword [rbx], 1
call fcn.140197bf8
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [rdi + reloc.WS2_32.dll_htonl]
test r15d, r15d
jne 0x14001cfa0
inc esi
cmp esi, dword [rdi + 0x18]
jb 0x14001ce90
cmp byte [rdi + 0xfc], 0
jne 0x14001cf18
movups xmm0, xmmword [str.SEQUENCE_NUMBER]
movups xmmword [rdi + 0xfc], xmm0
mov rax, qword [rdi + 0xf0]
test rax, rax
je 0x14001cf4e
movsx ecx, byte [rax]
call fcn.140199a18
mov rcx, qword [rdi + 0xf0]
movzx eax, byte [rcx]
cmp al, 0x43
je 0x14001cf4e
cmp al, 0x52
je 0x14001cf4e
call fcn.1400266b0
mov qword [rdi + 0xf0], 0
lea rdx, str.Matcher_UCA_initialization_complete
lea rcx, [rsp + 0x30]
call fcn.140197bf8
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [rdi + reloc.WS2_32.dll_htonl]
xor eax, eax
mov r13, qword [rsp + 0x988]
mov r12, qword [rsp + 0x9c8]
mov r15, qword [rsp + 0x980]
mov rcx, qword [rbp + 0x870]
xor rcx, rsp
call fcn.14019aa20
add rsp, 0x990
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.Fatal_error___4.4d__encountered_during_initialization_of_UCA.
lea rcx, [rsp + 0x30]
mov r8d, r15d
call fcn.140197bf8
cmp r15d, 2
jne 0x14001d044
lea rcx, [rsp + 0x30]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001cfc6
mov eax, dword [0x1401ca3d0]
movups xmm0, xmmword [str._nUnable_to_load_UCA]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
mov rax, qword [rdi + 0xa8]
mov rcx, qword [rax + 0x18]
cmp qword [rcx + 0x20], 0
jne 0x14001d132
lea rcx, [rsp + 0x30]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001d001
movaps xmm0, xmmword [str._nThe_UCA_version_is_different_than_expected__please_check_your_path]
movaps xmm1, xmmword [0x1401ca3f0]
mov eax, dword [0x1401ca420]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [0x1401ca400]
movaps xmm1, xmmword [0x1401ca410]
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
mov dword [rcx + 0x40], eax
jmp 0x14001d132
mov rcx, qword [rdi + 0xa0]
lea rdx, [0x1401ca424]
call fcn.140197bc8
lea rcx, [rsp + 0x30]
dec rcx
test rax, rax
jne 0x14001d0d3
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001d064
movups xmm0, xmmword [str._nUnable_to_open_log_file]
movsd xmm1, qword [0x1401ca438]
movzx eax, word [0x1401ca440]
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov word [rcx + 0x18], ax
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001d0a0
mov r8, qword [rdi + 0xa0]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
lea rdx, [rdx + 1]
mov byte [rcx + rdx - 1], al
test al, al
jne 0x14001d0c0
jmp 0x14001d132
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001d0d3
movups xmm0, xmmword [str._nCheck_log_file]
movzx eax, byte [0x1401ca458]
lea rdx, [rsp + 0x30]
dec rdx
movups xmmword [rcx], xmm0
mov byte [rcx + 0x10], al
nop dword [rax]
cmp byte [rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x14001d100
mov r9, qword [rdi + 0xa0]
xor r8d, r8d
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 + r8]
lea r8, [r8 + 1]
mov byte [rdx + r8 - 1], al
test al, al
jne 0x14001d120
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [rdi + reloc.WS2_32.dll_htonl]
mov rcx, rdi
call fcn.14001e1d0
mov eax, r14d
jmp 0x14001cf6b