Function at 0x14000bee0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb0
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp - 9], rax
mov rbx, rdx
mov qword [rbp - 0x59], rdx
mov rdi, rcx
mov rax, qword [rbp + 0x8f]
mov qword [rbp - 0x31], rax
xor r12d, r12d
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x29], r12
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000c4f3
movsxd rsi, dword [rdx + 0x3c]
add rsi, rdx
cmp dword [rsi], 0x4550
jne 0x14000c4f3
mov eax, 0x20b
cmp word [rsi + 0x18], ax
je 0x14000bf62
lea rdx, [0x14001d980]
jmp 0x14000c4fa
mov r14d, dword [rsi + 0x50]
mov edx, r14d
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [0x140012090]
mov r15, rax
test rax, rax
je 0x14000c516
movzx eax, word [rsi + 0x14]
mov eax, dword [rax + rsi + 0x24]
mov dword [rbp - 0x79], eax
sub r14d, eax
mov dword [rbp - 0x69], r14d
mov qword [rbp - 0x61], r12
mov r13d, r14d
mov eax, dword [rbp + 0x77]
cmp eax, 1
jne 0x14000bfc7
lea r8, [rbp - 0x61]
mov edx, r13d
mov rcx, rdi
call fcn.14000b7f0
mov r14, rax
mov qword [rbp - 0x71], rax
mov r12, qword [rbp - 0x61]
jmp 0x14000c139
cmp eax, 2
jne 0x14000bfe3
mov edx, r14d
mov rcx, rdi
call fcn.14000bc90
mov r14, rax
mov qword [rbp - 0x71], rax
jmp 0x14000c139
test r14d, r14d
je 0x14000c0dd
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140024c78], eax
jle 0x14000c0b0
lea rcx, [0x140024c78]
call fcn.14000fe00
cmp dword [0x140024c78], 0xffffffff
jne 0x14000c0b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov r8d, 0x15
lea rdx, str.ExAllocatePoolWithTag
lea rcx, [rbp - 0x51]
call fcn.140008760
nop
lea r8, [rbp - 0x51]
mov rdx, qword [0x140024c08]
mov rcx, rdi
call fcn.140002fb0
mov qword [0x140024d60], rax
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x14000c0a4
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c09e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c09e
call qword [0x1400124a0]
int3
call fcn.14000fd50
nop
lea rcx, [0x140024c78]
call fcn.14000fd94
cmp qword [0x140024d60], 0
jne 0x14000c116
lea rdx, str.____Failed_to_find_ExAllocatePool
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
lea rdx, [0x14001d9b0]
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [0x1400120a8]
jmp 0x14000c516
xor eax, eax
mov qword [rbp - 0x71], rax
mov qword [rsp + 0x20], r13
lea rdx, [rbp - 0x71]
mov rcx, rdi
call fcn.1400079d0
test al, al
je 0x14000c0dd
mov r14, qword [rbp - 0x71]
mov qword [rbp - 0x71], r14
test r14, r14
je 0x14000c0dd
lea rdx, [0x14001da10]
mov rcx, qword [0x1400122c8]
call fcn.140006120
mov rdx, r14
mov rcx, rax
call qword [0x1400121d0]
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
mov r8d, dword [rsi + 0x54]
mov rdx, rbx
mov rcx, r15
call fcn.140010ea4
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
xor eax, eax
mov r14d, eax
cmp ax, word [rsi + 6]
jae 0x14000c1c7
add rbx, rsi
mov r12, qword [rbp - 0x59]
test dword [rbx + 0x14], 0x80
ja 0x14000c1b3
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r12
mov ecx, dword [rbx - 4]
add rcx, r15
call fcn.140010ea4
inc r14d
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp r14d, eax
jl 0x14000c196
mov r12, qword [rbp - 0x61]
mov rbx, qword [rbp - 0x71]
mov r14, rbx
mov eax, dword [rbp - 0x79]
sub rbx, rax
mov qword [rbp - 0x71], rbx
lea rdx, [0x14001da88]
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140001290]
mov rcx, rax
call qword [0x1400121c0]
mov edx, dword [rbp - 0x79]
mov rcx, rax
call qword [0x140012220]
mov rcx, rax
lea rdx, [0x14001da60]
call fcn.140006120
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
sub rbx, qword [rsi + 0x30]
mov rdx, r15
lea rcx, [rbp - 0x51]
call fcn.14000d420
mov rdx, rbx
mov rcx, rax
call fcn.14000c540
mov rbx, qword [rbp - 0x71]
mov rdx, rbx
mov rcx, r15
call fcn.14000c640
test al, al
jne 0x14000c260
lea rdx, [0x14001daa8]
jmp 0x14000c4fa
mov rdx, r15
lea rcx, [rbp - 0x51]
call fcn.14000d570
mov rdx, rax
mov rcx, rdi
call fcn.14000c790
test al, al
jne 0x14000c287
lea rdx, [0x14001dae0]
jmp 0x14000c33d
mov r8d, dword [rbp - 0x79]
add r8, r15
mov r9, r13
mov rdx, r14
mov rcx, rdi
call fcn.140002800
mov rcx, qword [0x1400122c8]
test al, al
jne 0x14000c2b3
lea rdx, [0x14001db20]
jmp 0x14000c344
mov esi, dword [rsi + 0x28]
add rsi, rbx
lea rdx, [0x14001db80]
call fcn.140006120
mov rdx, rsi
mov rcx, rax
call qword [0x1400121d0]
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
mov qword [rsp + 0x20], r12
mov r9, r13
mov r8, r14
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x29]
call fcn.14000a1b0
test al, al
jne 0x14000c306
lea rdx, [0x14001dbc0]
jmp 0x14000c33d
xor eax, eax
mov dword [rbp - 0x79], eax
mov r9, qword [rbp - 0x29]
cmp byte [rbp + 0x7f], al
cmovne r9, r14
mov rax, qword [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r8, rsi
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.14000cb60
test al, al
jne 0x14000c3ef
lea rdx, [0x14001dc10]
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [0x1400120a8]
lea rdx, [0x14001dc88]
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
mov eax, dword [rbp + 0x77]
mov rdx, r14
cmp eax, 1
jne 0x14000c3dc
mov r8, r12
mov rcx, rdi
call fcn.140002c10
test al, al
je 0x14000c3d0
mov rdx, r12
mov rcx, rdi
call fcn.140002d40
test al, al
je 0x14000c3d0
mov rdx, r12
mov rcx, rdi
call fcn.140002e70
test al, al
lea rdx, [0x14001dcb0]
jne 0x14000c4fa
lea rdx, [0x14001dcf0]
jmp 0x14000c4fa
cmp eax, 2
jne 0x14000c3b9
mov r8d, dword [rbp - 0x69]
mov rcx, rdi
call fcn.140002af0
jmp 0x14000c3c1
mov ebx, dword [rbp - 0x79]
mov rax, qword [rbp - 0x31]
test rax, rax
je 0x14000c3fd
mov dword [rax], ebx
lea rdx, [0x14001dc50]
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140001290]
mov rcx, rax
call qword [0x1400121c0]
mov edx, ebx
mov rcx, rax
call qword [0x140012270]
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
cmp byte [rbp + 0x67], 0
je 0x14000c4ca
lea rdx, [0x14001dc88]
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
mov eax, dword [rbp + 0x77]
mov rdx, r14
cmp eax, 1
jne 0x14000c4e0
mov r8, r12
mov rcx, rdi
call fcn.140002c10
test al, al
je 0x14000c4a7
mov rdx, r12
mov rcx, rdi
call fcn.140002d40
test al, al
je 0x14000c4a7
mov rdx, r12
mov rcx, rdi
call fcn.140002e70
test al, al
lea rdx, [0x14001dcb0]
jne 0x14000c4ae
lea rdx, [0x14001dcf0]
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [0x1400120a8]
mov rax, r14
jmp 0x14000c518
cmp eax, 2
jne 0x14000c494
mov r8d, dword [rbp - 0x69]
mov rcx, rdi
call fcn.140002af0
jmp 0x14000c49c
lea rdx, [0x14001d940]
mov rcx, qword [0x1400122c8]
call fcn.140006120
lea rdx, [0x140006300]
mov rcx, rax
call qword [0x1400121b8]
xor eax, eax
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14000fd30
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret