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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov r13d, 0x5a4d
movzx r11d, r8w
mov rbx, rdx
mov r9, rcx
cmp word [rcx], r13w
jne 0x14017ed70
mov ecx, dword [rcx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14017ed70
cmp dword [r9 + rcx], 0x4550
lea r8, [r9 + rcx]
jne 0x14017ed70
mov eax, dword [r8 + 0x88]
test eax, eax
je 0x14017ed70
cmp dword [r8 + 0x8c], 0
je 0x14017ed70
cmp r11d, dword [r9 + rax + 0x18]
lea r10, [r9 + rax]
jae 0x14017ee78
lfence
mov ecx, dword [r10 + 0x20]
mov r14d, r11d
mov edi, dword [r10 + 0x1c]
add rcx, r9
mov esi, dword [r10 + 0x24]
add rdi, r9
add rsi, r9
mov rax, rdx
mov r11d, dword [rcx + r11*4]
add r11, r9
sub r11, rdx
movzx edx, byte [rax]
movzx ecx, byte [rax + r11]
sub edx, ecx
jne 0x14017ea74
inc rax
test ecx, ecx
jne 0x14017ea61
test edx, edx
jne 0x14017ee78
lfence
movzx eax, word [rsi + r14*2]
mov edi, dword [rdi + rax*4]
add rdi, r9
cmp rdi, r10
jb 0x14017ee70
mov eax, dword ds:[r8 + 0x8c]
add rax, r10
cmp rdi, rax
jae 0x14017ee70
lfence
xor r12d, r12d
lea rcx, [rbp + 0x62]
mov r8d, 0x206
mov word [rbp + 0x60], r12w
call fcn.14020ab40
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rdi + rdx], r12b
jne 0x14017ead0
lea r8, [rbp + 0x60]
mov rcx, rdi
call sym.SystemInformer.exe_PhZeroExtendToUtf16Buffer
lea rdx, [rbp + 0x60]
xorps xmm1, xmm1
and rdx, 0xfffffffffffffff1
lea rcx, [rbp + 0x60]
and ecx, 0xf
je 0x14017eb16
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14017eb12
mov edx, ecx
shr rdx, 1
jmp 0x14017eb57
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14017eb45
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14017eb30
lea rax, [rbp + 0x60]
sub rdx, rax
mov eax, ecx
shr rax, 1
sar rdx, 1
add rdx, rax
movabs rax, 0x7fffffffffffffff
lea r15, [rdx + rdx]
and rdx, rax
lea rcx, [rbp + 0x60]
mov r8, rdx
mov r9, rdx
shr r9, 3
and r8d, 7
test r9, r9
je 0x14017ebac
movdqa xmm1, xmmword [0x140290a00]
lea rcx, [rbp + 0x60]
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf r10d, eax
jne 0x14017ebce
add rcx, 0x10
sub r9, 1
jne 0x14017eb90
test r8, r8
je 0x14017ee70
cmp word [rcx], 0x2e
je 0x14017ebe4
add rcx, 2
sub r8, 1
jne 0x14017ebb5
mov rax, rdi
jmp 0x14017ed72
shl r9, 4
mov rdx, r15
sub rdx, r9
mov eax, r10d
shr rdx, 1
shr rax, 1
add rdx, rax
sub rdx, r8
cmp rdx, 0xffffffffffffffff
je 0x14017ee70
lea rbx, [rdx + rdx]
mov word [rbp + 0x270], r12w
sub r15, rbx
lea rsi, [rbp + 0x62]
xor edx, edx
lea rcx, [rbp + 0x272]
mov r8d, 0x206
add rsi, rbx
lea r14, [r15 - 2]
call fcn.14020ab40
nop
test rbx, rbx
je 0x14017ec45
lea rcx, [rbp + 0x270]
cmp rbx, 0x208
ja 0x14017ed4f
mov r8, rbx
lea rdx, [rbp + 0x60]
call fcn.14020af00
xor edx, edx
lea rcx, [rbp + 0x270]
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x14017ecb1
xor edx, edx
lea rcx, [rbp + 0x270]
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x14017ecb1
cmp dword [0x1402bff40], 0x3e
jae 0x14017ecae
xor r8d, r8d
lea rcx, [rbp + 0x270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x14017ecb1
mov rbx, r12
test rbx, rbx
je 0x14017ee70
xor edx, edx
mov byte [rsp + 0x50], r12b
mov r8d, 0x103
lea rcx, [rsp + 0x51]
call fcn.14020ab40
mov r9, rsi
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x30]
mov dword [rsp + 0x20], r14d
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlUnicodeToUTF8N]
test eax, eax
js 0x14017ed70
cmp byte ds:[rsp + 0x50], 0x23
jne 0x14017ee0d
lea rax, [r15 - 4]
xor dil, dil
mov qword [rsp + 0x40], rax
lea rdx, [rsi + 2]
mov qword [rsp + 0x48], rdx
mov r9, rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test rax, rax
je 0x14017eda1
movzx ecx, word [rdx]
cmp cx, 0x2d
je 0x14017ed3d
cmp cx, 0x2b
jne 0x14017eda1
cmp cx, 0x2d
lea r11, [rdx + 2]
lea r9, [rax - 2]
sete dil
jmp 0x14017eda6
xor edx, edx
mov r8d, 0x208
call fcn.14020ab40
nop dword [rax]
call fcn.1401f4670
mov dword [rax], 0x22
call fcn.1401f4534
xor eax, eax
mov rcx, qword ds:[rbp + 0x480]
xor rcx, rsp
call fcn.1401e4a20
mov rbx, qword ss:[rsp + 0x5e8]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r11, qword [rsp + 0x48]
shr r9, 1
mov r10b, 1
mov rcx, r12
mov rdx, r12
je 0x14017ede5
lea rsi, [0x14028b2b0]
nop dword [rax + rax]
movzx eax, byte [r11 + rdx*2]
mov r8d, dword [rsi + rax*4]
cmp r8d, 0xa
jae 0x14017edd9
lea rcx, [rcx + rcx*4]
lea rcx, [r8 + rcx*2]
jmp 0x14017eddc
xor r10b, r10b
inc rdx
cmp rdx, r9
jb 0x14017edc0
mov r8, rcx
neg r8
test dil, dil
cmove r8, rcx
test r10b, r10b
je 0x14017ee0d
xor edx, edx
mov rcx, rbx
call fcn.14017e360
mov rdi, rax
jmp 0x14017ed72
cmp word [rbx], r13w
jne 0x14017ee6d
mov ecx, dword ds:[rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14017ee6d
cmp dword [rcx + rbx], 0x4550
jne 0x14017ee6d
lea rdx, [rbx + 0x88]
add rdx, rcx
cmp dword [rdx], r12d
je 0x14017ee6d
nop
cmp dword [rdx + 4], r12d
je 0x14017ee6d
lfence
mov r8d, dword [rdx]
add r8, rbx
lfence
lea r9, [rsp + 0x50]
mov word [rsp + 0x20], r12w
mov rcx, rbx
call fcn.14017e4c0
mov rdi, rax
jmp 0x14017ed72
mov rdi, r12
mov rax, rdi
jmp 0x14017ed72
xor r8d, r8d
mov rdx, rbx
mov rcx, r9
call fcn.14017e360
jmp 0x14017ed72