Function at 0x14002fa7c
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x250
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r12, rdx
mov rsi, rcx
mov ecx, 8
mov rax, qword gs:[0x58]
mov r8, qword [rax]
lea rax, [0x140045ed8]
mov qword [rcx + r8], rax
lea rcx, [rsp + 0x40]
call fcn.140009790
nop
xor r14d, r14d
mov byte [rbp + 0x190], r14b
mov byte [rbp + 0x1a0], r14b
mov r13d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
mov byte [rbp - 0x20], r14b
mov word [rbp], r14w
mov byte [rbp + 2], r14b
mov qword [rbp + 8], r14
mov byte [rbp + 0x10], r14b
mov byte [rbp + 0xe0], r14b
mov word [rbp + 0x100], r14w
mov byte [rbp + 0x102], r14b
mov qword [rbp + 0x108], r14
mov byte [rbp + 0x110], r14b
mov byte [rbp + 0x40], r14b
mov word [rbp + 0x60], r14w
mov byte [rbp + 0x62], r14b
mov qword [rbp + 0x68], r14
mov byte [rbp + 0x70], r14b
mov byte [rbp - 0x60], r14b
mov word [rbp - 0x40], r14w
mov byte [rbp - 0x3e], r14b
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x30], r14b
mov qword [rsi + 0x210], r14
mov qword [rsi + 0x218], r14
mov qword [rsi + 0x108], r14
mov qword [rsi + 0x110], r14
mov qword [rsi + 0xc0], r14
mov qword [rsi + 0xc8], r14
mov qword [rsp + 0x58], r14
mov byte [rsp + 0x54], r14b
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_realtime_l1_1_0.dll_QueryUnbiasedInterruptTime]
nop dword [rax + rax]
mov r9d, dword [rsi + 0xb8]
lea ebx, [r14 + 1]
movabs r15, 0x200000000000
cmp r9d, 3
je 0x14002fc1b
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x48], r8d
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, ebx
cmp rcx, r14
je 0x14003077a
test byte [rcx + 0x1c], bl
je 0x14003077a
cmp byte [rcx + 0x19], 2
jb 0x14003077a
lea rax, [rsi + 0x90]
lea edx, [rbx + 9]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14002e73c
jmp 0x14003077a
cmp dword [0x14004d098], 5
jbe 0x14002fc7a
test qword [0x14004d0a8], r15
je 0x14002fc7a
mov rax, qword [0x14004d0b0]
and rax, r15
cmp rax, qword [0x14004d0b0]
jne 0x14002fc7a
movzx ecx, word [rsi + 0xb8]
lea rax, [rsi + 0x2b8]
mov qword [rbp - 0x80], rax
mov word [rbp + 0x1a8], cx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x20], rax
lea rdx, [0x140047c58]
call fcn.1400015c0
call qword [sym.imp.ntdll.dll_RtlGetThreadErrorMode]
nop dword [rax + rax]
or eax, 0x10
lea rdx, [rsp + 0x50]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetThreadErrorMode]
nop dword [rax + rax]
movzx ecx, byte [rsp + 0x54]
test eax, eax
cmovns ecx, ebx
mov byte [rsp + 0x54], cl
lea rbx, [rsi + 0x18]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
cmp byte [rsi + 0x2d1], r14b
jne 0x14002fd31
mov edi, 0x80830002
mov dword [rsp + 0x48], edi
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x14002fd14
test byte [rcx + 0x1c], r12b
je 0x14002fd14
cmp byte [rcx + 0x19], 2
jb 0x14002fd14
lea edx, [r12 + 0xa]
mov dword [rsp + 0x20], edi
mov r9d, dword [rsi + 0x80]
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140001adc
test rbx, rbx
je 0x14003077a
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
jmp 0x14003077a
mov dword [rbp + 0xa8], 0x30
mov qword [rbp + 0xb0], r14
lea rax, [rsi + 0x90]
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xc0], 0xc0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc8], xmm0
mov dword [rsp + 0x28], 0x21
mov dword [rsp + 0x20], 7
lea r9, [rbp + 0x140]
lea r8, [rbp + 0xa8]
mov edx, 0x100080
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
mov r15d, eax
test rbx, rbx
je 0x14002fdb0
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test r15d, r15d
jns 0x14002fe17
mov edi, r15d
bts edi, 0x1c
mov dword [rsp + 0x48], edi
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
lea edx, [r12 + 0xb]
mov dword [rsp + 0x20], r15d
lea r9, [rsi + 0x90]
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140009c84
jmp 0x140030770
lea r15, [rsi + 0x4a0]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.14001bbbc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002fe77
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
lea edx, [r12 + 0xc]
lea r9, [rsi + 0x2a0]
mov dword [rsp + 0x20], eax
jmp 0x14002fe02
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14001bc64
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002fee2
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x14002fed1
test byte [rcx + 0x1c], r12b
je 0x14002fed1
cmp byte [rcx + 0x19], 2
jb 0x14002fed1
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0xd]
mov dword [rsp + 0x20], eax
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140009c84
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.14001d470
jmp 0x140030770
cmp qword [rsi + 0x60], r14
je 0x140030726
cmp qword [rsi + 0x118], r14
je 0x140030726
cmp qword [rsi + 0x120], r14
je 0x140030726
cmp byte [rsi + 0xa3], r14b
jne 0x14003009a
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14002ff4e
test byte [rcx + 0x1c], 1
je 0x14002ff4e
cmp byte [rcx + 0x19], 4
jb 0x14002ff4e
lea r9, [rsi + 0x2a0]
mov edx, 0x10
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.14000bc20
xor edx, edx
mov rcx, rsi
call fcn.1400153b8
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002ffad
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 4
jb 0x140030770
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0x10]
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.14000bc20
jmp 0x140030770
lea r9, [rbp + 0x1a0]
mov r8, r12
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp + 8]
call fcn.140038874
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002ffeb
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030023
test byte [rcx + 0x1c], 1
je 0x140030023
cmp byte [rcx + 0x19], 2
jb 0x140030023
mov edx, 0x12
jmp 0x140030008
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030023
test byte [rcx + 0x1c], 1
je 0x140030023
cmp byte [rcx + 0x19], 2
jb 0x140030023
mov edx, 0x13
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x80]
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140001adc
cmp byte [r12], 0
jne 0x140030092
mov dl, 1
mov rcx, rsi
call fcn.14000e2e0
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14003008d
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x14002fed1
test byte [rcx + 0x1c], r12b
je 0x14002fed1
cmp byte [rcx + 0x19], 2
jb 0x14002fed1
lea edx, [r12 + 0x13]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x80]
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140001adc
jmp 0x14002fed1
mov byte [r12], 1
mov r12d, 1
jmp 0x1400300db
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x1400300e4
test byte [rcx + 0x1c], r12b
je 0x1400300e4
cmp byte [rcx + 0x19], 4
jb 0x1400300e4
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0x14]
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.14000bc20
cmp byte [rbp + 0x1a0], 0
jne 0x1400300f0
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.14001d470
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.14001bbbc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140030134
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x16
jmp 0x14002fe6a
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14001bc64
mov edi, eax
mov dword [rsp + 0x48], eax
xor eax, eax
test edi, edi
jns 0x140030182
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
lea r9, [rsi + 0x2a0]
lea edx, [rax + 0x17]
mov dword [rsp + 0x20], edi
jmp 0x14002fe02
mov dword [rsi + 0x138], eax
cmp qword [rsi + 0x118], rax
ja 0x1400301cf
cmp qword [rsi + 0x120], rax
ja 0x1400301cf
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030767
test byte [rcx + 0x1c], r12b
je 0x140030767
cmp byte [rcx + 0x19], 3
jb 0x140030767
lea r9, [rsi + 0x2a0]
mov edx, 0x18
jmp 0x140030757
mov al, byte [rsi + 0x2d9]
neg al
sbb rdx, rdx
and edx, 0xa0
add rdx, 0x540
add rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14001bbbc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14003022b
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x19
jmp 0x14002fe6a
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14001bc64
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14003026e
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x1a
jmp 0x14002fe6a
cmp byte [rsi + 0x2d9], 0
je 0x1400302c3
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140036064
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1400302c3
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x1400302c3
test byte [rcx + 0x1c], r12b
je 0x1400302c3
cmp byte [rcx + 0x19], 2
jb 0x1400302c3
lea r9, [rsi + 0x2a0]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140009c84
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
mov edx, r12d
mov rcx, rsi
call fcn.140037394
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140030310
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x1c
jmp 0x14002fe6a
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x50]
jmp 0x140030338
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx]
cmp byte [rdx + 0x24], 0
je 0x140030338
mov eax, dword [rdx + 0x20]
add r13, rax
test rcx, rcx
jne 0x140030325
test rbx, rbx
je 0x140030351
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030386
test byte [rcx + 0x1c], r12b
je 0x140030386
cmp byte [rcx + 0x19], 5
jb 0x140030386
lea rax, [rsi + 0x2a0]
mov edx, 0x1d
mov qword [rsp + 0x20], rax
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.14002edd0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140030944
mov ebx, eax
test eax, eax
jns 0x1400303ff
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x1400303f2
test byte [rcx + 0x1c], r12b
je 0x1400303f2
cmp byte [rcx + 0x19], 2
jb 0x1400303f2
lea r9, [rsi + 0x2a0]
mov edx, 0x1e
mov dword [rsp + 0x20], eax
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140009c84
mov byte [rbp + 0x190], r12b
mov dword [rsi + 0x220], ebx
mov r9d, dword [rsi + 0xb8]
cmp r9d, 3
je 0x140030462
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x48], r8d
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x1f
mov dword [rsp + 0x28], r8d
lea rax, [rsi + 0x90]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14002e73c
jmp 0x140030770
mov rdx, r15
lea rcx, [rbp + 0xe0]
call fcn.14001bbbc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1400304a9
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x20
jmp 0x14002fe6a
mov dl, r12b
lea rcx, [rbp + 0xe0]
call fcn.14001bc64
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1400304f0
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x21
jmp 0x14002fe6a
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030524
test byte [rcx + 0x1c], r12b
je 0x140030524
cmp byte [rcx + 0x19], 4
jb 0x140030524
lea r9, [rsi + 0x2a0]
mov edx, 0x22
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.14000bc20
mov dword [rsi + 0xb8], 4
lea r8, [rbp + 0x40]
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140031a80
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14003058c
mov byte [rbp + 0x190], r12b
mov dword [rsi + 0x220], eax
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030593
test byte [rcx + 0x1c], r12b
je 0x140030593
cmp byte [rcx + 0x19], 2
jb 0x140030593
lea r9, [rsi + 0x2a0]
mov edx, 0x23
mov dword [rsp + 0x20], eax
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140009c84
mov rcx, qword [0x14004d128]
mov r9d, dword [rsi + 0xb8]
cmp r9d, 4
je 0x1400305d5
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x48], r8d
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x24
jmp 0x140030443
cmp rcx, r14
je 0x140030602
test byte [rcx + 0x1c], r12b
je 0x140030602
cmp byte [rcx + 0x19], 4
jb 0x140030602
lea r9, [rsi + 0x2a0]
mov edx, 0x25
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.14000bc20
mov dword [rsi + 0xb8], 5
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [rbp + 0xe0]
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140032a9c
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14003069a
mov byte [rbp + 0x190], r12b
mov dword [rsi + 0x220], eax
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x1400306a1
test byte [rcx + 0x1c], r12b
je 0x1400306a1
cmp byte [rcx + 0x19], 2
jb 0x1400306a1
lea r9, [rsi + 0x2a0]
mov edx, 0x26
mov dword [rsp + 0x20], eax
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.140009c84
mov rcx, qword [0x14004d128]
mov r9d, dword [rsi + 0xb8]
cmp r9d, 5
je 0x1400306e3
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x48], r8d
cmp rcx, r14
je 0x140030770
test byte [rcx + 0x1c], r12b
je 0x140030770
cmp byte [rcx + 0x19], 2
jb 0x140030770
mov edx, 0x27
jmp 0x140030443
cmp byte [rsi + 0xa3], 0
je 0x140030770
cmp rcx, r14
je 0x14003071d
test byte [rcx + 0x1c], r12b
je 0x14003071d
cmp byte [rcx + 0x19], 4
jb 0x14003071d
lea r9, [rsi + 0x2a0]
mov edx, 0x28
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.14000bc20
mov ch, 0xfd
invalid
mov byte [rsi + 0xa3], 0
jmp 0x140030770
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x140030767
test byte [rcx + 0x1c], r12b
je 0x140030767
cmp byte [rcx + 0x19], 3
jb 0x140030767
lea edx, [r12 + 0xe]
lea r9, [rsi + 0x90]
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.14000bc20
mov edi, 0x80040206
mov dword [rsp + 0x48], edi
movabs r15, 0x200000000000
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_core_realtime_l1_1_0.dll_QueryUnbiasedInterruptTime]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x78]
sub rcx, qword [rbp - 0x70]
movabs rax, 0xe5109ec205d7bea7
mul rcx
shr rdx, 0x1d
mov dword [rsi + 0x224], edx
cmp byte [rbp + 0x190], 0
jne 0x1400307b8
mov dword [rsi + 0x220], edi
mov dl, r12b
lea rcx, [rbp - 0x60]
call fcn.14001d470
mov dl, r12b
lea rcx, [rbp + 0xe0]
call fcn.14001d470
mov dl, r12b
lea rcx, [rbp + 0x40]
call fcn.14001d470
lea rbx, [rsi + 0x18]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov eax, dword [rsi + 0xb8]
sub eax, 3
cmp eax, 2
ja 0x14003083e
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030834
test byte [rcx + 0x1c], r12b
je 0x140030834
cmp byte [rcx + 0x19], 4
jb 0x140030834
lea r9, [rsi + 0x2a0]
mov edx, 0x29
lea r8, [0x140045fc0]
mov rcx, qword [rcx + 0x10]
call fcn.14000bc20
mov dword [rsi + 0xb8], 2
cmp dword [0x14004d098], 5
jbe 0x1400308a3
test qword [0x14004d0a8], r15
je 0x1400308a3
mov rax, qword [0x14004d0b0]
and rax, r15
cmp rax, qword [0x14004d0b0]
jne 0x1400308a3
movzx ecx, word [rsi + 0xb8]
lea rax, [rsi + 0x2b8]
mov qword [rbp + 0x1a0], rax
mov word [rbp + 0x190], cx
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea rdx, [0x140047c04]
call fcn.1400015c0
test rbx, rbx
je 0x1400308b8
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
cmp byte [rsp + 0x54], 0
je 0x1400308d2
xor edx, edx
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlSetThreadErrorMode]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400308e9
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x60]
call fcn.14001f098
nop
lea rcx, [rbp + 0x40]
call fcn.14001f098
nop
lea rcx, [rbp + 0xe0]
call fcn.14001f098
nop
lea rcx, [rbp - 0x20]
call fcn.14001f098
nop
lea rcx, [rsp + 0x40]
call fcn.1400095e0
mov eax, edi
mov rbx, qword [rsp + 0x298]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret