Function at 0x14000f040
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x88
xor esi, esi
mov eax, 0x5a4d
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x41], rsi
cmp word [rdx], ax
jne 0x14000f57a
movsxd rbx, dword [rdx + 0x3c]
add rbx, rdx
cmp dword [rbx], 0x4550
jne 0x14000f57a
test rbx, rbx
je 0x14000f57a
mov eax, 0x20b
cmp word [rbx + 0x18], ax
jne 0x14000f57a
mov r12d, dword [rbx + 0x50]
xor ecx, ecx
mov edx, r12d
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r13, rax
test rax, rax
je 0x14000f57a
movzx ecx, word [rbx + 0x14]
mov eax, dword [rcx + rbx + 0x24]
sub r12d, eax
cmp dword [rbp + 0x7f], 1
mov dword [rbp + 0x67], eax
jne 0x14000f263
mov r8, qword [0x14004ac48]
lea rax, str.xxxxxxxxx____xxx
lea r9, [0x140039710]
mov qword [rsp + 0x20], rax
lea rdx, [0x140039724]
mov qword [rbp + 0x5f], rsi
mov rcx, rdi
call fcn.140004510
mov qword [0x14004ac78], rax
test rax, rax
je 0x14000f25b
lea rdx, [rax + 8]
mov r9d, 5
mov r8d, 1
mov qword [0x14004ac78], rdx
mov rcx, rdi
call fcn.140003a70
mov qword [0x14004ac78], rax
test rax, rax
je 0x14000f25b
mov r9d, r12d
lea rdx, [rbp + 0x5f]
mov rcx, rdi
call fcn.1400076d0
test al, al
je 0x14000f25b
mov rsi, qword [rbp + 0x5f]
test rsi, rsi
je 0x14000f25b
mov r8, qword [0x14004ac48]
lea rax, str.xx__x___xxx
lea r9, [0x140039770]
mov qword [rsp + 0x20], rax
lea rdx, str.PAGELK
mov rcx, rdi
call fcn.140004510
mov qword [0x14004abc0], rax
test rax, rax
jne 0x14000f1f4
mov r8, qword [0x14004ac48]
lea rax, str.xx__xx____x___xxx
lea r9, [0x1400397a0]
mov qword [rsp + 0x20], rax
lea rdx, str.PAGELK
mov rcx, rdi
call fcn.140004510
mov qword [0x14004abc0], rax
test rax, rax
je 0x14000f241
lea rdx, [rax + 0xd]
jmp 0x14000f1f8
lea rdx, [rax + 0xa]
mov r9d, 5
mov qword [0x14004abc0], rdx
mov r8d, 1
mov rcx, rdi
call fcn.140003a70
mov qword [0x14004abc0], rax
test rax, rax
je 0x14000f241
mov r9, rsi
mov byte [rbp + 0x77], 0
lea rdx, [rbp + 0x77]
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.140007b50
test al, al
je 0x14000f241
cmp byte [rbp + 0x77], 0
jne 0x14000f25b
mov r8d, r12d
mov rdx, rsi
mov rcx, rdi
call fcn.140003020
xor eax, eax
mov r15, rbx
mov esi, eax
jmp 0x14000f380
mov r15, rbx
jmp 0x14000f380
mov r14d, r12d
mov r15, rbx
test r12d, r12d
je 0x14000f37c
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14004aca0], eax
jle 0x14000f34f
lea rcx, [0x14004aca0]
call fcn.1400136a4
cmp dword [0x14004aca0], 0xffffffff
jne 0x14000f34f
mov ecx, 0x20
mov qword [rbp - 0x29], rsi
call fcn.14001371c
movups xmm0, xmmword [0x1400397b8]
mov rdx, qword [0x14004ac48]
lea r8, [rbp - 0x31]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x21], 0x15
mov qword [rbp - 0x19], 0x1f
movups xmmword [rax], xmm0
mov ecx, dword [0x1400397c8]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1400397cc]
mov byte [rax + 0x14], cl
mov rcx, rdi
mov byte [rax + 0x15], sil
call fcn.140003200
mov rdx, qword [rbp - 0x19]
mov qword [0x14004ad30], rax
cmp rdx, 0xf
jbe 0x14000f343
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f33e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f590
call fcn.140013630
lea rcx, [0x14004aca0]
call fcn.140013638
cmp qword [0x14004ad30], rsi
je 0x14000f37c
lea rdx, [rbp + 0x5f]
mov qword [rbp + 0x5f], rsi
mov rcx, rdi
mov qword [rsp + 0x20], r14
call fcn.140007d90
mov rsi, qword [rbp + 0x5f]
test al, al
mov eax, 0
cmove rsi, rax
mov r14, qword [rbp + 0x57]
mov rcx, r13
test rsi, rsi
jne 0x14000f39b
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14000f57a
mov r8d, dword [r15 + 0x54]
mov rdx, r14
call fcn.14002cbe0
movzx ebx, word [rbx + 0x14]
xor eax, eax
add rbx, 0x28
mov r14d, eax
cmp ax, word [r15 + 6]
jae 0x14000f3f4
mov rdi, qword [rbp + 0x57]
add rbx, r15
test dword [rbx + 0x14], 0x80
ja 0x14000f3df
mov edx, dword [rbx + 4]
mov ecx, dword [rbx - 4]
add rdx, rdi
mov r8d, dword [rbx]
add rcx, r13
call fcn.14002cbe0
movzx eax, word [r15 + 6]
inc r14d
add rbx, 0x28
cmp r14d, eax
jl 0x14000f3c2
mov rdi, qword [rbp + 0x4f]
mov eax, dword [rbp + 0x67]
lea rcx, [rbp - 0x31]
mov r14, rsi
mov rdx, r13
sub rsi, rax
mov rbx, rsi
sub rbx, qword [r15 + 0x30]
call fcn.14000fe00
mov rdx, rbx
mov rcx, rax
call fcn.14000f5a0
mov rdx, rsi
mov rcx, r13
call fcn.14000f6a0
test al, al
je 0x14000f57a
mov rdx, r13
lea rcx, [rbp - 0x31]
call fcn.14000ff50
mov rdx, rax
mov rcx, rdi
call fcn.14000f760
test al, al
je 0x14000f54e
mov eax, dword [rbp + 0x67]
add rax, r13
je 0x14000f54e
mov ebx, r12d
test r12d, r12d
je 0x14000f54e
xor ecx, ecx
mov qword [rbp - 0x21], rax
mov qword [rsp + 0x38], rcx
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x31]
mov dword [rsp + 0x28], ecx
mov r9d, 0x28
mov qword [rsp + 0x20], rcx
mov edx, 0x80862007
mov qword [rbp - 0x29], rcx
mov dword [rbp + 0x77], ecx
mov rcx, rdi
mov qword [rbp - 0x31], 0x33
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14000f54e
mov r15d, dword [r15 + 0x28]
lea rdx, [rbp - 0x39]
mov r9d, ebx
lea rcx, [rbp - 0x41]
mov r8, r14
add r15, rsi
call fcn.14000b2f0
test al, al
je 0x14000f54e
mov r9, qword [rbp - 0x41]
lea rdx, [rbp + 0x77]
xor eax, eax
mov r8, r15
cmp byte [rbp + 0x87], al
mov rcx, rdi
mov dword [rbp + 0x77], eax
mov rax, qword [rbp - 0x39]
cmovne r9, r14
mov qword [rsp + 0x20], rax
call fcn.14000f9b0
test al, al
je 0x14000f54e
mov rcx, qword [rbp + 0x97]
test rcx, rcx
je 0x14000f517
mov eax, dword [rbp + 0x77]
mov dword [rcx], eax
cmp byte [rbp + 0x6f], 0
je 0x14000f538
cmp dword [rbp + 0x7f], 1
mov rdx, r14
mov rcx, rdi
jne 0x14000f533
mov r8d, r12d
call fcn.140003020
jmp 0x14000f538
call fcn.1400030e0
xor edx, edx
mov r8d, 0x8000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, r14
jmp 0x14000f57c
xor edx, edx
mov r8d, 0x8000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [rbp + 0x7f], 1
mov rdx, r14
mov rcx, rdi
jne 0x14000f575
mov r8d, r12d
call fcn.140003020
jmp 0x14000f57a
call fcn.1400030e0
xor eax, eax
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001b408
int3