Function at 0x140014040
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
mov qword [rbp - 0x59], 0x18
xor eax, eax
mov qword [rbp + 0x27], rdi
lea rbx, str.taskschd.dll
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x59]
mov qword [rbp + 0x2f], rdi
mov esi, edi
mov qword [rbp - 0x51], rbx
mov r14, rcx
call fcn.14017ede0
mov rcx, rax
test rax, rax
jne 0x140014105
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140014105
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140014105
cmp dword [0x1402c0f40], 0x3e
nop
jae 0x1400140f8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140014105
mov ebx, 0x8007007e
jmp 0x140014288
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400141bf
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1400141bf
cmp dword [rdx + rcx], 0x4550
jne 0x1400141bf
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400141bf
cmp dword [rdx + 4], esi
je 0x1400141bf
lea r8, ds:[rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.DllGetClassObject
call fcn.14017f180
test rax, rax
je 0x1400141bf
lea r8, ds:[rbp - 0x59]
lea rdx, [0x140210c20]
lea rcx, [0x14023cd08]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
js 0x1400141c4
mov rcx, qword [rbp - 0x59]
lea r9, [rbp + 0x27]
lea r8, [0x14023ccf8]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rbp - 0x59]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
jmp 0x1400141c4
mov ebx, 0x8007007f
test ebx, ebx
js 0x140014288
mov edx, dword [r14]
mov rcx, qword [r14 + 8]
shr edx, 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edx, 1
lea rcx, [0x14023a5fc]
mov rdi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
movsd xmm0, qword ds:[rbp - 0x29]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp + 0x27]
lea r9, [rbp - 0x19]
xorps xmm1, xmm1
mov qword [rsp + 0x20], rdx
mov rsi, rax
movaps xmmword [rbp - 0x59], xmm1
lea r8, [rbp + 7]
movsd qword [rbp - 0x49], xmm0
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
movaps xmmword [rbp - 0x19], xmm1
movsd qword [rbp - 9], xmm0
movaps xmmword [rbp + 7], xmm1
mov rax, qword [rax + 0x50]
movsd qword [rbp + 0x17], xmm0
movaps xmmword [rbp - 0x39], xmm1
movsd qword [rbp - 0x29], xmm0
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
js 0x140014288
mov rcx, qword ds:[rbp + 0x27]
lea r8, [rbp + 0x2f]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
js 0x140014288
mov rcx, qword ds:[rbp + 0x2f]
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x78]
call qword [case.0x14013dbaa.0]
mov ebx, eax
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x1400142a8
mov rax, qword [rcx]
movabs r10, 0x96ecae4110dd6b70
mov rax, qword [rax + 0x10]
call qword [0x14020e260]
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x1400142c8
mov rax, qword [rcx]
movabs r10, 0xa4a1161d16d6db70
mov rax, qword [rax + 0x10]
call qword [0x14020e260]
test rsi, rsi
je 0x1400142d6
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x1400142e6
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401e5e20
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret