Function at 0x1400180a0
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 [0x1401054a8]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx r9d, word [rcx]
cmp r9, 0x20
jae 0x14001824d
mov qword [rsp + 0x30], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x48], 0
test rdx, rdx
je 0x140018131
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x140018131
movsxd rcx, dword [rdx + 0x3c]
lea rax, [rdx + rcx]
mov qword [rsp + 0x38], rax
cmp dword [rdx + rcx], 0x4550
jne 0x140018131
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
jne 0x140018131
mov r8d, dword [rax + 0x50]
cmp r8d, 0x148
jae 0x140018539
mov qword [rsp + 0x28], 0
mov r14d, 0x8b
xor r15d, r15d
lea rbx, [0x140106400]
jmp 0x14001815b
add r15, r13
inc r15
cmp r14, r15
je 0x140018189
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 0x140018150
mov r14, rbp
cmp r14, r15
jne 0x14001815b
cmp r14, 0x8a
ja 0x1400181e1
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 0x1400181e1
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.14001aae0
test eax, eax
jne 0x14001835f
add rbx, 0x20
inc r13
jne 0x1400181b0
lea rcx, [0x140148018]
lea rdx, [0x14001a450]
xor r8d, r8d
xor r9d, r9d
call fcn.140102ab0
mov rcx, qword [0x140148028]
test rcx, rcx
je 0x140018217
cmp dword [rcx], 2
jl 0x140018217
xor eax, eax
cmp dword [rcx + 0x28], 0
jne 0x1400183d0
lea rcx, [0x140148018]
lea rdx, [0x14001a450]
xor r8d, r8d
xor r9d, r9d
call fcn.140102ab0
mov r14, qword [0x140148028]
test r14, r14
je 0x140018246
cmp dword [r14], 2
jge 0x1400182f7
xor eax, eax
jmp 0x1400183d0
mov r8, r9
shr r8, 1
mov rcx, qword [rdi + 8]
movzx r10d, word [rcx]
cmp r10w, 0x2e
jne 0x1400182c8
xor r14d, r14d
lea eax, [r14 + 1]
cmp r8w, ax
jbe 0x14001848f
movzx r11d, ax
cmp word [rcx + r11*2], 0x2e
mov ebx, eax
je 0x140018425
movzx ebp, r8w
sub ebp, r14d
add ebp, 0xfffffffe
mov r14, r11
nop word cs:[rax + rax]
sub bp, 1
jb 0x14001841d
lea rbx, [r14 + 1]
cmp word [rcx + r14*2 + 2], 0x2e
mov r14, rbx
jne 0x1400182a0
cmp rbx, r8
jb 0x140018425
jmp 0x14001848f
lea rax, [r8 - 1]
xor r11d, r11d
nop
cmp rax, r11
je 0x14001848f
lea r14, [r11 + 1]
cmp word [rcx + r11*2 + 2], 0x2e
mov r11, r14
jne 0x1400182d0
cmp r14, r8
jb 0x140018265
jmp 0x14001848f
mov r15d, dword [r14 + 0x30]
mov eax, 0
test r15, r15
je 0x1400183d0
xor r13d, r13d
jmp 0x14001831f
inc rbp
mov r13, rbp
cmp r15, r13
je 0x140018246
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 0x1400183fc
jns 0x140018310
mov r15, rbp
cmp r15, r13
jne 0x14001831f
jmp 0x140018246
mov ebp, eax
mov r8, qword [rsp + 0x28]
lea rcx, [0x140146498]
mov rdx, rbx
call fcn.140017250
test rsi, rsi
je 0x1400183ce
mov eax, dword [rbx + 0x18]
and eax, 0x20
je 0x1400183ce
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 0x1400183ce
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x28]
add r8, qword [rsp + 0x30]
lea r9, [0x14001af80]
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.14001af90
mov ecx, eax
mov eax, 4
test cl, cl
jne 0x1400183d0
mov eax, ebp
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
mov rdx, qword [r12]
cmp rdx, rcx
jne 0x1400186f8
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.14001aae0
mov ebp, eax
test eax, eax
jne 0x140018361
jmp 0x140018246
inc r14
cmp r14, r8
jae 0x14001848f
movzx ebp, bx
sub ebp, r11d
cmp ebp, 0xc
jne 0x14001848f
sub ebx, eax
mov eax, 3
and ebx, 0x7fff
je 0x1400183d0
lea r11, [rcx + r11*2]
lea rbx, [r11 + rbx*2]
movabs r14, 0x3f0000003f
jmp 0x14001846d
add r11, 2
cmp r11, rbx
jae 0x1400183d0
movzx r15d, word [r11]
lea ebp, [r15 - 0x30]
cmp bp, 0xa
jb 0x140018460
movzx r15d, r15w
add r15d, 0xffffffbf
cmp r15d, 0x25
ja 0x14001848f
bt r14, r15
jb 0x140018460
cmp r9w, 0x28
jb 0x1400180dd
cmp r10w, 0x2e
je 0x1400180dd
lea rax, [r8 - 1]
xor r10d, r10d
mov r11, rcx
nop
cmp rax, r10
je 0x1400180dd
lea r9, [r11 + 2]
inc r10
cmp word [r11 + 2], 0x2e
mov r11, r9
jne 0x1400184b0
cmp r10, r8
jae 0x1400180dd
cmp r10w, 0x10
jb 0x1400180dd
mov eax, 3
test r10w, r10w
je 0x1400183d0
movabs r8, 0x3f0000003f
jmp 0x14001850d
add rcx, 2
cmp rcx, r9
jae 0x1400183d0
movzx r10d, word [rcx]
lea r11d, [r10 - 0x30]
cmp r11w, 0xa
jb 0x140018500
movzx r10d, r10w
add r10d, 0xffffffbf
cmp r10d, 0x25
ja 0x1400180dd
bt r8, r10
jb 0x140018500
jmp 0x1400180dd
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 0x14001856d
cmp dword [rax + 0x90], r8d
setae byte [rsp + 0x48]
mov qword [rsp + 0x28], 0
cmp dword [rax + 0x58], 0
jne 0x14001813a
mov r8d, dword [rax + 0x84]
cmp r8d, 0x10
mov r9d, 0x10
cmovb r9d, r8d
cmp r9d, 7
jb 0x1400185bf
mov r8d, dword [rax + 0xb8]
cmp r8d, ecx
ja 0x1400185bf
mov r8d, dword [rdx + r8 + 0x14]
cmp r8d, ecx
ja 0x1400185bf
cmp dword [rdx + r8], 0x53445352
je 0x14001813a
mov ecx, dword [rax + 8]
cmp ecx, 0x57a725ab
jle 0x1400185ee
cmp ecx, 0x57a725ac
je 0x14001860a
cmp ecx, 0x5a115d81
je 0x140018612
cmp ecx, 0x5cff88b8
jne 0x14001813a
mov r14d, 4
jmp 0x14001861d
cmp ecx, 0x570b8a90
je 0x14001861a
cmp ecx, 0x572b4ce4
jne 0x14001813a
mov r14d, 1
jmp 0x14001861d
mov r14d, 2
jmp 0x14001861d
mov r14d, 3
jmp 0x14001861d
xor r14d, r14d
shl r14, 4
lea r15, [0x1401063b0]
mov ecx, dword [r14 + r15 + 0xc]
cmp ecx, dword [rax + 0x50]
jne 0x14001813a
lea rcx, [rsp + 0x30]
mov dx, 0x10
mov r8w, 1
xor r9d, r9d
call fcn.14001ad50
test rax, rax
je 0x14001813a
mov rbx, rax
movzx ebp, word [rax]
cmp bp, 0x26
jb 0x14001813a
movaps xmm0, xmmword [0x140107590]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x140107580]
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 0x14001813a
cmp word [rbx + 2], 0x34
jne 0x14001813a
mov eax, 2
sub eax, ebx
and eax, 3
add rax, 0x26
cmp ax, bp
jae 0x14001813a
cmp dword [rax + rbx], 0xfeef04bd
jne 0x14001813a
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 0x1400183d0
jmp 0x14001813a
call fcn.1400d58e0
int3