Function at 0x1400174e0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov eax, 0x5a4d
xorps xmm0, xmm0
mov r14, rdx
mov r13, rcx
movups xmmword [rsp + 0x30], xmm0
cmp word [rdx], ax
jne 0x140017ac1
movsxd rdi, dword [rdx + 0x3c]
add rdi, rdx
je 0x140017ac1
cmp dword [rdi], 0x4550
jne 0x140017ac1
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x140017ac1
mov r9d, dword [rdi + 0x38]
test r9b, 1
jne 0x140017ac1
movzx ecx, word [rdi + 0x14]
xor edx, edx
movzx eax, word [rdi + 6]
add rcx, 0x24
movzx r12d, word [rdi + 0x16]
mov ebx, edx
cmp dx, ax
jae 0x140017597
add rcx, rdi
mov r8d, eax
mov eax, dword [rcx + 4]
mov edx, dword [rcx]
test eax, eax
jne 0x140017584
lea eax, [rdx + r9]
jmp 0x140017586
add eax, edx
cmp eax, ebx
cmovbe eax, ebx
add rcx, 0x28
mov ebx, eax
sub r8, 1
jne 0x140017575
lea rcx, [rsp + 0x40]
call qword [r13 + 0x40]
mov edx, dword [rsp + 0x44]
mov eax, edx
neg eax
lea ebp, [rdx - 1]
add ebp, dword [rdi + 0x50]
lea rcx, [rdx - 1]
and rbp, rax
mov eax, ebx
add rcx, rax
lea rax, [rdx - 1]
not rax
and rcx, rax
cmp rbp, rcx
jne 0x140017ac1
mov rax, qword [r13 + 0x30]
mov r9d, 4
mov rcx, qword [rdi + 0x30]
mov r8d, 0x3000
mov rdx, rbp
call rax
mov rsi, rax
test rax, rax
jne 0x140017608
mov rax, qword [r13 + 0x30]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call rax
mov rsi, rax
movsxd rcx, dword [r14 + 0x3c]
mov dword [rsi + 0x3c], ecx
mov edx, dword [rdi + 0x54]
lea r8, [rcx + r14]
lea rcx, [rcx + rsi]
sub edx, dword [r14 + 0x3c]
je 0x140017641
sub r8, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140017630
movsxd r15, dword [rsi + 0x3c]
xor eax, eax
add r15, rsi
mov r10d, eax
movzx r9d, word [r15 + 0x14]
add r9, 0x2c
cmp ax, word [r15 + 6]
jae 0x1400176a2
add r9, r15
mov r8d, dword [r9]
mov ecx, dword [r9 - 8]
add r8, r14
mov edx, dword [r9 - 4]
add rcx, rsi
test rdx, rdx
je 0x140017691
sub r8, rcx
nop dword [rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140017680
movzx eax, word [r15 + 6]
inc r10d
add r9, 0x28
cmp r10d, eax
jb 0x140017660
mov r10, rsi
sub r10, qword [r15 + 0x30]
je 0x14001778c
cmp dword [r15 + 0xb4], 0
je 0x14001778c
mov r8d, dword [r15 + 0xb0]
add r8, rsi
cmp dword [r8], 0
je 0x14001778c
mov eax, dword [r8 + 4]
lea r9, [r8 + 8]
add rax, r8
cmp r9, rax
je 0x14001777f
nop word [rax + rax]
movzx edx, word [r9]
movzx ecx, dx
movzx eax, dx
shr cx, 0xc
cmp cx, 0xa
jne 0x140017717
mov ecx, dword [r8]
and edx, 0xfff
lea rax, [rsi + rdx]
add qword [rcx + rax], r10
jmp 0x14001776b
cmp cx, 3
jne 0x140017730
mov edx, dword [r8]
and eax, 0xfff
add rax, rsi
add rdx, rax
mov eax, r10d
jmp 0x140017768
cmp cx, 1
jne 0x140017750
mov edx, dword [r8]
and eax, 0xfff
add rax, rsi
add rdx, rax
mov rax, r10
shr rax, 0x10
movzx eax, ax
jmp 0x140017768
cmp cx, 2
jne 0x14001776b
mov edx, dword [r8]
and eax, 0xfff
add rax, rsi
add rdx, rax
movzx eax, r10w
add qword [rdx], rax
mov eax, dword [r8 + 4]
add r9, 2
add rax, r8
cmp r9, rax
jne 0x1400176f0
cmp dword [r9], 0
mov r8, r9
jne 0x1400176d1
cmp dword [r15 + 0x94], 0
je 0x140017842
mov r14d, dword [r15 + 0x90]
add r14, rsi
cmp dword [r14 + 0xc], 0
je 0x140017842
nop
mov ecx, dword [r14 + 0xc]
mov rax, qword [r13 + 0x48]
add rcx, rsi
call rax
mov ebx, dword [r14]
mov rbp, rax
mov edi, dword [r14 + 0x10]
add rbx, rsi
add rdi, rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140017833
jns 0x1400177df
movzx r8d, word [rbx]
xor edx, edx
jmp 0x140017815
mov rdx, qword [rbx]
xor ecx, ecx
add rdx, 2
add rdx, rsi
cmp byte [rdx], cl
je 0x1400177fe
mov rax, rdx
inc rcx
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x1400177f2
mov qword [rsp + 0x38], rdx
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov word [rsp + 0x30], cx
mov word [rsp + 0x32], cx
mov r9, rdi
mov rcx, rbp
call qword [r13 + 0xa0]
mov rcx, qword [rbx + 8]
add rbx, 8
add rdi, 8
test rcx, rcx
jne 0x1400177d5
add r14, 0x14
cmp dword [r14 + 0xc], 0
jne 0x1400177b0
movzx ebx, word [r15 + 0x14]
xor r14d, r14d
add rbx, 0x28
mov edi, r14d
mov ebp, 1
cmp r14w, word [r15 + 6]
jae 0x14001791f
add rbx, r15
mov edx, 0x10
mov r14d, 2
mov r9d, 0x20
cmp dword [rbx], 0
je 0x140017909
mov ecx, dword [rbx + 0x14]
mov eax, ecx
and eax, 0x40000000
bt ecx, 0x1d
jb 0x1400178ae
test eax, eax
jne 0x1400178a0
test ecx, ecx
mov r8d, 8
cmovns r8d, ebp
jmp 0x1400178cc
test ecx, ecx
mov r8d, 4
cmovns r8d, r14d
jmp 0x1400178cc
test eax, eax
jne 0x1400178c0
test ecx, ecx
mov r8d, pe_nt_image_headers64
cmovns r8d, edx
jmp 0x1400178cc
test ecx, ecx
mov r8d, 0x40
cmovns r8d, r9d
mov dword [rsp + 0xc8], r8d
test dword [rbx + 0x14], 0x4000000
je 0x1400178ea
bts r8d, 9
mov dword [rsp + 0xc8], r8d
mov ecx, dword [rbx - 4]
lea r9, [rsp + 0xc8]
mov edx, dword [rbx]
add rcx, rsi
call qword [r13 + 0x60]
mov edx, 0x10
mov r9d, 0x20
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jb 0x140017875
xor r14d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [r13 + 0x38]
mov r10d, dword [r15 + 0x28]
add r10, rsi
bt r12d, 0xd
jb 0x14001794f
mov qword [rsp + 0x28], r14
mov r8, r10
mov dword [rsp + 0x20], r14d
jmp 0x140017a64
xor r8d, r8d
mov edx, ebp
mov rcx, rsi
call r10
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140017a8c
cmp dword [r15 + 0x8c], 0
je 0x140017a8c
mov r14d, dword [r15 + 0x88]
add r14, rsi
mov r15d, dword [r14 + 0x18]
test r15d, r15d
je 0x140017a8c
cmp dword [r14 + 0x14], 0
je 0x140017a8c
mov edi, dword [r14 + 0x20]
xor r12d, r12d
mov ebx, dword [r14 + 0x24]
add rdi, rsi
add rbx, rsi
mov ebp, r12d
test r15d, r15d
je 0x140017a8c
nop dword [rax + rax]
mov r10d, dword [rdi]
add r10, rsi
je 0x140017a8c
movzx r8d, byte [rax]
mov r9, rax
test r8b, r8b
je 0x140017a23
nop dword [rax + rax]
movzx edx, byte [r10]
movzx r8d, byte [r9]
test dl, dl
je 0x140017a1e
mov ecx, r8d
sub r8b, 0x41
cmp r8b, 0x19
lea eax, [rcx + 0x20]
movzx r11d, al
lea eax, [rdx - 0x41]
cmova r11d, ecx
cmp al, 0x19
ja 0x140017a0c
add dl, 0x20
cmp r11b, dl
jne 0x140017a2d
inc r9
inc r10
cmp byte [r9], r12b
jne 0x1400179e0
jmp 0x140017a23
test r8b, r8b
jne 0x140017a2d
cmp byte [r10], r12b
jne 0x140017a2d
test rbx, rbx
jne 0x140017a49
inc ebp
add rdi, 4
add rbx, 2
cmp ebp, r15d
jae 0x140017a8c
mov rax, qword [rsp + 0xc0]
jmp 0x1400179c0
mov ecx, dword [r14 + 0x1c]
movzx edx, word [rbx]
add rcx, rsi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r8d, dword [rcx + rdx*4]
add r8, rsi
mov rax, qword [r13 + 0x50]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov rbx, rax
test rax, rax
je 0x140017ac1
mov edx, 0xffffffff
mov rcx, rax
call qword [r13 + 0x58]
mov rcx, rbx
call qword [r13 + 0x20]
mov rax, qword [r13 + 0x28]
test rax, rax
je 0x140017abc
cmp qword [r13 + 0x68], 0
je 0x140017abc
mov rbx, qword [rsp + 0xb8]
xor edx, edx
mov rcx, rbx
mov r8d, 0x8000
call rax
test eax, eax
jne 0x140017abc
mov rcx, rbx
call qword [r13 + 0x68]
mov rax, rsi
jmp 0x140017ac3
xor eax, eax
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret