Function at 0x140014e54
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r13
push r14
sub rsp, 0x50
xor r14d, r14d
lea rcx, [rax - 0x48]
xor edx, edx
mov ebx, r14d
mov ebp, r14d
lea r8d, [r14 + 0x30]
call fcn.1401bfa70
mov esi, r14d
call fcn.140014e00
movsxd rax, dword [0x1402a25dc]
lea r13, [0x1402a25a0]
mov ecx, 0x5a4d
cmp word [0x1402a25a0], cx
lea rdi, [rax + r13]
jne 0x1400150ea
cmp dword [rdi], 0x4550
jne 0x1400150ea
mov ecx, 0x13b000
cmp dword [rdi + 0x54], ecx
ja 0x1400150e3
add rax, 0x108
cmp rax, rcx
ja 0x1400150e3
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x1400150d6
movzx eax, word [rdi + 0x14]
add rax, 0x24
cmp r14w, word [rdi + 6]
jae 0x140014f23
movzx edx, word [rdi + 6]
lea rcx, [rax + rdi]
mov eax, dword [rcx + 4]
mov r8d, dword [rcx]
test eax, eax
jne 0x140014f0c
mov eax, dword [rdi + 0x38]
add rax, r8
cmp rax, rbp
cmovbe rax, rbp
add rcx, 0x28
mov rbp, rax
sub rdx, 1
jne 0x140014eff
lea rcx, [rsp + 0x20]
call qword [0x1403ea4d8]
mov edx, dword [rsp + 0x24]
lea r8d, [rdx - 1]
lea ebx, [rdx - 1]
not r8d
add ebx, dword [rdi + 0x50]
lea rcx, [rdx - 1]
add rcx, rbp
and rbx, r8
and rcx, r8
cmp rbx, rcx
jne 0x1400150d6
mov rcx, qword [rdi + 0x30]
mov ebp, 4
mov r9d, ebp
mov r8d, 0x3000
mov rdx, rbx
call qword [0x1403ea4e0]
mov rsi, rax
test rax, rax
jne 0x140014f9c
mov r9d, ebp
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [0x1403ea4e0]
mov rsi, rax
test rax, rax
jne 0x140014f9c
lea ecx, [rbp + 0xa]
jmp 0x1400150db
call qword [0x1403ea510]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x20]
call qword [0x1403ea4e8]
mov rbx, rax
test rax, rax
jne 0x140014fc6
mov ecx, 0xe
jmp 0x1400150ef
mov qword [rax + 8], rsi
mov r9d, ebp
mov eax, dword [rsp + 0x24]
mov r8d, 0x1000
mov dword [rbx + 0x24], eax
mov rcx, rsi
mov edx, dword [rdi + 0x54]
call qword [0x1403ea4e0]
mov rbp, rax
test rax, rax
je 0x140014fbc
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.1401bf610
movsxd rcx, dword [0x1402a25dc]
mov r9, rbx
add rcx, rbp
mov r8, rdi
mov qword [rbx], rcx
mov qword [rcx + 0x30], rsi
call fcn.1400146f4
test eax, eax
je 0x1400150f5
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x140015038
mov rcx, rbx
call fcn.140014810
jmp 0x14001503d
mov eax, 1
mov rcx, rbx
mov dword [rbx + 0x20], eax
call fcn.1400148c4
test eax, eax
je 0x1400150f5
mov rcx, rbx
call fcn.140014b44
test eax, eax
je 0x1400150f5
mov rdx, qword [rbx]
mov rax, rdx
mov ecx, dword [rdx + 0xd0]
test ecx, ecx
je 0x1400150a6
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
mov rax, rdx
test rdi, rdi
je 0x1400150a6
mov r9, qword [rdi]
test r9, r9
je 0x1400150a6
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea edx, [r8 + 1]
call r9
lea rdi, [rdi + 8]
mov r9, qword [rdi]
test r9, r9
jne 0x140015089
mov rax, qword [rbx]
cmp dword [rax + 0x28], r14d
je 0x1400150d1
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov eax, dword [rax + 0x28]
add rax, rcx
lea edx, [r8 + 1]
call rax
test eax, eax
jne 0x1400150ca
mov ecx, 0x45a
jmp 0x1400150ef
mov dword [rbx + 0x1c], 1
mov rax, rbx
jmp 0x140015126
mov ecx, 0xc1
call qword [0x1403ea4d0]
jmp 0x140015124
mov ecx, 0xd
jmp 0x1400150db
mov ecx, 0xc1
call qword [0x1403ea4d0]
test rsi, rsi
je 0x14001510b
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x1403ea4f8]
test rbx, rbx
je 0x140015124
call qword [0x1403ea510]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x1403ea508]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop rdi
ret