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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, r9
mov r15, r8
mov r13, rdx
mov rdi, rcx
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x180043f8e
test rdx, rdx
je 0x180043b1f
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x180043f8e
test r9, r9
je 0x180043f8e
mov r14d, dword [rsp + 0x170]
test r14d, r14d
jle 0x180043f8e
mov r12, qword [rsp + 0x178]
test r12, r12
je 0x180043f8e
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x180043f8e
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
xor esi, esi
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.180043990
lea rdx, [rsp + 0xf8]
test rdx, rdx
je 0x180043bd1
xor r9d, r9d
lea r8, [rsp + 0x100]
lea edx, [rsi + 1]
lea rcx, str.D:_D_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GA___AU__A_OICI_GA___BA_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
lea r8, [rsp + 0x40]
lea rdx, str.Global_
lea rcx, [rsp + 0xb0]
call fcn.180001514
mov r8, qword [rax]
xor edx, edx
lea rcx, [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r12, rax
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xb0]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180043c2a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_GetLastError]
or edx, 0xffffffff
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8, qword [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x180043cb3
lea r8, [rsp + 0x38]
lea rdx, str.Global_
lea rcx, [rsp + 0xa8]
call fcn.180001514
mov r8, qword [rax]
xor edx, edx
lea ecx, [rdi + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180043caa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rdi, rdi
je 0x180043f35
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180043f2c
lea rsi, [rax + 0x10]
mov edi, dword [rax + 8]
mov ecx, 8
call fcn.180052a04
test rax, rax
je 0x180043cf9
lea rcx, [rsp + 0x60]
mov qword [rax], rcx
jmp 0x180043cfb
xor eax, eax
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.1800488a0
mov qword [rsp + 0x90], rax
mov byte [rax + 0x69], 1
mov rax, qword [rsp + 0x90]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x90]
mov qword [rax], rax
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x98], 0
lea r8d, [rdi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180045c70
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x30]
mov r8, r13
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x60]
call fcn.180044890
test eax, eax
jne 0x180043db8
test r15, r15
jne 0x180043d97
xor ecx, ecx
jmp 0x180043da8
xor eax, eax
mov rcx, rbx
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1800029d0
test r13, r13
jne 0x180043ddd
lea ecx, [r14 - 2]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov rdi, qword [rsp + 0x30]
mov esi, dword [rdi - 0x10]
cmp eax, esi
jge 0x180043dfb
xor esi, esi
test ecx, ecx
cmovg esi, ecx
jmp 0x180043dfb
lea ecx, [r14 - 1]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov rdi, qword [rsp + 0x30]
mov esi, dword [rdi - 0x10]
cmp eax, esi
jge 0x180043dfb
xor esi, esi
test ecx, ecx
cmovg esi, ecx
cmp dword [rdi - 8], 1
jle 0x180043e13
mov edx, dword [rdi - 0x10]
lea rcx, [rsp + 0x30]
call fcn.1800018d8
mov rdi, qword [rsp + 0x30]
movsxd r12, esi
lea r15, [r12 + r12]
mov r9, r15
mov r8, rdi
mov rdx, r15
mov rcx, rbp
call fcn.18005217c
test r13, r13
jne 0x180043e4f
mov rax, r13
test esi, esi
jle 0x180043e52
cmp word [rbp + rax*2], 0xa
jne 0x180043e45
mov word [rbp + rax*2], r13w
inc rax
cmp rax, r12
jl 0x180043e37
jmp 0x180043e52
xor r13d, r13d
sub r14d, esi
movsxd r8, r14d
add r8, r8
lea rcx, [r15 + rbp]
xor edx, edx
call fcn.180054ba0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180043e8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x50], rcx
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xc0], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xd0], xmm0
movaps xmm1, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0xe0], xmm1
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x60]
call fcn.180047c50
mov rcx, qword [rsp + 0x90]
call fcn.1800520c4
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r13
mov rcx, qword [rsp + 0x60]
call fcn.1800520c4
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0xa0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12, r12
je 0x180043f4d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180043f6d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x180043f8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
jmp 0x180043f90
xor eax, eax
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret