Function at 0x14000bda0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [0x14008f200]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xorps xmm0, xmm0
mov qword [rsp + 0x38], r8
mov r15, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x108
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov r9d, 0x40
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000bed2
mov eax, 0x5a4d
cmp word [rsp + 0x60], ax
jne 0x14000bed2
movsxd rdx, dword [rbp - 0x64]
lea rax, [rsp + 0x30]
add rdx, r15
mov qword [rsp + 0x20], rax
mov r9d, 0x108
lea r8, [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000bed2
cmp dword [rbp - 0x40], 0x4550
jne 0x14000bed2
mov ebx, dword [rbp + 0x48]
test ebx, ebx
je 0x14000bed2
mov eax, dword [rbp + 0x4c]
test eax, eax
je 0x14000bed2
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x14000bed2
lea rax, [rbx + r15]
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rcx
mov r9d, r13d
mov rcx, rsi
mov r8, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14000bed9
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000c07d
mov eax, dword [rdi + 0x24]
mov qword [rsp + 0x238], r12
mov r12d, dword [rdi + 0x20]
mov qword [rsp + 0x1e0], r14
mov r14, rdi
sub r14, rbx
add rax, r14
add r12, r14
mov qword [rsp + 0x40], rax
mov eax, dword [rdi + 0x1c]
add rax, r14
mov qword [rsp + 0x48], rax
xor eax, eax
mov ebx, eax
cmp dword [rdi + 0x18], eax
jbe 0x14000c05a
nop dword [rax]
mov esi, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x48], rax
mov edx, dword [r12 + rsi*4]
add rdx, r14
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14000bf40
lea rcx, [rbp - 0x60]
call fcn.1400028d0
cmp qword [rbp - 0x48], 0xf
lea rcx, [rbp - 0x60]
mov rdx, qword [rsp + 0x38]
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000bfbd
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000bfab
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bfa6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c036
call fcn.14005507c
inc ebx
cmp ebx, dword [rdi + 0x18]
jae 0x14000c05a
xor eax, eax
jmp 0x14000bf20
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rax + rsi*2]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x14000c002
lea rbx, [r15 + rcx]
cmp rbx, qword [rsp + 0x50]
jb 0x14000c03d
mov rax, qword [rsp + 0x58]
add rax, r13
add rax, r15
cmp rbx, rax
ja 0x14000c03d
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000c055
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c050
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c050
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14000c004
call fcn.14005507c
mov rax, rbx
jmp 0x14000c06d
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov r12, qword [rsp + 0x238]
mov r14, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140054ee0
add rsp, 0x1e8
pop r15
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret