Function at 0x2100d0c10
Capabilities:
Check for peb beingdebugged flag
Check os version
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
movzx eax, word [r8]
mov ebx, eax
and ebx, 3
mov word [rsp + 0x4e], bx
mov ebx, eax
mov r14, rcx
and bx, 0x60
mov dword [rsp + 0x128], edx
mov qword [rsp + 0x130], r8
mov word [rsp + 0x4a], bx
je 0x2100d0d50
test al, 0x20
je 0x2100d0c90
test byte [rcx + 8], 0x10
jne 0x2100d18d3
mov rax, qword [rcx]
mov rdx, qword [rax + 0x280]
lea rax, [method.fhandler_base.get_handle__]
cmp rdx, rax
jne 0x2100d1890
lea rax, [rcx + 0x18]
mov rax, qword [rax]
and eax, 3
cmp rax, 3
je 0x2100d18d3
cmp dword [rsp + 0x128], 9
je 0x2100d0cf0
cmp dword [rsp + 0x128], 8
je 0x2100d0cf6
mov rax, qword [rsp + 0x130]
movzx eax, word [rax + 2]
cmp ax, 1
je 0x2100d0d60
cmp ax, 2
je 0x2100d0dd0
mov r13d, 0x16
test ax, ax
je 0x2100d0fb0
mov eax, r13d
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
or word [rsp + 0x4a], 0x10
movzx eax, word [rsp + 0x4e]
cmp ax, 2
je 0x2100d1010
cmp ax, 3
je 0x2100d0fd0
cmp ax, 1
je 0x2100d0fe0
test byte [0x210273880], 1
jne 0x2100d197b
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r13d, 0xffffffff
mov dword [rax], 0x16
call sym.msys_2.0.dll___errno
mov dword [rax], 0x16
jmp 0x2100d0cd3
mov ebx, 0x40
mov word [rsp + 0x4a], bx
jmp 0x2100d0c90
mov rax, qword [r14]
mov r8d, 1
xor edx, edx
mov rcx, r14
call qword [rax + 0x178]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x2100d0de1
cmp qword [rsp + 0x40], 0
js 0x2100d1d42
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x10]
test rax, rax
js 0x2100d1680
je 0x2100d1050
movabs rdx, 0x7fffffffffffffff
sub rax, 1
sub rdx, qword [rsp + 0x40]
cmp rdx, rax
jl 0x2100d1e00
add rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
jmp 0x2100d0e10
cmp dword [r14 + 0x1b0], 0xc3
je 0x2100d10ad
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x10]
test rax, rax
js 0x2100d1060
mov qword [rsp + 0x40], 0
sub rax, 1
mov qword [rsp + 0x50], rax
nop dword [rax + rax]
mov ebp, dword [rsp + 0x128]
mov r12, qword [r14 + 0x20]
test r12, r12
je 0x2100d11d8
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x70]
mov r9d, 1
mov r8d, 1
mov rdx, r12
mov ecx, eax
call method.inode_t.get_unsigned_int__unsigned_long__bool__bool_
mov r15, rax
test rax, rax
je 0x2100d19c9
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 8]
lea rcx, [0x2102738a0]
lea r13, [r15 + 0x10]
sub rdx, 0x3200
call method.muto.release__cygtls_
cmp ebp, 3
mov qword [rsp + 0x90], 0
sete byte [rsp + 0x4d]
movzx eax, byte [rsp + 0x4d]
cmp ebp, 8
je 0x2100d1260
test al, al
jne 0x2100d1260
test byte [rsp + 0x4a], 0x20
je 0x2100d1200
mov rax, qword [0x21024fce8]
mov edx, 0x48
xor ecx, ecx
mov rsi, qword [r14 + 0x58]
mov ebx, dword [rax + 0x14]
call sym.cmalloc
mov r12, rax
movzx eax, word [rsp + 0x4a]
mov qword [r12 + 0x18], rsi
mov word [r12], ax
movzx eax, word [rsp + 0x4e]
mov dword [r12 + 0x20], ebx
mov word [r12 + 2], ax
mov rax, qword [rsp + 0x40]
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [r12 + 0x10], rax
xor r10d, r10d
mov qword [r12 + 0x28], r13
mov word [r12 + 0x24], r10w
mov qword [r12 + 0x30], r15
mov qword [r12 + 0x38], 0
mov qword [r12 + 0x40], 0
cmp ebp, 7
je 0x2100d1560
cmp ebp, 8
je 0x2100d1328
cmp ebp, 3
je 0x2100d12d0
mov rdi, qword [rsp + 0x90]
xor esi, esi
mov qword [rsp + 0x90], r12
mov r13d, 0x16
lea rbx, [method.fhandler_base.get_handle__]
mov qword [r12 + 0x38], rdi
jmp 0x2100d0f94
mov rdx, qword [r14 + 0x18]
mov r8d, esi
mov rcx, r12
call method.lockf_t.del_lock_obj_void__bool_
xor r8d, r8d
xor edx, edx
mov rcx, r12
call method.lockf_t.del_lock_obj_void__bool_
mov rcx, r12
call sym.cfree
test rdi, rdi
je 0x2100d1150
mov r12, rdi
mov rdi, qword [rdi + 0x38]
mov rax, qword [r14]
mov rax, qword [rax + 0x280]
cmp rax, rbx
je 0x2100d0f60
mov rcx, r14
call rax
mov r8d, esi
mov rdx, qword [rax]
jmp 0x2100d0f67
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
jmp 0x2100d0d7f
mov dword [rsp + 0x128], 3
jmp 0x2100d0ca4
test byte [rsp + 0x4a], 0x40
je 0x2100d0ff7
mov eax, dword [r14 + 0x2c]
and eax, 3
cmp eax, 1
je 0x2100d1e74
mov dword [rsp + 0x128], 8
jmp 0x2100d0ca4
test byte [rsp + 0x4a], 0x40
je 0x2100d0ff7
test byte [r14 + 0x2c], 3
jne 0x2100d0ff7
test byte [0x210273880], 1
jne 0x2100d1e50
mov r8d, 9
mov edx, 0x3e7
lea rcx, str.virtual_int_fhandler_base::lock_int__flock_
or r13d, 0xffffffff
call sym.__set_errno_char_const__int__int_
jmp 0x2100d0cd3
mov qword [rsp + 0x50], 0xffffffffffffffff
jmp 0x2100d0e10
test byte [0x210273880], 1
je 0x2100d0d26
mov dword [rsp + 0x30], 0x16
mov dword [rsp + 0x28], 0x423
lea rax, str.virtual_int_fhandler_base::lock_int__flock_
lea r9, [0x210296c87]
mov edx, 0x40
mov qword [rsp + 0x20], rax
lea r8, [0x210296ca0]
lea rcx, [0x210273880]
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100d0d26
mov rax, qword [r14]
mov rdx, qword [rax + 0x280]
lea rax, [method.fhandler_base.get_handle__]
cmp rdx, rax
jne 0x2100d19f9
lea rax, [r14 + 0x18]
mov dword [rsp + 0x20], 5
mov rcx, qword [rax]
lea rdx, [rsp + 0xa0]
mov r9d, 0x18
lea r8, [rsp + 0xb0]
call sym.NtQueryInformationFile
test eax, eax
js 0x2100d1e9d
mov rax, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rax + 8]
test rax, rax
jle 0x2100d1140
movabs rcx, 0x7fffffffffffffff
sub rcx, rax
cmp rcx, rdx
jge 0x2100d1140
mov r8d, 0x8b
mov edx, 0x410
lea rcx, str.virtual_int_fhandler_base::lock_int__flock_
call sym.__set_errno_char_const__int__int_
jmp 0x2100d11c7
add rax, rdx
mov qword [rsp + 0x40], rax
jmp 0x2100d0d7f
mov rcx, r15
call method.inode_t.unlock_and_remove_if_unused__
cmp r13d, 4
je 0x2100d1180
cmp r13d, 0x8c
je 0x2100d1dfb
test r13d, r13d
jne 0x2100d11a8
or byte [r14 + 9], 4
jmp 0x2100d0cd3
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 8]
sub rcx, 0x3200
call method._cygtls.call_signal_handler__
test eax, eax
jne 0x2100d0e17
nop dword [rax]
test byte [0x210273880], 1
jne 0x2100d1850
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov dword [rax], r13d
call sym.msys_2.0.dll___errno
mov dword [rax], r13d
mov r13d, 0xffffffff
jmp 0x2100d0cd3
lea rcx, [r14 + 0x80]
xor edx, edx
call method.path_conv.get_nt_native_path__UNICODE_STRING_
xor ecx, ecx
mov rdx, rax
call sym.hash_path_name_unsigned_long___UNICODE_STRING_
mov qword [r14 + 0x20], rax
mov r12, rax
jmp 0x2100d0e24
call sym.msys_2.0.dll_getpid
mov edx, 0x48
xor ecx, ecx
movsxd rbx, eax
mov rax, qword [0x21024fce8]
mov esi, dword [rax + 0x14]
call sym.cmalloc
mov r12, rax
movzx eax, word [rsp + 0x4a]
mov qword [r12 + 0x18], rbx
mov word [r12], ax
movzx eax, word [rsp + 0x4e]
mov dword [r12 + 0x20], esi
mov word [r12 + 2], ax
mov rax, qword [rsp + 0x40]
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [r12 + 0x10], rax
jmp 0x2100d0ef8
mov edx, 0x48
xor ecx, ecx
call sym.cmalloc
xor r11d, r11d
mov dword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov dword [rax + 0x20], 0
mov word [rax + 0x24], r11w
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x40], 0
mov qword [rsp + 0x90], rax
jmp 0x2100d0e9d
mov rax, qword [r14]
lea rbx, [method.fhandler_base.get_handle__]
mov rax, qword [rax + 0x280]
cmp rax, rbx
jne 0x2100d199f
lea rax, [r14 + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x90]
mov rcx, r12
call sym.lf_clearlock_lockf_t__lockf_t__void_
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x90], r12
mov r13d, eax
mov qword [r12 + 0x38], rdi
movzx esi, byte [rsp + 0x4d]
jmp 0x2100d0f94
mov rax, qword [r14]
lea rbx, [method.fhandler_base.get_handle__]
mov rax, qword [rax + 0x280]
cmp rax, rbx
jne 0x2100d1990
lea rax, [r14 + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov eax, dword [rax - 0x2cc8]
mov dword [rsp + 0xa0], eax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov eax, dword [rax - 0x2cc4]
mov dword [rsp + 0xa4], eax
call sym.GetCurrentThread
mov rcx, rax
call sym.GetThreadPriority
cmp word [r12 + 2], 2
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x60], eax
jne 0x2100d13b2
mov esi, dword [rsp + 0x58]
mov eax, 2
cmp esi, eax
cmovge eax, esi
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0xa0]
call method.tmp_pathbuf.w_get__
mov qword [rsp + 0x88], r13
mov qword [r15 + 0x18], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x120], r14
mov dword [rsp + 0x128], ebp
mov qword [rsp + 0x68], rbx
mov rdx, r15
mov rcx, r12
call sym.lf_getblock_lockf_t__inode_t_
mov rdi, rax
test rax, rax
je 0x2100d1a3f
movzx eax, word [r12]
mov r14, qword [rdi + 0x40]
mov qword [rdi + 0x40], 0
test al, 0x10
je 0x2100d1a03
test al, 0x40
jne 0x2100d17f0
test al, 0x20
je 0x2100d1438
cmp word [r12 + 2], 2
je 0x2100d1938
mov rcx, qword [r15 + 0x38]
call sym.ReleaseMutex
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
test byte [r12], 0x40
jne 0x2100d1760
mov ebp, 2
xor r13d, r13d
mov esi, 0x64
mov edi, 1
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov rax, qword [rbx - 0x21c8]
test rax, rax
je 0x2100d17a0
mov edx, edi
mov qword [rsp + rdx*8 + 0xb0], rax
mov byte [rbx - 0x21c0], 1
call method.pthread.get_cancel_event__
test rax, rax
je 0x2100d17e0
mov edx, ebp
lea ebx, [rdi + 2]
mov qword [rsp + rdx*8 + 0xb0], rax
call sym.GetCurrentThread
mov edx, dword [rsp + 0x60]
mov rcx, rax
call sym.SetThreadPriority
mov r9d, esi
xor r8d, r8d
mov ecx, ebx
lea rdx, [rsp + 0xb0]
call sym.WaitForMultipleObjects
mov esi, eax
call sym.GetCurrentThread
mov edx, dword [rsp + 0x58]
mov rcx, rax
call sym.SetThreadPriority
test r13, r13
je 0x2100d1519
mov rcx, r13
call sym.CloseHandle
mov rcx, qword [r15 + 0x38]
mov edx, 0xffffffff
call sym.WaitForSingleObject
mov rcx, r14
call sym.NtClose
cmp edi, esi
je 0x2100d1cc6
cmp esi, ebp
je 0x2100d16d0
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov byte [rax - 0x21c0], 0
jmp 0x2100d13ef
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov eax, dword [rax - 0x2cc8]
mov dword [rsp + 0xb0], eax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov eax, dword [rax - 0x2cc4]
mov dword [rsp + 0xb4], eax
call method.tmp_pathbuf.w_get__
mov rdx, r15
mov rcx, r12
mov qword [r15 + 0x18], rax
call sym.lf_getblock_lockf_t__inode_t_
mov rbx, rax
test rax, rax
je 0x2100d18be
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x2100d15d5
call sym.NtClose
mov qword [rbx + 0x40], 0
mov rsi, qword [rsp + 0x130]
movzx eax, word [rbx + 2]
xor ecx, ecx
mov rdx, qword [rbx + 0x10]
mov word [rsi + 2], cx
mov rcx, qword [rbx + 8]
mov word [rsi], ax
mov rax, rdx
sub rax, rcx
mov qword [rsi + 8], rcx
add rax, 1
cmp rdx, 0xffffffffffffffff
mov edx, 0
cmove rax, rdx
mov qword [rsi + 0x10], rax
test byte [rbx], 0x40
je 0x2100d18aa
mov rax, qword [rbx + 0x18]
mov dword [rsi + 0x18], eax
mov rax, qword gs:[0x30]
mov edx, dword [rsp + 0xb0]
mov rax, qword [rax + 8]
xor r13d, r13d
lea rbx, [method.fhandler_base.get_handle__]
mov rdi, qword [rsp + 0x90]
mov dword [rax - 0x2cc8], edx
mov edx, dword [rsp + 0xb4]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc4], edx
mov qword [r12 + 0x38], rdi
mov qword [rsp + 0x90], r12
jmp 0x2100d1319
cmp qword [rsp + 0x40], 0
je 0x2100d1060
mov rsi, qword [rsp + 0x40]
lea rbx, [rsi - 1]
add rsi, rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rsi
jns 0x2100d0e10
mov r8d, 0x16
mov edx, 0x42a
lea rcx, str.virtual_int_fhandler_base::lock_int__flock_
or r13d, 0xffffffff
call sym.__set_errno_char_const__int__int_
jmp 0x2100d0cd3
mov r14, qword [rsp + 0x120]
mov ebp, dword [rsp + 0x128]
mov r13d, 0x8c
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov qword [r12 + 0x38], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], r12
mov byte [rax - 0x21c0], 0
mov edx, dword [rsp + 0xa0]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc8], edx
mov edx, dword [rsp + 0xa4]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc4], edx
test r12, r12
je 0x2100d1150
mov rdi, qword [r12 + 0x38]
jmp 0x2100d1319
mov r8d, dword [rdi + 0x20]
xor edx, edx
mov ecx, 0x100000
call sym.OpenProcess
mov r13, rax
test rax, rax
je 0x2100d196a
mov ebp, 3
mov esi, 0xffffffff
mov edi, 2
mov qword [rsp + 0xb8], rax
jmp 0x2100d148a
lea r11, [rbx - 0x3200]
mov rcx, r11
mov qword [rsp + 0x78], r11
call method._cygtls.lock__
cmp qword [rbx - 0x21c8], 0
mov r11, qword [rsp + 0x78]
je 0x2100d19a9
mov rcx, r11
call method._cygtls.unlock__
mov rax, qword [rbx - 0x21c8]
jmp 0x2100d14a7
mov ebx, ebp
mov ebp, 0x103
jmp 0x2100d14d3
mov rsi, qword [r15 + 0x10]
test rsi, rsi
jne 0x2100d180d
jmp 0x2100d1427
mov rsi, qword [rsi + 0x38]
test rsi, rsi
je 0x2100d18a0
test byte [rsi], 0x40
je 0x2100d1800
mov rcx, qword [rsi + 0x40]
call sym.get_obj_handle_count_void_
cmp eax, 1
jbe 0x2100d1800
mov rcx, r14
mov ebp, dword [rsp + 0x128]
mov r14, qword [rsp + 0x120]
mov r13d, 0x2d
mov rbx, qword [rsp + 0x68]
call sym.NtClose
mov r12, qword [rsp + 0x90]
jmp 0x2100d1713
lea rax, str.virtual_int_fhandler_base::lock_int__flock_
mov dword [rsp + 0x30], r13d
lea r9, [0x210296c87]
mov edx, 0x40
mov dword [rsp + 0x28], 0x4a7
lea r8, [0x210296ca0]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100d11b5
call rdx
jmp 0x2100d0c80
movzx eax, word [r12]
jmp 0x2100d1427
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x18], 0xffffffff
jmp 0x2100d1621
mov rax, qword [rsp + 0x130]
mov edx, 3
mov word [rax], dx
jmp 0x2100d1621
lea r12, [0x210273880]
test byte [0x210273880], 1
jne 0x2100d1d64
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov dword [rax], 0x16
call sym.msys_2.0.dll___errno
mov dword [rax], 0x16
test byte [0x210273880], 1
je 0x2100d11c7
lea r9, str.BSD_locking_on_nohandle_and_old_style_console_devices_not_supported
lea r8, str.virtual_int_fhandler_base::lock_int__flock_
mov edx, 0x40
mov rcx, r12
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov r13d, 0xffffffff
jmp 0x2100d0cd3
mov r8d, 3
mov rdx, qword [rsp + 0x80]
mov rcx, r12
mov word [r12 + 2], r8w
mov r8, qword [rsp + 0x70]
call sym.lf_clearlock_lockf_t__lockf_t__void_
mov r9d, 2
mov word [r12 + 2], r9w
jmp 0x2100d1438
mov ebp, 2
xor esi, esi
mov edi, 1
jmp 0x2100d148a
mov dword [rsp + 0x30], 0x16
mov dword [rsp + 0x28], 0x3ec
jmp 0x2100d107d
mov rcx, r14
call rax
mov r13, qword [r12 + 0x28]
jmp 0x2100d1346
mov rcx, r14
call rax
jmp 0x2100d12ee
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sym.CreateEventA
mov r11, qword [rsp + 0x78]
mov qword [rbx - 0x21c8], rax
jmp 0x2100d17c7
test byte [0x210273880], 1
jne 0x2100d1ced
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r13d, 0xffffffff
mov dword [rax], 0x2e
call sym.msys_2.0.dll___errno
mov dword [rax], 0x2e
jmp 0x2100d0cd3
mov rcx, r14
call rdx
jmp 0x2100d10cb
mov rcx, r14
mov ebp, dword [rsp + 0x128]
mov r14, qword [rsp + 0x120]
mov r13d, 0xb
mov rbx, qword [rsp + 0x68]
call sym.NtClose
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x90], r12
mov qword [r12 + 0x38], rax
jmp 0x2100d1713
mov r13, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x68]
lea rsi, [rsp + 0xb0]
mov r14, qword [rsp + 0x120]
mov ebp, dword [rsp + 0x128]
mov rdi, rsi
call sym.allow_others_to_sync__
mov r10, qword [r13]
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x60], rax
lea rax, [r12 + 0x38]
mov rbx, r12
mov qword [rsp + 0x68], rax
mov rsi, r10
mov qword [rsp + 0x98], r13
mov r13d, 1
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, rsi
mov r8d, 1
call sym.lf_findoverlap_lockf_t__lockf_t__int__lockf_t__lockf_t_
test eax, eax
jne 0x2100d1adc
mov r12, rbx
mov rbx, qword [rsp + 0x58]
test r13d, r13d
jne 0x2100d1e20
mov r12, qword [rsp + 0x90]
jmp 0x2100d1713
mov r12, qword [rsp + 0xb0]
mov rsi, qword [r12 + 0x38]
cmp eax, 5
ja case.0x2100d1b02.0
lea rdx, [0x210297000]
mov eax, eax
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rax, qword [rbx + 8]
mov rdx, qword [rsp + 0x70]
mov qword [rbx + 0x38], rsi
mov rcx, r12
mov qword [r12 + 0x38], rbx
mov r8d, 1
sub rax, 1
mov qword [r12 + 0x10], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
call method.lockf_t.del_lock_obj_void__bool_
mov rcx, r12
call method.lockf_t.create_lock_obj__
mov rcx, rbx
call method.lockf_t.create_lock_obj__
xor r13d, r13d
jmp 0x2100d1a9f
mov rdx, qword [rsp + 0x70]
mov r8d, 1
mov rcx, r12
call method.lockf_t.del_lock_obj_void__bool_
mov rax, qword [rsp + 0x98]
test r13d, r13d
jne 0x2100d1db8
mov rdx, qword [r12 + 0x38]
mov qword [rax], rdx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x90], r12
mov qword [r12 + 0x38], rax
jmp 0x2100d1b4a
mov rdi, r12
mov r12, rbx
mov rbx, qword [rsp + 0x58]
movzx eax, word [r12 + 2]
cmp word [rdi + 2], ax
je 0x2100d1dde
mov rax, qword [r12 + 8]
cmp qword [rdi + 8], rax
jne 0x2100d1da0
mov rax, qword [rsp + 0x98]
mov qword [rax], r12
mov rax, qword [r12 + 0x10]
mov qword [r12 + 0x38], rdi
add rax, 1
mov qword [rdi + 8], rax
mov rdx, qword [rsp + 0x70]
mov r8d, 1
mov rcx, rdi
call method.lockf_t.del_lock_obj_void__bool_
mov rcx, rdi
call method.lockf_t.create_lock_obj__
mov rcx, r12
call method.lockf_t.create_lock_obj__
mov rcx, qword [r12 + 0x38]
test rcx, rcx
je 0x2100d1c14
cmp qword [rcx + 0x40], 0
je 0x2100d1cbc
mov r12, qword [rsp + 0x90]
xor r13d, r13d
jmp 0x2100d1713
mov rdi, r12
mov rdx, qword [rsp + 0x70]
mov r12, rbx
mov rbx, qword [rsp + 0x58]
mov r8d, 1
mov rcx, rdi
xor r13d, r13d
call method.lockf_t.del_lock_obj_void__bool_
movzx eax, word [r12 + 2]
mov rcx, rdi
mov word [rdi + 2], ax
call method.lockf_t.create_lock_obj__
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x90], r12
mov qword [r12 + 0x38], rax
jmp 0x2100d1713
mov rdi, r12
mov r12, rbx
mov rbx, qword [rsp + 0x58]
test r13d, r13d
je 0x2100d1c91
mov rax, qword [rsp + 0x98]
mov qword [rax], r12
mov qword [r12 + 0x38], rdi
mov rax, qword [r12 + 0x10]
mov rdx, qword [rsp + 0x70]
mov r8d, 1
mov rcx, rdi
add rax, 1
mov qword [rdi + 8], rax
call method.lockf_t.del_lock_obj_void__bool_
mov rcx, r12
call method.lockf_t.create_lock_obj__
mov rcx, rdi
call method.lockf_t.create_lock_obj__
jmp 0x2100d1c14
mov r14, qword [rsp + 0x120]
mov ebp, dword [rsp + 0x128]
mov r13d, 4
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
jmp 0x2100d16f2
lea rax, str.virtual_int_fhandler_base::lock_int__flock_
mov dword [rsp + 0x30], 0x2e
lea r9, [0x210296c87]
mov edx, 0x40
mov dword [rsp + 0x28], 0x440
lea r8, [0x210296ca0]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100d19d6
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x90]
xor r13d, r13d
jmp 0x2100d1713
test byte [0x210273880], 1
je 0x2100d0d26
mov dword [rsp + 0x30], 0x16
mov dword [rsp + 0x28], 0x41c
jmp 0x2100d107d
mov dword [rsp + 0x30], 0x16
mov edx, 0x40
mov rcx, r12
lea rax, str.virtual_int_fhandler_base::lock_int__flock_
mov dword [rsp + 0x28], 0x3bf
lea r9, [0x210296c87]
lea r8, [0x210296ca0]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100d18e7
lea r8, [rsp + 0x90]
mov rdx, r12
mov rcx, rdi
call sym.lf_split_lockf_t__lockf_t__lockf_t_
jmp 0x2100d1bdc
mov qword [rax], rbx
mov rax, qword [r12 + 0x38]
mov rcx, rbx
mov qword [rbx + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
call method.lockf_t.create_lock_obj__
jmp 0x2100d1b7e
mov rax, qword [rsp + 0x90]
xor r13d, r13d
mov qword [rsp + 0x90], r12
mov qword [r12 + 0x38], rax
jmp 0x2100d1713
call method.pthread.static_cancel_self__
mov r8d, 0x8b
mov edx, 0x435
lea rcx, str.virtual_int_fhandler_base::lock_int__flock_
or r13d, 0xffffffff
call sym.__set_errno_char_const__int__int_
jmp 0x2100d0cd3
mov rax, qword [rsp + 0x98]
mov rcx, r12
xor r13d, r13d
mov qword [rax], r12
mov rax, qword [rsp + 0xb0]
mov qword [r12 + 0x38], rax
call method.lockf_t.create_lock_obj__
mov r12, qword [rsp + 0x90]
jmp 0x2100d1713
lea r9, str.request_F_WRLCK_on_O_RDONLY_file:_EBADF
lea r8, str.virtual_int_fhandler_base::lock_int__flock_
mov edx, 0x40
lea rcx, [0x210273880]
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100d102b
test byte [0x210273880], 1
jne 0x2100d1eb6
mov r8d, 9
mov edx, 0x3dd
lea rcx, str.virtual_int_fhandler_base::lock_int__flock_
or r13d, 0xffffffff
call sym.__set_errno_char_const__int__int_
jmp 0x2100d0cd3
mov r8d, eax
mov edx, 0x40b
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_flock.cc
call sym.seterrno_from_nt_status_char_const__int__int_
jmp 0x2100d11c7
lea r9, str.request_F_RDLCK_on_O_WRONLY_file:_EBADF
lea r8, str.virtual_int_fhandler_base::lock_int__flock_
mov edx, 0x40
lea rcx, [0x210273880]
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100d1e7d