Function at 0x1400178a0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, r8
mov rdi, rcx
mov r12, qword [0x1400f74a8]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx r9d, word [rcx]
cmp r9, 0x20
jae 0x140017a4d
mov qword [rsp + 0x30], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x48], 0
test rdx, rdx
je 0x140017931
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x140017931
movsxd rcx, dword [rdx + 0x3c]
lea rax, [rdx + rcx]
mov qword [rsp + 0x38], rax
cmp dword [rdx + rcx], 0x4550
jne 0x140017931
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
jne 0x140017931
mov r8d, dword [rax + 0x50]
cmp r8d, 0x148
jae 0x140017d39
mov qword [rsp + 0x28], 0
mov r14d, 0x8b
xor r15d, r15d
lea rbx, [0x1400f83a0]
jmp 0x14001795b
add r15, r13
inc r15
cmp r14, r15
je 0x140017989
mov r13, r14
sub r13, r15
shr r13, 1
lea rbp, [r15 + r13]
mov rdx, rbp
shl rdx, 5
add rdx, rbx
mov rcx, rdi
mov r8b, 1
call sub.ntdll.dll_RtlCompareUnicodeString
test eax, eax
jg 0x140017950
mov r14, rbp
cmp r14, r15
jne 0x14001795b
cmp r14, 0x8a
ja 0x1400179e1
lea r13, [r14 - 0x8b]
shl r14, 5
add rbx, r14
lea r14, [rsp + 0x30]
lea r15, [rsp + 0x28]
nop word [rax + rax]
mov rcx, rdi
mov rdx, rbx
mov r8b, 1
call sub.ntdll.dll_RtlCompareUnicodeString
test eax, eax
jne 0x1400179e1
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.14001a2e0
test eax, eax
jne 0x140017b5f
add rbx, 0x20
inc r13
jne 0x1400179b0
lea rcx, [0x140137018]
lea rdx, [0x140019c50]
xor r8d, r8d
xor r9d, r9d
call fcn.1400f41f0
mov rcx, qword [0x140137028]
test rcx, rcx
je 0x140017a17
cmp dword [rcx], 2
jl 0x140017a17
xor eax, eax
cmp dword [rcx + 0x28], 0
jne 0x140017bd0
lea rcx, [0x140137018]
lea rdx, [0x140019c50]
xor r8d, r8d
xor r9d, r9d
call fcn.1400f41f0
mov r14, qword [0x140137028]
test r14, r14
je 0x140017a46
cmp dword [r14], 2
jge 0x140017af7
xor eax, eax
jmp 0x140017bd0
mov r8, r9
shr r8, 1
mov rcx, qword [rdi + 8]
movzx r10d, word [rcx]
cmp r10w, 0x2e
jne 0x140017ac8
xor r14d, r14d
lea eax, [r14 + 1]
cmp r8w, ax
jbe 0x140017c8f
movzx r11d, ax
cmp word [rcx + r11*2], 0x2e
mov ebx, eax
je 0x140017c25
movzx ebp, r8w
sub ebp, r14d
add ebp, 0xfffffffe
mov r14, r11
nop word cs:[rax + rax]
sub bp, 1
jb 0x140017c1d
lea rbx, [r14 + 1]
cmp word [rcx + r14*2 + 2], 0x2e
mov r14, rbx
jne 0x140017aa0
cmp rbx, r8
jb 0x140017c25
jmp 0x140017c8f
lea rax, [r8 - 1]
xor r11d, r11d
nop
cmp rax, r11
je 0x140017c8f
lea r14, [r11 + 1]
cmp word [rcx + r11*2 + 2], 0x2e
mov r11, r14
jne 0x140017ad0
cmp r14, r8
jb 0x140017a65
jmp 0x140017c8f
mov r15d, dword [r14 + 0x30]
mov eax, 0
test r15, r15
je 0x140017bd0
xor r13d, r13d
jmp 0x140017b1f
inc rbp
mov r13, rbp
cmp r15, r13
je 0x140017a46
mov rbp, r15
sub rbp, r13
shr rbp, 1
add rbp, r13
mov rax, rbp
shl rax, 5
lea rbx, [r14 + rax]
add rbx, 0x38
mov rcx, rdi
mov rdx, rbx
mov r8b, 1
call sub.ntdll.dll_RtlCompareUnicodeString
test eax, eax
je 0x140017bfc
jns 0x140017b10
mov r15, rbp
cmp r15, r13
jne 0x140017b1f
jmp 0x140017a46
mov ebp, eax
mov r8, qword [rsp + 0x28]
lea rcx, [0x140135498]
mov rdx, rbx
call fcn.140016a50
test rsi, rsi
je 0x140017bce
mov eax, dword [rbx + 0x18]
and eax, 0x20
je 0x140017bce
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x60]
call qword [rsi + 0x10]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x58], eax
cmp qword [rsp + 0x40], 0
je 0x140017bce
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x28]
add r8, qword [rsp + 0x30]
lea r9, [0x14001a780]
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.14001a790
mov ecx, eax
mov eax, 4
test cl, cl
jne 0x140017bd0
mov eax, ebp
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
mov rdx, qword [r12]
cmp rdx, rcx
jne 0x140017ef8
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.14001a2e0
mov ebp, eax
test eax, eax
jne 0x140017b61
jmp 0x140017a46
inc r14
cmp r14, r8
jae 0x140017c8f
movzx ebp, bx
sub ebp, r11d
cmp ebp, 0xc
jne 0x140017c8f
sub ebx, eax
mov eax, 3
and ebx, 0x7fff
je 0x140017bd0
lea r11, [rcx + r11*2]
lea rbx, [r11 + rbx*2]
movabs r14, 0x3f0000003f
jmp 0x140017c6d
add r11, 2
cmp r11, rbx
jae 0x140017bd0
movzx r15d, word [r11]
lea ebp, [r15 - 0x30]
cmp bp, 0xa
jb 0x140017c60
movzx r15d, r15w
add r15d, 0xffffffbf
cmp r15d, 0x25
ja 0x140017c8f
bt r14, r15
jb 0x140017c60
cmp r9w, 0x28
jb 0x1400178dd
cmp r10w, 0x2e
je 0x1400178dd
lea rax, [r8 - 1]
xor r10d, r10d
mov r11, rcx
nop
cmp rax, r10
je 0x1400178dd
lea r9, [r11 + 2]
inc r10
cmp word [r11 + 2], 0x2e
mov r11, r9
jne 0x140017cb0
cmp r10, r8
jae 0x1400178dd
cmp r10w, 0x10
jb 0x1400178dd
mov eax, 3
test r10w, r10w
je 0x140017bd0
movabs r8, 0x3f0000003f
jmp 0x140017d0d
add rcx, 2
cmp rcx, r9
jae 0x140017bd0
movzx r10d, word [rcx]
lea r11d, [r10 - 0x30]
cmp r11w, 0xa
jb 0x140017d00
movzx r10d, r10w
add r10d, 0xffffffbf
cmp r10d, 0x25
ja 0x1400178dd
bt r8, r10
jb 0x140017d00
jmp 0x1400178dd
lea ecx, [r8 - 1]
lea r9, [rdx + rcx]
mov qword [rsp + 0x40], r9
mov r9d, dword [rax + 0x84]
cmp r9d, 0x10
mov r10d, 0x10
cmovb r10d, r9d
cmp r10d, 1
jbe 0x140017d6d
cmp dword [rax + 0x90], r8d
setae byte [rsp + 0x48]
mov qword [rsp + 0x28], 0
cmp dword [rax + 0x58], 0
jne 0x14001793a
mov r8d, dword [rax + 0x84]
cmp r8d, 0x10
mov r9d, 0x10
cmovb r9d, r8d
cmp r9d, 7
jb 0x140017dbf
mov r8d, dword [rax + 0xb8]
cmp r8d, ecx
ja 0x140017dbf
mov r8d, dword [rdx + r8 + 0x14]
cmp r8d, ecx
ja 0x140017dbf
cmp dword [rdx + r8], 0x53445352
je 0x14001793a
mov ecx, dword [rax + 8]
cmp ecx, 0x57a725ab
jle 0x140017dee
cmp ecx, 0x57a725ac
je 0x140017e0a
cmp ecx, 0x5a115d81
je 0x140017e12
cmp ecx, 0x5cff88b8
jne 0x14001793a
mov r14d, 4
jmp 0x140017e1d
cmp ecx, 0x570b8a90
je 0x140017e1a
cmp ecx, 0x572b4ce4
jne 0x14001793a
mov r14d, 1
jmp 0x140017e1d
mov r14d, 2
jmp 0x140017e1d
mov r14d, 3
jmp 0x140017e1d
xor r14d, r14d
shl r14, 4
lea r15, [0x1400f8350]
mov ecx, dword [r14 + r15 + 0xc]
cmp ecx, dword [rax + 0x50]
jne 0x14001793a
lea rcx, [rsp + 0x30]
mov dx, 0x10
mov r8w, 1
xor r9d, r9d
call fcn.14001a550
test rax, rax
je 0x14001793a
mov rbx, rax
movzx ebp, word [rax]
cmp bp, 0x26
jb 0x14001793a
movaps xmm0, xmmword [0x1400f9530]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x1400f9520]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, rbx
add rcx, 6
lea rdx, [rsp + 0x60]
mov r8d, 0x10
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, 0x10
jne 0x14001793a
cmp word [rbx + 2], 0x34
jne 0x14001793a
mov eax, 2
sub eax, ebx
and eax, 3
add rax, 0x26
cmp ax, bp
jae 0x14001793a
cmp dword [rax + rbx], 0xfeef04bd
jne 0x14001793a
add r15, r14
mov ecx, dword [rbx + rax + 8]
mov edx, dword [rbx + rax + 0xc]
shl rcx, 0x20
or rdx, rcx
mov qword [rsp + 0x28], rdx
mov eax, 3
cmp qword [r15], rdx
je 0x140017bd0
jmp 0x14001793a
call fcn.1400c8850
int3