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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x28], 0
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x20], rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x88]
mov qword [rcx + 0x14], rax
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x80]
mov dword [rcx], eax
mov edx, 0x68
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14ff9
mov dword [rsp + 0x38], 0xc000009a
jmp 0x1522f
mov rcx, qword [rsp + 0x30]
call fcn.000137d0
lea rdx, [0x00014ee0]
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x70]
mov r9d, dword [rax + 0x10]
mov r8, qword [rsp + 0x70]
mov r8, qword [r8 + 0x14]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.000139c0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x15081
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x28], 1
mov rdi, qword [rsp + 0x70]
add rdi, 0x2a
mov rsi, qword [rsp + 0x30]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.00015400
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1507c
jmp 0x1522f
jmp 0x15134
mov edx, 0x2000
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x150a8
mov dword [rsp + 0x38], 0xc000009a
jmp 0x1522f
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov r9, qword [rsp + 0x40]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.00015280
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x150dd
jmp 0x1522f
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1b8]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x1fe]
cmp eax, 0xaa55
je 0x15110
mov dword [rsp + 0x38], 0xc000009c
jmp 0x1522f
mov rcx, qword [rsp + 0x70]
call fcn.000156c0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1512a
jmp 0x1522f
mov rcx, qword [rsp + 0x70]
call fcn.00015ef0
mov dword [rsp + 0x3c], 0
jmp 0x15149
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x64
jge 0x1520e
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x70]
cmp qword [rax + rcx*8 + 0x40], 0
jne 0x1516b
jmp 0x1520e
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + rcx*8 + 0x40]
movzx eax, byte [rax + 5]
cmp eax, 6
jne 0x15199
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + rax*8 + 0x40]
call fcn.00016710
jmp 0x15209
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + rcx*8 + 0x40]
movzx eax, byte [rax + 5]
cmp eax, 0xc
jne 0x151c7
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + rax*8 + 0x40]
call fcn.000164f0
jmp 0x15209
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + rcx*8 + 0x40]
movzx eax, byte [rax + 5]
cmp eax, 7
jne 0x151f5
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + rax*8 + 0x40]
call fcn.00016970
jmp 0x15209
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + rax*8 + 0x40]
call fcn.00016280
jmp 0x1513e
mov rcx, qword [rsp + 0x70]
call fcn.000153e0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x15225
jmp 0x1522f
xor eax, eax
test eax, eax
jne 0x14f9c
cmp qword [rsp + 0x40], 0
je 0x15244
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp qword [rsp + 0x30], 0
je 0x15263
mov rcx, qword [rsp + 0x30]
call fcn.00013880
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x38]
add rsp, 0x58
pop rdi
pop rsi
ret