Function at 0x14004af40
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rdx
mov qword [rbp - 9], 0x18
xor r12d, r12d
lea rdi, str.taskschd.dll
lea rdx, [rbp - 9]
mov qword [rbp - 0x11], r12
mov qword [rbp - 1], rdi
mov r15, rcx
call fcn.14017ede0
mov rcx, rax
test rax, rax
jne 0x14004aff2
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14004aff2
xor edx, edx
mov r8d, 0x200
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14004aff2
cmp dword [0x1402c0f40], 0x3e
jae 0x14004b4ff
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14004b4ff
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14004b0a9
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14004b0a9
cmp dword [rdx + rcx], 0x4550
jne 0x14004b0a9
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14004b0a9
cmp dword [rdx + 4], r12d
je 0x14004b0a9
lea r8, [rcx + rax]
mov word [rsp + 0x20], r12w
lea r9, str.DllGetClassObject
call fcn.14017f180
test rax, rax
je 0x14004b0a9
lea r8, [rbp - 9]
lea rdx, [0x140210c20]
lea rcx, [0x14023cd08]
call qword [case.0x14013dbaa.0]
mov edi, eax
test eax, eax
js 0x14004b0ae
mov rcx, qword [rbp - 9]
lea r9, [rbp - 0x11]
lea r8, [0x14023ccf8]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rbp - 9]
mov edi, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
jmp 0x14004b0ae
mov edi, 0x8007007f
test edi, edi
js 0x14004b4ff
mov rcx, qword [rbp - 0x11]
xorps xmm1, xmm1
xor eax, eax
movaps xmmword [rbp - 0x59], xmm1
mov qword [rbp - 0x69], rax
movsd xmm0, qword [rbp - 0x69]
mov rax, qword [rcx]
movsd qword [rbp - 0x49], xmm0
movsd qword [rbp + 7], xmm0
movsd qword [rbp - 0x29], xmm0
movsd qword [rbp - 0x69], xmm0
movaps xmmword [rbp - 9], xmm1
movaps xmmword [rbp - 0x39], xmm1
movaps xmmword [rbp - 0x79], xmm1
movabs r10, 0xa8f43f8336db6b70
mov rax, qword [rax + 0x50]
lea rdx, [rbp - 0x59]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 9]
lea rdx, [rbp - 0x79]
lea r8, [rbp - 0x39]
call qword [0x14020e260]
nop dword [rax + rax]
test eax, eax
js 0x14004b4ee
mov rcx, qword [rbp - 0x11]
lea r8, [rbp - 9]
mov qword [rsp + 0x128], r14
mov r14d, 1
mov edx, r14d
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x14004b4e6
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
movabs r10, 0x8eec16fc16506170
mov rax, qword [rax + 0x38]
lea rdx, [rbp + 0x27]
call qword [0x14020e260]
test eax, eax
js 0x14004b4ca
nop dword [rax]
cmp dword [rbp + 0x27], r14d
jl 0x14004b4ca
mov qword [rsp + 0x120], r13
mov r13d, 0x16
mov qword [rsp + 0x110], rsi
mov rcx, qword [rbp - 9]
lea r8, [rbp - 0x19]
mov word [rbp - 0x59], r13w
lea rdx, [rbp - 0x79]
mov dword [rbp - 0x51], r14d
movups xmm0, xmmword [rbp - 0x59]
mov rax, qword [rcx]
movaps xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [rbp - 0x49]
mov rax, qword [rax + 0x40]
movsd qword [rbp - 0x69], xmm0
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x14004b4ad
mov rcx, qword [rbp - 0x19]
lea rdx, [rbp + 0x2b]
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
call qword [case.0x14013dbaa.0]
nop dword [rax]
test eax, eax
js 0x14004b49c
mov eax, dword [r15 + 0x20]
cmp dword [rbp + 0x2b], eax
jne 0x14004b49c
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
movabs r10, 0xe3793e2a3e50f970
mov rax, qword [rax + 0x58]
lea rdx, [rbp + 0x17]
call qword [0x14020e260]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
movabs r10, 0xe3793e2a3e50f970
mov rax, qword [rax + 0x48]
lea rdx, [rbp + 0x1f]
call qword [0x14020e260]
mov rdi, qword [0x1402c1f78]
mov rsi, qword [0x1402c1f80]
test rdi, rdi
je 0x14004b2bc
mov rdx, qword [rbx + 8]
mov rcx, qword [rdx]
add rcx, rdi
cmp qword [rbx], rcx
jae 0x14004b28e
lfence
mov rax, qword [rbx + 8]
mov rcx, rbx
mov rdx, qword [rax]
add rdx, rdi
call fcn.1401467a0
mov rdx, qword [rbx + 8]
test rsi, rsi
je 0x14004b2a5
mov rcx, qword [rdx + 8]
mov r8, rdi
add rcx, qword [rdx]
mov rdx, rsi
call fcn.14020be40
mov rax, qword [rbx + 8]
add qword [rax], rdi
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov word [rdx + rcx], r12w
mov rax, qword [rbp + 0x17]
lea rdi, str.Unknown_action
test rax, rax
cmovne rdi, rax
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdi + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x14004b2e0
lea rsi, [rax + rax]
test rsi, rsi
je 0x14004b34e
mov rdx, qword ds:[rbx + 8]
mov rcx, qword [rdx]
add rcx, rsi
cmp qword [rbx], rcx
jae 0x14004b31e
lfence
mov rax, qword [rbx + 8]
mov rcx, rbx
mov rdx, qword [rax]
add rdx, rsi
call fcn.1401467a0
mov rdx, qword [rbx + 8]
nop
test rdi, rdi
je 0x14004b337
mov rcx, qword [rdx + 8]
mov r8, rsi
add rcx, qword [rdx]
mov rdx, rdi
call fcn.14020be40
mov rax, qword [rbx + 8]
add qword [rax], rsi
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov word [rdx + rcx], r12w
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
lea rax, [rdx + 4]
cmp qword [rbx], rax
jae 0x14004b37b
lfence
mov rax, qword [rbx + 8]
mov rcx, rbx
mov rdx, qword [rax]
add rdx, 4
call fcn.1401467a0
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
lea rdi, str.Unknown_path
mov dword [rdx + rax], 0x280020
mov rax, qword [rbx + 8]
add qword [rax], 4
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov word [rdx + rcx], r12w
mov rax, qword [rbp + 0x1f]
test rax, rax
cmovne rdi, rax
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdi + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x14004b3c0
lea rsi, [rax + rax]
test rsi, rsi
je 0x14004b42e
mov rdx, qword ds:[rbx + 8]
mov rcx, qword [rdx]
add rcx, rsi
cmp qword [rbx], rcx
jae 0x14004b3fe
lfence
mov rax, qword [rbx + 8]
mov rcx, rbx
mov rdx, qword [rax]
add rdx, rsi
call fcn.1401467a0
mov rdx, qword [rbx + 8]
nop
test rdi, rdi
je 0x14004b417
mov rcx, qword [rdx + 8]
mov r8, rsi
add rcx, qword [rdx]
mov rdx, rdi
call fcn.14020be40
mov rax, qword [rbx + 8]
add qword [rax], rsi
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov word [rdx + rcx], r12w
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
lea rax, [rdx + 4]
cmp qword [rbx], rax
jae 0x14004b45b
lfence
mov rax, qword [rbx + 8]
mov rcx, rbx
mov rdx, qword [rax]
add rdx, 4
call fcn.1401467a0
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov dword [rdx + rax], 0xa0029
mov rax, qword [rbx + 8]
add qword [rax], 4
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov word [rdx + rcx], r12w
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14004b48d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14004b49c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
inc r14d
cmp r14d, dword [rbp + 0x27]
jle 0x14004b1a0
mov r13, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x110]
mov rcx, qword ds:[rbp - 9]
mov rax, qword [rcx]
movabs r10, 0xe4003fe814522370
mov rax, qword [rax + 0x10]
call qword [0x14020e260]
mov r14, qword [rsp + 0x128]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0xe0
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret