Function at 0x14002eea0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov r14, r8
mov rsi, rdx
mov r12, rcx
mov r15d, dword [rbp + 0x1c0]
xor r13d, r13d
call fcn.140032210
mov rdi, rax
mov rbx, qword [r12]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
xor r8d, r8d
lea rdx, [0x140044cb0]
lea rcx, [rbp - 0x40]
call fcn.14001e540
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov rdx, qword [rbp + 0x1c8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002ef30
lea rcx, [rsp + 0x40]
call fcn.14001e540
nop
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14002f026
lea rdx, [rsp + 0x40]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x58]
cmp r11, 8
cmovae rdx, r10
lea rcx, [r9 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rax + rax]
lea rax, [r8 + rdx]
cmp word [rax], 0x5c
je 0x14002ef9f
nop dword [rax + rax]
cmp rax, rdx
je 0x14002efab
sub rax, 2
cmp word [rax], 0x5c
jne 0x14002ef90
sub rax, rdx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14002efdd
lea rcx, [rsp + 0x40]
cmp r11, 8
cmovae rcx, r10
lea rax, [rcx + r8]
cmp word [rax], 0x2f
je 0x14002efd1
cmp rax, rcx
je 0x14002f026
sub rax, 2
cmp word [rax], 0x2f
jne 0x14002efc2
sub rax, rcx
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x14002f026
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
cmp r9, rcx
jb 0x14002f434
sub r9, rcx
mov r8, 0xffffffffffffffff
cmp r9, r8
cmovb r8, r9
lea rax, [rsp + 0x40]
cmp r11, 8
cmovae rax, r10
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x68]
call fcn.14001e540
jmp 0x14002f035
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.14002b8e0
nop
mov qword [rsp + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x28], rbx
mov ebx, 1
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x68]
mov rdx, r14
mov rcx, rdi
call fcn.140032410
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14002f0a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f09e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f09e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a138
movdqa xmm0, xmmword [0x140046250]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14002f0fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f0f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f0f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a138
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14002f151
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f14c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f14c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a138
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14002b8e0
cmp r15d, 2
cmovne ebx, r15d
mov dword [rbp - 0x80], ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1b8]
call fcn.14001f490
movsxd rcx, dword [rbp - 0x80]
xor rax, rcx
and rax, qword [r12 + 0x38]
add rax, rax
mov rcx, qword [r12 + 0x20]
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, qword [r12 + 0x10]
je 0x14002f1c5
mov r14, qword [rcx + rax*8]
nop
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140021610
test al, al
je 0x14002f1ba
mov eax, dword [rbx + 0x30]
cmp dword [rbp - 0x80], eax
je 0x14002f1c8
cmp rbx, r14
je 0x14002f1c5
mov rbx, qword [rbx + 8]
jmp 0x14002f1a0
mov rbx, r13
lea r15, [r12 + 8]
test rbx, rbx
je 0x14002f370
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.1400317a0
mov rcx, qword [rax]
add rcx, 0x38
call fcn.14001f800
cmp byte [rax + 0x58], 0
jne 0x14002f2d0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x40]
mov rcx, r15
call fcn.1400317a0
mov rcx, qword [rax]
add rcx, 0x38
call fcn.14001f800
mov rdi, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x78]
mov rcx, qword [r12]
call fcn.140034d40
lea rcx, [rbp - 0x78]
call fcn.14001f800
mov qword [rsp + 0x20], r13
mov r9d, 0x40
lea r8, [rbp - 0x10]
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14002f367
mov eax, 0x5a4d
cmp word [rbp - 0x10], ax
jne 0x14002f367
movsxd rbx, dword [rbp + 0x2c]
lea rcx, [rbp - 0x78]
call fcn.14001f800
lea rdx, [rbx + rdi]
mov qword [rsp + 0x20], r13
mov r9d, 0x108
lea r8, [rbp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14002f367
cmp dword [rbp + 0x50], 0x4550
jne 0x14002f367
lea rcx, [rbp - 0x78]
call fcn.14001f3c0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1400317a0
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
test rax, rax
mov qword [rsi + 8], r13
mov qword [rsi], r13
je 0x14002f2f8
lock inc dword [rax + 8]
mov rax, qword [rcx + 0x38]
mov qword [rsi], rax
mov rax, qword [rcx + 0x40]
mov qword [rsi + 8], rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14002f349
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f42d
call fcn.14003a138
mov rax, rsi
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x78]
call fcn.14001f3c0
mov rcx, r12
call fcn.140030700
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1a0]
call fcn.14001f490
movsxd rcx, dword [rbp - 0x80]
xor rax, rcx
and rax, qword [r12 + 0x38]
add rax, rax
mov rcx, qword [r12 + 0x20]
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, qword [r12 + 0x10]
je 0x14002f3d5
mov r14, qword [rcx + rax*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140021610
test al, al
je 0x14002f3ca
mov eax, dword [rbx + 0x30]
cmp dword [rbp - 0x80], eax
je 0x14002f3d8
cmp rbx, r14
je 0x14002f3d5
mov rbx, qword [rbx + 8]
jmp 0x14002f3b0
mov rbx, r13
test rbx, rbx
jne 0x14002f2d0
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14002f349
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f344
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400321f0
int3