Function at 0x14002b780
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, 0xa0
mov rax, qword [0x14006e100]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, rdx
mov r15, rcx
xor edi, edi
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14002bb2f
movsxd r14, dword [rdx + 0x3c]
add r14, rdx
mov qword [rbp - 0x41], r14
cmp dword [r14], 0x4550
jne 0x14002bb2f
mov eax, 0x20b
cmp word [r14 + 0x18], ax
jne 0x14002bb2f
mov ebx, dword [r14 + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rdi + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14002bb2f
movzx ecx, word [r14 + 0x14]
mov eax, dword [rcx + r14 + 0x24]
mov dword [rbp - 0x65], eax
sub ebx, eax
mov dword [rbp - 0x69], ebx
mov qword [rbp - 0x61], rdi
mov edx, ebx
lea r8, [rbp - 0x61]
mov rcx, r15
call fcn.14002b310
mov r13, rax
test rax, rax
je 0x14002bb13
mov r8d, dword [r14 + 0x54]
mov rdx, rsi
mov rcx, r12
call fcn.140050900
movzx ebx, word [r14 + 0x14]
add rbx, 0x24
xor edx, edx
cmp dx, word [r14 + 6]
jae 0x14002b892
add rbx, r14
test dword [rbx + 0x18], 0x80
ja 0x14002b881
mov ecx, dword [rbx]
add rcx, r12
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, rsi
call fcn.140050900
inc edi
add rbx, 0x28
movzx eax, word [r14 + 6]
cmp edi, eax
jl 0x14002b864
xor edx, edx
mov qword [rbp - 0x61], r13
mov eax, dword [rbp - 0x65]
sub r13, rax
mov qword [rbp - 0x29], r13
mov rsi, r13
sub rsi, qword [r14 + 0x30]
mov eax, 0x5a4d
cmp word [r12], ax
jne 0x14002b97c
movsxd rax, dword [r12 + 0x3c]
cmp dword [rax + r12], 0x4550
jne 0x14002b97c
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8, rdx
mov qword [rbp - 0x11], rdx
mov ecx, dword [rax + r12 + 0xb0]
test ecx, ecx
jne 0x14002b8ed
mov rbx, rdx
jmp 0x14002b982
lea rbx, [r12 + rcx]
mov edi, dword [rax + r12 + 0xb4]
add rdi, rbx
cmp rbx, rdi
jae 0x14002b96c
mov rdx, qword [rbp - 0x19]
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x14002b967
mov eax, dword [rbx]
add rax, r12
mov qword [rbp - 0x59], rax
lea rax, [rbx + 8]
mov qword [rbp - 0x51], rax
lea rax, [rcx - 8]
shr rax, 1
mov dword [rbp - 0x49], eax
cmp rdx, r8
je 0x14002b947
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x49]
movsd qword [rdx + 0x10], xmm1
add rdx, 0x18
mov qword [rbp - 0x19], rdx
jmp 0x14002b95c
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.14002d2d0
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x19]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rdi
jb 0x14002b905
movdqu xmm1, xmmword [rbp - 0x21]
movsd xmm0, qword [rbp - 0x11]
movsd qword [rbp - 0x49], xmm0
mov rbx, qword [rbp - 0x49]
jmp 0x14002b982
xorps xmm1, xmm1
mov rbx, rdx
movq r10, xmm1
psrldq xmm1, 8
movq r11, xmm1
cmp r10, r11
je 0x14002b9f1
lea r8, [r10 + 0x10]
mov edi, 0xfff
xor r14d, r14d
mov edx, r14d
cmp dword [r8], r14d
jbe 0x14002b9e0
nop word [rax + rax]
mov ecx, edx
mov rax, qword [r8 - 8]
movzx r9d, word [rax + rcx*2]
movzx eax, r9w
shr ax, 0xc
and r9w, di
cmp ax, 0xa
jne 0x14002b9d9
movzx ecx, r9w
mov rax, qword [r8 - 0x10]
add qword [rax + rcx], rsi
inc edx
cmp edx, dword [r8]
jb 0x14002b9b0
add r8, 0x18
lea rax, [r8 - 0x10]
cmp rax, r11
jne 0x14002b9a2
mov r14, qword [rbp - 0x41]
test r10, r10
je 0x14002ba49
sub rbx, r10
movabs rax, 0x2aaaaaaaaaaaaaab
imul rbx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r10
cmp rdx, 0x1000
jb 0x14002ba41
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bba5
mov rcx, r10
call fcn.14002eb90
mov rdx, r12
lea rcx, [rbp - 0x59]
call fcn.14002cbc0
mov r13, rax
mov qword [rbp - 0x31], rax
mov rsi, qword [rax]
mov r12, qword [rax + 8]
cmp rsi, r12
je 0x14002bae6
mov rcx, rsi
call fcn.14002c380
mov rdi, rax
test rax, rax
je 0x14002bb58
mov rbx, qword [rsi + 0x20]
mov r14, qword [rsi + 0x28]
cmp rbx, r14
je 0x14002bad9
nop dword [rax]
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.140027e80
mov rcx, rax
test rax, rax
jne 0x14002bac9
mov rdx, qword [0x140070f98]
cmp rdi, rdx
je 0x14002bac9
mov r8, rbx
mov rcx, r15
call fcn.140027e80
mov rcx, rax
test rax, rax
je 0x14002bb58
mov rax, qword [rbx + 0x20]
mov qword [rax], rcx
add rbx, 0x28
cmp rbx, r14
jne 0x14002ba90
add rsi, 0x38
cmp rsi, r12
jne 0x14002ba68
mov r14, qword [rbp - 0x41]
mov rcx, r13
call fcn.14002bbb0
mov r9d, dword [rbp - 0x69]
mov r8d, dword [rbp - 0x65]
mov r12, qword [rbp - 0x39]
add r8, r12
mov rbx, qword [rbp - 0x61]
mov rdx, rbx
mov rcx, r15
call fcn.140027a40
test al, al
jne 0x14002bb6a
mov r13, rbx
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, r13
mov rcx, r15
call fcn.140027d70
xor eax, eax
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14002eb70
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r13
call fcn.14002bbb0
mov r13, qword [rbp - 0x61]
mov r12, qword [rbp - 0x39]
jmp 0x14002bb13
mov r8d, dword [r14 + 0x28]
add r8, qword [rbp - 0x29]
xor edi, edi
mov dword [rbp - 0x69], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, [rbp - 0x69]
mov rcx, r15
call fcn.14002bd20
test al, al
je 0x14002bb10
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x14002bb31
call fcn.140037548
int3