Function at 0x14013ba20
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
xor r15d, r15d
mov rsi, rdx
test byte [0x1402c0900], 1
mov r14, rcx
jne 0x14013bb96
lock bts qword [0x1402c0900], 0x1f
jb 0x14013bb7f
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x14013babb
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x14013babb
cmp dword [0x1402baf40], 0x3e
jae 0x14013bb71
xor r8d, r8d
lea rcx, str.shell32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x14013bb71
mov ebp, 0x5a4d
cmp word [rbx], bp
jne 0x14013bb0c
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14013bb0c
cmp dword [rcx + rbx], 0x4550
jne 0x14013bb0c
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013bb0c
cmp dword [rdx + 4], r15d
je 0x14013bb0c
lea r8, [rbx + rax]
mov word [rsp + 0x20], r15w
lea r9, str.SHParseDisplayName
mov rcx, rbx
call fcn.140177a80
jmp 0x14013bb0f
mov rax, r15
mov qword [0x1402c8068], rax
cmp word [rbx], bp
jne 0x14013bb67
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14013bb67
cmp dword [rcx + rbx], 0x4550
jne 0x14013bb67
lea rdx, ds:[rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013bb67
cmp dword [rdx + 4], r15d
je 0x14013bb67
lea r8, ds:[rbx + rax]
mov word [rsp + 0x20], r15w
lea r9, str.SHCreateItemFromIDList
mov rcx, rbx
call fcn.140177a80
jmp 0x14013bb6a
mov rax, r15
mov qword [0x1402c8060], rax
lea rcx, [0x1402c0900]
call sym.SystemInformer.exe_QifSetEvent
jmp 0x14013bb96
test byte [0x1402c0900], 1
jne 0x14013bb96
xor edx, edx
lea rcx, [0x1402c0900]
call sym.SystemInformer.exe_QifWaitForEvent
mov rdx, rsi
mov ecx, esi
and rdx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x14013bbc9
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x70], ecx
je 0x14013bbc5
mov edx, ecx
shr rdx, 1
jmp 0x14013bc08
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x70], ecx
jne 0x14013bbfa
nop
movdqu xmm0, xmmword [rdx + 0x10]
add rdx, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x70], ecx
je 0x14013bbe0
sub rdx, rsi
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rdi, ds:[rdx + rdx]
mov rbx, rdi
mov rdx, rdi
shr rbx, 1
shr rdx, 4
cmp byte [r14], r15b
je 0x14013be08
and ebx, 7
mov qword [rsp + 0x80], r15
lea rcx, [rdi + rsi]
test rdx, rdx
je 0x14013bc79
movdqa xmm1, xmmword [0x14028d560]
sub rcx, 0x10
nop dword [rax]
movdqu xmm0, xmmword [rcx]
dec rdx
mov r9, rcx
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsr r8d, eax
mov dword [rsp + 0x78], r8d
jne 0x14013bcb5
sub rcx, 0x10
test rdx, rdx
jne 0x14013bc50
mov rcx, r9
test rbx, rbx
je 0x14013bc94
sub rcx, 2
dec rbx
cmp word [rcx], 0x5c
je 0x14013bccb
sub rcx, 2
test rbx, rbx
jne 0x14013bc82
mov rcx, qword [r14 + 8]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x78]
call qword [case.0x14013b5a0.0]
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
shl rdx, 4
shr rdx, 1
mov ecx, r8d
shr rcx, 1
lea rax, [rbx + rdx]
add rcx, rax
jmp 0x14013bcce
mov rcx, rbx
cmp rcx, 0xffffffffffffffff
je 0x14013bc94
lea rbx, [rcx + rcx]
sub rdi, rbx
lea rbp, [rsi + 2]
sub rdi, 2
test rbx, rbx
je 0x14013bc94
test rdi, rdi
je 0x14013bc94
cmp qword [0x1402c8068], r15
je 0x14013bc94
cmp qword [0x1402c8060], r15
je 0x14013bc94
mov rdx, qword [0x1402c4fb8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], r15w
test rsi, rsi
je 0x14013bd36
mov rcx, qword [rax + 8]
mov r8, rbx
mov rdx, rsi
call fcn.1402074d0
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x88]
mov rax, qword [0x1402c8068]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], r15
call qword [case.0x14013b5a0.0]
test eax, eax
js 0x14013bd94
mov rcx, qword ds:[rsp + 0x88]
lea r8, [rsp + 0x80]
mov rax, qword [0x1402c8060]
lea rdx, [0x14020cb30]
call qword [case.0x14013b5a0.0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013bdac
call fcn.14013fb00
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14013bc94
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x14013b5a0.0]
mov rcx, qword ds:[r14 + 8]
lea rdx, [rbx + rbp]
mov rax, qword [rcx]
mov rax, qword [rax + 0x78]
call qword [case.0x14013b5a0.0]
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013b5a0.0]
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rbp, qword ds:[r14 + 8]
mov r8, rbx
and r8d, 7
mov rcx, rsi
mov r9, rdx
mov r10d, r8d
test rdx, rdx
je 0x14013be4c
movdqa xmm1, xmmword [0x14028d540]
nop dword [rax]
movdqu xmm0, xmmword [rcx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf r11d, eax
jne 0x14013be68
add rcx, 0x10
sub r9, 1
jne 0x14013be30
test r8, r8
je 0x14013be93
cmp word [rcx], 0x2f
je 0x14013be83
add rcx, 2
sub r10, 1
jne 0x14013be51
jmp 0x14013be93
shl r9, 4
mov rcx, rdi
sub rcx, r9
mov eax, r11d
shr rcx, 1
shr rax, 1
add rcx, rax
sub rcx, r8
jmp 0x14013be89
mov rcx, rbx
sub rcx, r10
cmp rcx, 0xffffffffffffffff
jne 0x14013bf65
mov rcx, rsi
test rdx, rdx
je 0x14013bed0
movdqa xmm2, xmmword [0x14028d4e0]
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
movdqa xmm1, xmm2
pcmpeqw xmm1, xmm0
pmovmskb eax, xmm1
bsf r9d, eax
jne 0x14013bee8
add rcx, 0x10
sub rdx, 1
jne 0x14013beb0
test r8, r8
je 0x14013bf0e
cmp word [rcx], 0x22
je 0x14013bf02
add rcx, 2
sub r8, 1
jne 0x14013bed5
jmp 0x14013bf0e
shl rdx, 4
mov rcx, rdi
sub rcx, rdx
mov eax, r9d
shr rcx, 1
shr rax, 1
add rcx, rax
jmp 0x14013bf05
mov rcx, rbx
sub rcx, r8
cmp rcx, 0xffffffffffffffff
jne 0x14013bf65
mov r8, qword ss:[rbp + 0x30]
xor edx, edx
mov rcx, qword [0x1402c5110]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rax, [rbx + 1]
mov ecx, 0x400
cmp rax, rcx
mov edx, 4
cmova rcx, rax
mov r8d, ecx
mov rcx, qword [0x1402c5110]
mov dword [rbp + 0x38], r8d
add r8, r8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea r8, [rdi + 2]
mov rdx, rsi
mov rcx, rax
mov qword [rbp + 0x30], rax
call fcn.1402074d0
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret