Function at 0x180049cf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x18014a010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x31], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov rax, qword [rcx + 0x10]
lea rcx, vtable.metasec::MSReadLockWrap.0
mov qword [rbp - 9], rcx
mov qword [rbp - 1], rax
lea r12, [rax + 8]
mov qword [rbp - 0x49], r12
mov rcx, r12
call qword [sym.imp.pthreadVC2.dll_pthread_rwlock_rdlock]
mov r15d, eax
mov dword [rbp + 7], eax
xor edx, edx
mov rcx, qword [rbx + 8]
call fcn.180007870
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov ecx, 0x18
call fcn.18009603c
mov qword [rbp - 0x29], rax
mov rdx, rdi
mov rcx, rax
call fcn.180004800
mov r14, rax
lea rax, vtable.metasec::MSSPLockWrap.0
mov qword [rbp - 0x59], rax
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
mov dword [rbp - 0x51], eax
mov qword [rbp + 0xf], r14
mov ecx, 4
call fcn.18009603c
mov r13, rax
mov qword [rbp + 0x17], rax
mov dword [rax], 1
test ebx, ebx
jne 0x180049dda
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
test rdi, rdi
je 0x180049de7
mov rcx, rdi
call fcn.1800ca7c8
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
test r14, r14
sete bl
test eax, eax
jne 0x180049e10
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
test bl, bl
jne 0x18004a269
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov rbx, qword [rsi]
test eax, eax
jne 0x180049e3e
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
test rbx, rbx
je 0x18004a269
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
cmp qword [rsi], 0
jne 0x180049e7e
mov r8d, 0x8f
lea rdx, str.D:gitlab_runner_builds_a09b78ae0mobilesecproduct_SecSDK_mlcommon_matrixopen_sourceSmartPointerSmartPointer.cpp
lea rcx, str._address
call fcn.1800d09b4
mov rdi, qword [rsi]
test ebx, ebx
jne 0x180049e95
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
mov rdx, rdi
lea rcx, [rbp - 0x41]
call fcn.180043800
mov rdi, rax
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov r15d, eax
mov rbx, qword [rdi]
test rbx, rbx
jne 0x180049eda
mov r8d, 0x8f
lea rdx, str.D:gitlab_runner_builds_a09b78ae0mobilesecproduct_SecSDK_mlcommon_matrixopen_sourceSmartPointerSmartPointer.cpp
lea rcx, str._address
call fcn.1800d09b4
mov rbx, qword [rdi]
test r15d, r15d
jne 0x180049eef
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.18003dba0
nop
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x180049f42
dec dword [rcx]
mov rcx, qword [rbp - 0x39]
cmp dword [rcx], 1
jge 0x180049f42
mov edx, 4
call fcn.180096034
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x180049f42
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
test ebx, ebx
jne 0x180049f56
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
mov rdi, qword [rbp - 0x19]
test rdi, rdi
jne 0x180049f94
mov r8d, 0x8f
lea rdx, str.D:gitlab_runner_builds_a09b78ae0mobilesecproduct_SecSDK_mlcommon_matrixopen_sourceSmartPointerSmartPointer.cpp
lea rcx, str._address
call fcn.1800d09b4
mov rdi, qword [rbp - 0x19]
test ebx, ebx
jne 0x180049fa8
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
test r14, r14
jne 0x180049fd8
mov r8d, 0x8f
lea rdx, str.D:gitlab_runner_builds_a09b78ae0mobilesecproduct_SecSDK_mlcommon_matrixopen_sourceSmartPointerSmartPointer.cpp
lea rcx, str._address
call fcn.1800d09b4
nop
test ebx, ebx
jne 0x180049fec
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
mov rdx, r14
lea rcx, [rbp - 0x59]
call fcn.18003ef70
mov r15, rax
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov r12d, eax
mov rbx, qword [r15]
test rbx, rbx
jne 0x18004a031
mov r8d, 0x8f
lea rdx, str.D:gitlab_runner_builds_a09b78ae0mobilesecproduct_SecSDK_mlcommon_matrixopen_sourceSmartPointerSmartPointer.cpp
lea rcx, str._address
call fcn.1800d09b4
mov rbx, qword [r15]
test r12d, r12d
jne 0x18004a046
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.18003e260
nop
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x18004a099
dec dword [rcx]
mov rcx, qword [rbp - 0x51]
cmp dword [rcx], 1
jge 0x18004a099
mov edx, 4
call fcn.180096034
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x18004a099
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
test ebx, ebx
jne 0x18004a0ad
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
cmp qword [rbp - 0x29], 0
sete bl
test eax, eax
jne 0x18004a0d8
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
test bl, bl
jne 0x18004a1b3
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
mov rdi, qword [rbp - 0x29]
test rdi, rdi
jne 0x18004a117
mov r8d, 0x8f
lea rdx, str.D:gitlab_runner_builds_a09b78ae0mobilesecproduct_SecSDK_mlcommon_matrixopen_sourceSmartPointerSmartPointer.cpp
lea rcx, str._address
call fcn.1800d09b4
mov rdi, qword [rbp - 0x29]
test ebx, ebx
jne 0x18004a12b
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov r15d, eax
cmp qword [rsi], 0
jne 0x18004a15c
mov r8d, 0x8f
lea rdx, str.D:gitlab_runner_builds_a09b78ae0mobilesecproduct_SecSDK_mlcommon_matrixopen_sourceSmartPointerSmartPointer.cpp
lea rcx, str._address
call fcn.1800d09b4
mov rbx, qword [rsi]
test r15d, r15d
jne 0x18004a174
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
lea rdx, [0x180121d98]
mov rcx, qword [rbx + 0x10]
call fcn.1800d2f78
mov rbx, rax
test rax, rax
je 0x18004a1b3
movsxd rdx, dword [rdi + 0xc]
mov r9, rax
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call fcn.1800d2e30
mov rcx, rbx
call fcn.1800d29a8
mov rcx, rbx
call fcn.1800d2a94
nop
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x18004a1f6
dec dword [rcx]
mov rcx, qword [rbp - 0x21]
cmp dword [rcx], 1
jge 0x18004a1f6
mov edx, 4
call fcn.180096034
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18004a1f6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
test ebx, ebx
jne 0x18004a20a
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x18004a24d
dec dword [rcx]
mov rcx, qword [rbp - 0x11]
cmp dword [rcx], 1
jge 0x18004a24d
mov edx, 4
call fcn.180096034
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x18004a24d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
test ebx, ebx
jne 0x18004a261
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
mov r15d, dword [rbp + 7]
mov r12, qword [rbp - 0x49]
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_lock]
mov ebx, eax
dec dword [r13]
cmp dword [r13], 1
jge 0x18004a2a9
mov edx, 4
mov rcx, r13
call fcn.180096034
test r14, r14
je 0x18004a2a9
mov rcx, qword [r14]
mov r8, qword [rcx]
mov edx, 1
mov rcx, r14
call r8
nop
test ebx, ebx
jne 0x18004a2bd
call fcn.18004a9e0
lea rcx, [rax + 8]
call qword [sym.imp.pthreadVC2.dll_pthread_mutex_unlock]
nop
test r15d, r15d
jne 0x18004a2cc
mov rcx, r12
call qword [sym.imp.pthreadVC2.dll_pthread_rwlock_unlock]
nop
mov rcx, rsi
call fcn.180019170
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180096010
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret