Function at 0x14002f99c
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, [0x140045e88]
mov qword [rcx + r8], rax
lea rcx, [rsp + 0x40]
call fcn.1400096b0
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 0x14002fb3b
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 0x14003069a
test byte [rcx + 0x1c], bl
je 0x14003069a
cmp byte [rcx + 0x19], 2
jb 0x14003069a
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.14002e65c
jmp 0x14003069a
cmp dword [0x14004d098], 5
jbe 0x14002fb9a
test qword [0x14004d0a8], r15
je 0x14002fb9a
mov rax, qword [0x14004d0b0]
and rax, r15
cmp rax, qword [0x14004d0b0]
jne 0x14002fb9a
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, [0x140047c08]
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 0x14002fc51
mov edi, 0x80830002
mov dword [rsp + 0x48], edi
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x14002fc34
test byte [rcx + 0x1c], r12b
je 0x14002fc34
cmp byte [rcx + 0x19], 2
jb 0x14002fc34
lea edx, [r12 + 0xa]
mov dword [rsp + 0x20], edi
mov r9d, dword [rsi + 0x80]
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140001adc
test rbx, rbx
je 0x14003069a
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
jmp 0x14003069a
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 0x14002fcd0
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 0x14002fd37
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 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
lea edx, [r12 + 0xb]
mov dword [rsp + 0x20], r15d
lea r9, [rsi + 0x90]
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140009ba4
jmp 0x140030690
lea r15, [rsi + 0x4a0]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.14001badc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002fd97
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
lea edx, [r12 + 0xc]
lea r9, [rsi + 0x2a0]
mov dword [rsp + 0x20], eax
jmp 0x14002fd22
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14001bb84
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002fe02
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x14002fdf1
test byte [rcx + 0x1c], r12b
je 0x14002fdf1
cmp byte [rcx + 0x19], 2
jb 0x14002fdf1
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0xd]
mov dword [rsp + 0x20], eax
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140009ba4
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.14001d390
jmp 0x140030690
cmp qword [rsi + 0x60], r14
je 0x140030646
cmp qword [rsi + 0x118], r14
je 0x140030646
cmp qword [rsi + 0x120], r14
je 0x140030646
cmp byte [rsi + 0xa3], r14b
jne 0x14002ffba
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14002fe6e
test byte [rcx + 0x1c], 1
je 0x14002fe6e
cmp byte [rcx + 0x19], 4
jb 0x14002fe6e
lea r9, [rsi + 0x2a0]
mov edx, 0x10
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.14000bb40
xor edx, edx
mov rcx, rsi
call fcn.1400152d8
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002fecd
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 4
jb 0x140030690
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0x10]
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.14000bb40
jmp 0x140030690
lea r9, [rbp + 0x1a0]
mov r8, r12
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp + 8]
call fcn.140038794
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002ff0b
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14002ff43
test byte [rcx + 0x1c], 1
je 0x14002ff43
cmp byte [rcx + 0x19], 2
jb 0x14002ff43
mov edx, 0x12
jmp 0x14002ff28
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x14002ff43
test byte [rcx + 0x1c], 1
je 0x14002ff43
cmp byte [rcx + 0x19], 2
jb 0x14002ff43
mov edx, 0x13
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x80]
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140001adc
cmp byte [r12], 0
jne 0x14002ffb2
mov dl, 1
mov rcx, rsi
call fcn.14000e200
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14002ffad
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x14002fdf1
test byte [rcx + 0x1c], r12b
je 0x14002fdf1
cmp byte [rcx + 0x19], 2
jb 0x14002fdf1
lea edx, [r12 + 0x13]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x80]
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140001adc
jmp 0x14002fdf1
mov byte [r12], 1
mov r12d, 1
jmp 0x14002fffb
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x140030004
test byte [rcx + 0x1c], r12b
je 0x140030004
cmp byte [rcx + 0x19], 4
jb 0x140030004
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0x14]
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.14000bb40
cmp byte [rbp + 0x1a0], 0
jne 0x140030010
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.14001d390
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.14001badc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140030054
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x16
jmp 0x14002fd8a
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14001bb84
mov edi, eax
mov dword [rsp + 0x48], eax
xor eax, eax
test edi, edi
jns 0x1400300a2
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
lea r9, [rsi + 0x2a0]
lea edx, [rax + 0x17]
mov dword [rsp + 0x20], edi
jmp 0x14002fd22
mov dword [rsi + 0x138], eax
cmp qword [rsi + 0x118], rax
ja 0x1400300ef
cmp qword [rsi + 0x120], rax
ja 0x1400300ef
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030687
test byte [rcx + 0x1c], r12b
je 0x140030687
cmp byte [rcx + 0x19], 3
jb 0x140030687
lea r9, [rsi + 0x2a0]
mov edx, 0x18
jmp 0x140030677
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.14001badc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14003014b
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x19
jmp 0x14002fd8a
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14001bb84
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x14003018e
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x1a
jmp 0x14002fd8a
cmp byte [rsi + 0x2d9], 0
je 0x1400301e3
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140035f84
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1400301e3
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x1400301e3
test byte [rcx + 0x1c], r12b
je 0x1400301e3
cmp byte [rcx + 0x19], 2
jb 0x1400301e3
lea r9, [rsi + 0x2a0]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140009ba4
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
mov edx, r12d
mov rcx, rsi
call fcn.1400372b4
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140030230
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x1c
jmp 0x14002fd8a
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 0x140030258
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx]
cmp byte [rdx + 0x24], 0
je 0x140030258
mov eax, dword [rdx + 0x20]
add r13, rax
test rcx, rcx
jne 0x140030245
test rbx, rbx
je 0x140030271
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 0x1400302a6
test byte [rcx + 0x1c], r12b
je 0x1400302a6
cmp byte [rcx + 0x19], 5
jb 0x1400302a6
lea rax, [rsi + 0x2a0]
mov edx, 0x1d
mov qword [rsp + 0x20], rax
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.14002ecf0
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.140030864
mov ebx, eax
test eax, eax
jns 0x14003031f
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030312
test byte [rcx + 0x1c], r12b
je 0x140030312
cmp byte [rcx + 0x19], 2
jb 0x140030312
lea r9, [rsi + 0x2a0]
mov edx, 0x1e
mov dword [rsp + 0x20], eax
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140009ba4
mov byte [rbp + 0x190], r12b
mov dword [rsi + 0x220], ebx
mov r9d, dword [rsi + 0xb8]
cmp r9d, 3
je 0x140030382
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x48], r8d
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x1f
mov dword [rsp + 0x28], r8d
lea rax, [rsi + 0x90]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14002e65c
jmp 0x140030690
mov rdx, r15
lea rcx, [rbp + 0xe0]
call fcn.14001badc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1400303c9
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x20
jmp 0x14002fd8a
mov dl, r12b
lea rcx, [rbp + 0xe0]
call fcn.14001bb84
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140030410
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x21
jmp 0x14002fd8a
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030444
test byte [rcx + 0x1c], r12b
je 0x140030444
cmp byte [rcx + 0x19], 4
jb 0x140030444
lea r9, [rsi + 0x2a0]
mov edx, 0x22
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.14000bb40
mov dword [rsi + 0xb8], 4
lea r8, [rbp + 0x40]
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.1400319a0
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1400304ac
mov byte [rbp + 0x190], r12b
mov dword [rsi + 0x220], eax
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x1400304b3
test byte [rcx + 0x1c], r12b
je 0x1400304b3
cmp byte [rcx + 0x19], 2
jb 0x1400304b3
lea r9, [rsi + 0x2a0]
mov edx, 0x23
mov dword [rsp + 0x20], eax
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140009ba4
mov rcx, qword [0x14004d128]
mov r9d, dword [rsi + 0xb8]
cmp r9d, 4
je 0x1400304f5
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x48], r8d
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x24
jmp 0x140030363
cmp rcx, r14
je 0x140030522
test byte [rcx + 0x1c], r12b
je 0x140030522
cmp byte [rcx + 0x19], 4
jb 0x140030522
lea r9, [rsi + 0x2a0]
mov edx, 0x25
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.14000bb40
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.1400329bc
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x1400305ba
mov byte [rbp + 0x190], r12b
mov dword [rsi + 0x220], eax
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x1400305c1
test byte [rcx + 0x1c], r12b
je 0x1400305c1
cmp byte [rcx + 0x19], 2
jb 0x1400305c1
lea r9, [rsi + 0x2a0]
mov edx, 0x26
mov dword [rsp + 0x20], eax
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.140009ba4
mov rcx, qword [0x14004d128]
mov r9d, dword [rsi + 0xb8]
cmp r9d, 5
je 0x140030603
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x48], r8d
cmp rcx, r14
je 0x140030690
test byte [rcx + 0x1c], r12b
je 0x140030690
cmp byte [rcx + 0x19], 2
jb 0x140030690
mov edx, 0x27
jmp 0x140030363
cmp byte [rsi + 0xa3], 0
je 0x140030690
cmp rcx, r14
je 0x14003063d
test byte [rcx + 0x1c], r12b
je 0x14003063d
cmp byte [rcx + 0x19], 4
jb 0x14003063d
lea r9, [rsi + 0x2a0]
mov edx, 0x28
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.14000bb40
mov byte [rsi + 0xa3], 0
jmp 0x140030690
lea r14, [0x14004d128]
mov rcx, qword [0x14004d128]
mov r12d, 1
cmp rcx, r14
je 0x140030687
test byte [rcx + 0x1c], r12b
je 0x140030687
cmp byte [rcx + 0x19], 3
jb 0x140030687
lea edx, [r12 + 0xe]
lea r9, [rsi + 0x90]
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.14000bb40
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 0x1400306d8
mov dword [rsi + 0x220], edi
mov dl, r12b
lea rcx, [rbp - 0x60]
call fcn.14001d390
mov dl, r12b
lea rcx, [rbp + 0xe0]
call fcn.14001d390
mov dl, r12b
lea rcx, [rbp + 0x40]
call fcn.14001d390
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 0x14003075e
mov rcx, qword [0x14004d128]
cmp rcx, r14
je 0x140030754
test byte [rcx + 0x1c], r12b
je 0x140030754
cmp byte [rcx + 0x19], 4
jb 0x140030754
lea r9, [rsi + 0x2a0]
mov edx, 0x29
lea r8, [0x140045f70]
mov rcx, qword [rcx + 0x10]
call fcn.14000bb40
mov dword [rsi + 0xb8], 2
cmp dword [0x14004d098], 5
jbe 0x1400307c3
test qword [0x14004d0a8], r15
je 0x1400307c3
mov rax, qword [0x14004d0b0]
and rax, r15
cmp rax, qword [0x14004d0b0]
jne 0x1400307c3
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, [0x140047bb4]
call fcn.1400015c0
test rbx, rbx
je 0x1400307d8
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 0x1400307f2
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 0x140030809
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x60]
call fcn.14001efb8
nop
lea rcx, [rbp + 0x40]
call fcn.14001efb8
nop
lea rcx, [rbp + 0xe0]
call fcn.14001efb8
nop
lea rcx, [rbp - 0x20]
call fcn.14001efb8
nop
lea rcx, [rsp + 0x40]
call fcn.140009500
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