Function at 0x1400246c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
mov dword [rsp + 0x58], 0
cmp qword [rsp + 0x108], 0
jne 0x140024702
mov rcx, qword [rsp + 0xf8]
call fcn.140020ba0
jmp 0x140024f0d
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
and eax, 0xff
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jb 0x1400247c9
cmp dword [rsp + 0x3c], 1
jbe 0x140024746
cmp dword [rsp + 0x3c], 1
jbe 0x1400247c9
cmp dword [rsp + 0x3c], 3
jbe 0x1400247ae
cmp dword [rsp + 0x3c], 4
je 0x140024746
jmp 0x1400247c9
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x108]
call fcn.140012e50
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x14002476b
jmp 0x140024ee8
mov eax, dword [0x140035cf8]
or eax, 0x10
mov edx, eax
mov rcx, qword [rsp + 0x98]
call fcn.140011990
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14002479d
mov dword [rsp + 0x38], 0xc000009a
jmp 0x140024ee8
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x34], eax
jmp 0x1400247d6
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x34], 0
jmp 0x1400247d6
mov dword [rsp + 0x38], 0xc0000184
jmp 0x140024ee8
mov rcx, qword [rsp + 0x108]
call fcn.140025db0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 0
xor eax, eax
cmp eax, 1
je 0x140024ecf
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
and eax, 0xff
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jb 0x140024938
cmp dword [rsp + 0x54], 1
jbe 0x14002486b
cmp dword [rsp + 0x54], 4
je 0x14002486b
jmp 0x140024938
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
and eax, 0xff
cmp eax, 4
je 0x140024896
mov rax, qword [rsp + 0xf8]
add rax, 0x38
mov qword [rsp + 0x88], rax
jmp 0x1400248aa
mov rax, qword [rsp + 0xf8]
add rax, 0x50
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jbe 0x1400248cb
mov dword [rsp + 0x38], 0xc0000023
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jae 0x1400248df
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x60], eax
jmp 0x1400248e7
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x88]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
cmp qword [rsp + 0x28], 0
je 0x140024ce0
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0xf8]
mov rdx, qword [rdx + 0x10]
mov qword [rcx + rax], rdx
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
and eax, 0xff
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 0xff
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
and ecx, 0xffffff00
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 8
and eax, 0xff
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 0xff
shl eax, 8
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
and ecx, 0xffff00ff
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 0x10
and eax, 1
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 1
shl eax, 0x10
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
btr ecx, 0x10
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 0x11
and eax, 1
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 1
shl eax, 0x11
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
btr ecx, 0x11
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 0x12
and eax, 1
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 1
shl eax, 0x12
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
btr ecx, 0x12
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 0x13
and eax, 1
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 1
shl eax, 0x13
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
btr ecx, 0x13
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 0x14
and eax, 1
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 1
shl eax, 0x14
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
btr ecx, 0x14
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 0x15
and eax, 1
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 1
shl eax, 0x15
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
btr ecx, 0x15
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 0x16
and eax, 1
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 1
shl eax, 0x16
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
btr ecx, 0x16
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
shr eax, 0x17
and eax, 1
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
and eax, 1
shl eax, 0x17
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 8]
btr ecx, 0x17
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 8]
and eax, 0xffffff
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
mov rax, qword [rsp + 0xf8]
add rax, 0x30
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x18]
and eax, 0xff
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jb 0x140024ce0
cmp dword [rsp + 0x40], 1
jbe 0x140024c66
cmp dword [rsp + 0x40], 2
je 0x140024c82
cmp dword [rsp + 0x40], 3
je 0x140024ca2
cmp dword [rsp + 0x40], 4
je 0x140024cc2
jmp 0x140024ce0
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx]
mov qword [rcx + rax + 0x10], rdx
jmp 0x140024ce0
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x28]
lea rdi, [rcx + rax + 0x10]
mov rsi, qword [rsp + 0x70]
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
jmp 0x140024ce0
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x28]
lea rdi, [rcx + rax + 0x10]
mov rsi, qword [rsp + 0x70]
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
jmp 0x140024ce0
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x28]
lea rdi, [rcx + rax + 0x10]
mov rsi, qword [rsp + 0x70]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x50]
add rax, 0x50
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
add rax, 0x50
mov ecx, dword [rsp + 0x78]
cmp rax, rcx
ja 0x140024d11
cmp dword [rsp + 0x20], 0xff
jb 0x140024d16
jmp 0x140024ecf
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xf0]
add rax, 8
lea rdx, [rsp + 0xb0]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
mov rax, qword [rsp + 0xf0]
cmp dword [rax], 0xb1
jne 0x140024e98
mov rax, qword [rsp + 0xf0]
add rax, 0x50
mov rcx, rax
call fcn.14000e770
movzx eax, al
test eax, eax
jne 0x140024e98
mov rax, qword [rsp + 0xf0]
add rax, 0x50
mov rcx, rax
call fcn.140011b10
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x100], rax
jl 0x140024dcc
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x100]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
jmp 0x140024de8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x100]
mov rax, qword [rax + 0x10]
sub rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x88]
cmp qword [rsp + 0xa8], rax
jle 0x140024e0b
mov dword [rsp + 0x5c], 1
jmp 0x140024e13
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x34]
cmp dword [rax + 0x2c], ecx
ja 0x140024e30
cmp dword [rsp + 0x7c], 0
je 0x140024e57
mov rax, qword [rsp + 0xf0]
add rax, 0x50
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.14000d370
mov qword [rsp + 0x48], 0
jmp 0x140024e98
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x68]
dec rax
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x68], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x78]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x78], rax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
cmp qword [rsp + 0x48], 0
jne 0x140024eb0
jmp 0x140024ecf
mov rcx, qword [rsp + 0xf8]
call fcn.140020ba0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf8], rax
jmp 0x14002482e
cmp qword [rsp + 0xa0], 0
je 0x140024ee8
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
mov rcx, qword [rsp + 0xf8]
call fcn.140020ba0
mov eax, dword [rsp + 0x58]
mov r8d, eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x108]
call fcn.140012c00
add rsp, 0xd8
pop rdi
pop rsi
ret