Function at 0x140016160
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [rax - 0x38], xmm0
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
call fcn.140016100
movsxd rax, dword [0x1402834cc]
lea r14, [0x140283490]
mov ecx, 0x5a4d
cmp word [0x140283490], cx
lea rdi, [rax + r14]
jne 0x14001641e
cmp dword [rdi], 0x4550
jne 0x14001641e
cmp dword [rdi + 0x54], 0x1d5a00
ja 0x140016417
add rax, 0x108
cmp rax, 0x1d5a00
ja 0x140016417
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x14001641e
movzx ecx, word [rdi + 0x14]
movzx eax, word [rdi + 6]
add rcx, 0x24
cmp bx, ax
jae 0x140016227
add rcx, rdi
mov r8d, eax
mov eax, dword [rcx + 4]
mov edx, dword [rcx]
test eax, eax
jne 0x140016210
mov eax, dword [rdi + 0x38]
add rax, rdx
cmp rax, rbx
cmovbe rax, rbx
add rcx, 0x28
mov rbx, rax
sub r8, 1
jne 0x140016204
lea rcx, [rsp + 0x20]
call qword [0x140465a98]
mov edx, dword [rsp + 0x24]
lea r8d, [rdx - 1]
lea ebp, [rdx - 1]
not r8d
add ebp, dword [rdi + 0x50]
lea rcx, [rdx - 1]
add rcx, rbx
and rbp, r8
and rcx, r8
cmp rbp, rcx
jne 0x14001641e
mov rcx, qword [rdi + 0x30]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rbp
call qword [0x140465aa0]
mov rsi, rax
test rax, rax
jne 0x14001629f
lea r9d, [rax + 4]
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [0x140465aa0]
mov rsi, rax
test rax, rax
jne 0x14001629f
lea ecx, [rax + 0xe]
jmp 0x140016423
call qword [0x140465ad0]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x20]
call qword [0x140465aa8]
mov rbx, rax
test rax, rax
je 0x1400163db
mov qword [rax + 8], rsi
mov r9d, 4
mov ecx, dword [rsp + 0x24]
mov r8d, 0x1000
mov dword [rax + 0x24], ecx
mov rcx, rsi
mov edx, dword [rdi + 0x54]
call qword [0x140465aa0]
mov rbp, rax
test rax, rax
je 0x1400163db
mov r8d, dword [rdi + 0x54]
mov rdx, r14
mov rcx, rax
call fcn.1401bcd30
movsxd rax, dword [0x1402834cc]
mov r9, rbx
add rax, rbp
mov r8, rdi
mov qword [rbx], rax
mov qword [rax + 0x30], rsi
call fcn.1400159a0
test eax, eax
je 0x1400163e6
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x14001633c
mov rcx, rbx
call fcn.140015ad0
jmp 0x140016341
mov eax, 1
mov rcx, rbx
mov dword [rbx + 0x20], eax
call fcn.140015ba0
test eax, eax
je 0x1400163e6
mov rcx, rbx
call fcn.140015e40
test eax, eax
je 0x1400163e6
mov rdx, qword [rbx]
mov rcx, rdx
mov eax, dword [rdx + 0xd0]
test eax, eax
je 0x1400163ad
mov ecx, eax
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
mov rcx, rdx
test rdi, rdi
je 0x1400163ad
mov rax, qword [rdi]
test rax, rax
je 0x1400163ad
nop
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea edx, [r8 + 1]
call rax
mov rax, qword [rdi + 8]
lea rdi, [rdi + 8]
test rax, rax
jne 0x140016390
mov rcx, qword [rbx]
mov eax, dword [rcx + 0x28]
test eax, eax
je 0x1400163d6
mov rcx, qword [rbx + 8]
xor r8d, r8d
add rax, rcx
lea edx, [r8 + 1]
call rax
test eax, eax
jne 0x1400163cf
mov ecx, 0x45a
jmp 0x1400163e0
mov dword [rbx + 0x1c], 1
mov rax, rbx
jmp 0x14001642b
mov ecx, 0xe
call qword [0x140465a90]
test rsi, rsi
je 0x1400163fc
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x140465ab8]
test rbx, rbx
je 0x140016429
call qword [0x140465ad0]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x140465ac8]
jmp 0x140016429
mov ecx, 0xd
jmp 0x140016423
mov ecx, 0xc1
call qword [0x140465a90]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret