Function at 0x140024580
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1400a3110]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, r8
mov r12, rdx
mov rbx, rcx
test rdx, rdx
je 0x140024893
xorps xmm0, xmm0
lea rcx, [rbp - 0x50]
xor edx, edx
mov r8d, 0x108
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
call fcn.14007c128
mov r9d, 0x40
lea rdx, [rsp + 0x70]
mov r8, r12
mov rcx, rbx
call fcn.1400241f0
test al, al
je 0x140024893
mov eax, 0x5a4d
cmp word [rsp + 0x70], ax
jne 0x140024893
movsxd r8, dword [rbp - 0x54]
lea rdx, [rbp - 0x50]
add r8, r12
mov r9d, 0x108
mov rcx, rbx
call fcn.1400241f0
test al, al
je 0x140024893
cmp dword [rbp - 0x50], 0x4550
jne 0x140024893
mov esi, dword [rbp + 0x38]
test esi, esi
je 0x140024893
mov eax, dword [rbp + 0x3c]
test eax, eax
je 0x140024893
mov qword [rsp + 0x228], rdi
mov r9d, 4
mov qword [rsp + 0x1d0], r15
mov r8d, 0x3000
mov edx, eax
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov r15d, eax
call qword [0x14007d350]
mov r9d, r15d
mov qword [rsp + 0x40], rsi
mov rdi, rax
mov rcx, rbx
lea rax, [rsi + r12]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x38], rax
call fcn.1400241f0
test al, al
jne 0x1400246bd
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [0x14007d370]
xor eax, eax
jmp 0x1400247c9
mov ecx, dword [rdi + 0x24]
mov r15, rdi
mov eax, dword [rdi + 0x20]
sub r15, rsi
add rcx, r15
mov qword [rsp + 0x1d8], r13
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov ecx, dword [rdi + 0x1c]
add rax, r15
add rcx, r15
mov qword [rsp + 0x20], rax
mov ebx, r13d
mov qword [rsp + 0x30], rcx
cmp dword [rdi + 0x18], ebx
jbe 0x1400247ae
nop dword [rax + rax]
mov esi, ebx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r13b
mov edx, dword [rax + rsi*4]
add rdx, r15
inc r8
cmp byte [rdx + r8], r13b
jne 0x140024722
lea rcx, [rsp + 0x50]
call fcn.1400233b0
cmp qword [r14 + 0x18], 0x10
mov rdx, r14
jb 0x140024742
mov rdx, qword [r14]
cmp qword [rsp + 0x68], 0x10
lea rcx, [rsp + 0x50]
cmovae rcx, qword [rsp + 0x50]
call qword [0x14007daa0]
test eax, eax
je 0x1400247f7
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14002479e
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024799
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002487f
call fcn.14007b5ec
mov rax, qword [rsp + 0x20]
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x140024700
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [0x14007d370]
xor eax, eax
mov r13, qword [rsp + 0x1d8]
mov rdi, qword [rsp + 0x228]
mov r15, qword [rsp + 0x1d0]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14007b0a0
add rsp, 0x1e0
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + rsi*2]
mov ebx, dword [rcx + rax*4]
add rbx, r12
cmp rbx, qword [rsp + 0x38]
jb 0x140024837
mov rax, qword [rsp + 0x40]
add rax, qword [rsp + 0x48]
add rax, r12
cmp rbx, rax
ja 0x140024837
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [0x14007d370]
jmp 0x14002484b
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [0x14007d370]
mov r13, rbx
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14002488b
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024886
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024886
call qword [0x14007d928]
int3
call fcn.14007b5ec
mov rax, r13
jmp 0x1400247c1
xor eax, eax
jmp 0x1400247d9