Function at 0x210090720
Capabilities:
Map section object

Disassembly:
push rbp
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x2c0
lea rbp, [rsp + 0x80]
mov edi, dword [rbp + 0x2a0]
mov qword [rbp - 0x30], rdx
mov rbx, rcx
lea r12, [rbp + 0x20]
lea r13, [rbp - 0x20]
mov qword [rcx + 0x1f0], rdx
mov dword [rcx + 0x1f8], r8d
mov qword [rbp + 0x288], rdx
mov edx, r9d
and edx, 0x4000
mov qword [rbp - 0x28], 0
call method.fhandler_base.set_nonblocking_int_
mov r8, qword [rbx + 0x128]
mov rcx, r12
lea rdx, str.mqueue_mtx_s
call sym.__small_swprintf_wchar_t__wchar_t_const__::_
mov rdx, r12
mov rcx, r13
lea r12, [rbp - 0x10]
call sym.RtlInitUnicodeString
mov dword [rbp - 0x10], 0x30
call sym.get_shared_parent_dir__
add rsp, 0xffffffffffffff80
mov edx, 0x120001
mov dword [rbp + 8], 0xc0
lea rcx, [rsp + 0x50]
mov qword [rbp - 8], rax
mov qword [rbp], r13
call sym._everyone_sd_void__unsigned_int_
xor r9d, r9d
mov r8, r12
mov edx, 0x120001
lea rcx, [rbx + 0x200]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0
call sym.NtCreateMutant
mov esi, eax
test eax, eax
js 0x2100909b0
lea r14, [rbp + 0x2e]
mov r8d, 3
lea rdx, [0x21028e9e8]
mov rcx, r14
call sym.msys_2.0.dll_wcsncpy
mov dword [rbp - 0x10], 0x30
call sym.get_shared_parent_dir__
add rsp, 0xffffffffffffff80
mov edx, 0x120003
mov dword [rbp + 8], 0xc0
lea rcx, [rsp + 0x50]
mov qword [rbp - 8], rax
mov qword [rbp], r13
call sym._everyone_sd_void__unsigned_int_
xor r9d, r9d
mov r8, r12
mov edx, 0x120003
mov dword [rsp + 0x20], 0
lea rcx, [rbx + 0x208]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0
call sym.NtCreateEvent
mov esi, eax
test eax, eax
js 0x2100909b0
mov r8d, 3
lea rdx, [0x21028e9f0]
mov rcx, r14
call sym.msys_2.0.dll_wcsncpy
xor r9d, r9d
mov r8, r12
mov edx, 0x120003
mov dword [rsp + 0x20], 0
lea rcx, [rbx + 0x210]
call sym.NtCreateEvent
mov esi, eax
test eax, eax
js 0x2100909b0
mov rax, qword [rbx]
lea rdx, [method.fhandler_base.get_handle__]
mov dword [rbp - 0x10], 0x30
mov qword [rbp - 8], 0
mov rax, qword [rax + 0x280]
mov dword [rbp + 8], 0
mov qword [rbp], 0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
cmp rax, rdx
jne 0x210090a38
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x1e8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x30]
mov r8, r12
mov edx, 0xf001f
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 4
call sym.NtCreateSection
mov esi, eax
test eax, eax
js 0x2100909b0
mov dword [rsp + 0x48], 4
xor r9d, r9d
lea r8, [rbp - 0x28]
lea rax, [rbp + 0x288]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x288]
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], 0x100000
mov rcx, qword [rbx + 0x1e8]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call sym.NtMapViewOfSection
mov esi, eax
test eax, eax
js 0x2100909b0
mov rax, qword [rbp - 0x28]
mov qword [rbx + 0x1e0], rax
test dil, dil
je 0x210090a20
cmp dword [rax + 0xf0], 0x98765432
je 0x210090a20
mov esi, 0xc0000022
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x2100909c1
call sym.NtClose
mov rcx, qword [rbx + 0x210]
test rcx, rcx
je 0x2100909d2
call sym.NtClose
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x2100909e3
call sym.NtClose
mov rcx, qword [rbx + 0x200]
test rcx, rcx
je 0x2100909f4
call sym.NtClose
mov r8d, esi
mov edx, 0xea
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_fhandler_mqueue.cc
call sym.seterrno_from_nt_status_char_const__int__int_
xor eax, eax
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop rbp
ret
mov dword [rbx + 0x218], 0x98765432
lea rax, [rbx + 0x1e0]
jmp 0x210090a0a
mov rcx, rbx
call rax
lea rcx, [rbx + 0x1e8]
mov rax, qword [rax]
jmp 0x210090906