Function at 0x140037ba0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push r12
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r15, rcx
xor r12d, r12d
lea rcx, str.taskschd.dll
mov qword [rbp + 0x10], r12
mov rbx, rdx
call fcn.1400f9d00
mov rcx, rax
test rax, rax
jne 0x140037c29
xor edx, edx
lea rcx, str.taskschd.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140037c29
xor edx, edx
lea rcx, str.taskschd.dll
mov r8d, 0xa00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140038234
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140038234
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140038234
cmp dword [rdx + rcx], 0x4550
jne 0x140038234
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140038234
cmp dword [rdx + 4], r12d
je 0x140038234
lea r8, [rcx + rax]
mov word [rsp + 0x20], r12w
lea r9, str.DllGetClassObject
call fcn.1400fa1a0
test rax, rax
je 0x140038234
lea r8, [rsp + 0x30]
mov qword [rsp + 0x190], rdi
lea rdx, [0x1401ad590]
lea rcx, [0x14023a8a8]
call qword [case.0x1400f654f.0]
mov edi, eax
test eax, eax
js 0x140037cef
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x10]
lea r8, [0x14023a8c8]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400f654f.0]
mov rcx, qword [rsp + 0x30]
mov edi, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
test edi, edi
js 0x14003822c
mov rcx, qword [rbp + 0x10]
lea rdx, [rsp + 0x50]
xorps xmm1, xmm1
mov qword [rsp + 0x20], rdx
xor eax, eax
movaps xmmword [rsp + 0x50], xmm1
mov qword [rbp], rax
lea r9, [rsp + 0x70]
movsd xmm0, qword [rbp]
lea r8, [rbp - 0x70]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
movsd qword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
movsd qword [rbp - 0x80], xmm0
mov rax, qword [rax + 0x50]
movaps xmmword [rbp - 0x70], xmm1
movsd qword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
movsd qword [rbp - 0x40], xmm0
call qword [case.0x1400f654f.0]
test eax, eax
js 0x14003821b
mov rcx, qword ds:[rbp + 0x10]
lea r8, [rbp + 0x28]
mov qword [rsp + 0x150], r14
mov r14d, 1
mov edx, r14d
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x140038213
mov rcx, qword [rbp + 0x28]
lea rdx, [rbp + 0x30]
mov eax, 0x16
mov word [rsp + 0x38], ax
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x140038202
cmp dword [rbp + 0x30], r14d
jl 0x140038202
mov qword [rsp + 0x198], r13
lea r13, [0x1401dc684]
movaps xmmword [rsp + 0x140], xmm6
movsd xmm6, qword [rsp + 0x48]
mov qword [rsp + 0x180], rsi
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x28]
lea r8, [rbp + 8]
mov dword [rsp + 0x40], r14d
lea rdx, [rbp - 0x30]
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rcx]
movaps xmmword [rbp - 0x30], xmm0
movsd qword [rbp - 0x20], xmm6
mov rax, qword [rax + 0x40]
call qword [case.0x1400f654f.0]
nop dword [rax]
test eax, eax
js 0x1400381dc
mov rcx, qword ds:[rbp + 8]
lea rdx, [rbp + 0x34]
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400381cb
mov eax, dword [r15 + 0x20]
cmp dword [rbp + 0x34], eax
jne 0x1400381cb
mov rcx, qword [rbp + 8]
lea rdx, [rbp + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [case.0x1400f654f.0]
mov rcx, qword ds:[rbp + 8]
lea rdx, [rbp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400f654f.0]
mov rdi, qword [0x14023a8f8]
mov rsi, qword [0x14023a900]
test rdi, rdi
je 0x140037eef
mov rdx, qword [rbx + 8]
mov rcx, qword [rdx]
add rcx, rdi
cmp qword [rbx], rcx
jae 0x140037ec1
lfence
mov rax, qword [rbx + 8]
mov rcx, rbx
mov rdx, qword [rax]
add rdx, rdi
call fcn.1400ffce0
mov rdx, qword [rbx + 8]
test rsi, rsi
je 0x140037edc
mov rcx, qword [rdx + 8]
mov r8, rdi
add rcx, qword [rdx]
mov rdx, rsi
call fcn.140188690
mov rdx, qword [rbx + 8]
add qword [rdx], rdi
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov word [rdx + rcx], r12w
mov rax, qword [rbp + 0x18]
lea rsi, str.Unknown_action
test rax, rax
cmovne rsi, rax
mov rcx, rsi
call sym.ProcessHacker.exe_PhCountStringZ
mov rdi, rax
add rdi, rdi
je 0x140037f6e
mov r8, qword ds:[rbx + 8]
mov rdx, qword [r8]
add rdx, rdi
cmp qword [rbx], rdx
jae 0x140037f3e
lfence
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
mov rcx, rbx
add rdx, rdi
call fcn.1400ffce0
mov r8, qword [rbx + 8]
nop
test rsi, rsi
je 0x140037f5b
mov rcx, qword [r8 + 8]
mov rdx, rsi
add rcx, qword [r8]
mov r8, rdi
call fcn.140188690
mov r8, qword [rbx + 8]
add qword [r8], rdi
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov word [rdx + rcx], r12w
cmp byte [0x140244611], 1
jb 0x140037fee
mov rdx, r13
mov rcx, r13
and rdx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x140037fa6
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
sar eax, cl
bsf ecx, eax
je 0x140037fa2
mov edx, ecx
shr rdx, 1
jmp 0x140037fe3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140037fd5
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140037fc0
sub rdx, r13
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rdi, [rdx + rdx]
test rdi, rdi
je 0x14003804a
jmp 0x140037ff3
mov edi, 4
mov rcx, qword ds:[rbx + 8]
mov rdx, qword [rcx]
lea rax, [rdx + rdi]
cmp qword [rbx], rax
jae 0x140038021
lfence
mov rax, qword [rbx + 8]
mov rcx, rbx
mov rdx, qword [rax]
add rdx, rdi
call fcn.1400ffce0
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
mov r8, rdi
add rcx, rdx
mov rdx, r13
call fcn.140188690
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 ds:[rbp + 0x20]
lea rsi, str.Unknown_path
test rax, rax
cmovne rsi, rax
mov rcx, rsi
call sym.ProcessHacker.exe_PhCountStringZ
mov rdi, rax
add rdi, rdi
je 0x1400380c3
mov r8, qword [rbx + 8]
mov rdx, qword [r8]
add rdx, rdi
cmp qword [rbx], rdx
jae 0x140038095
lfence
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
mov rcx, rbx
add rdx, rdi
call fcn.1400ffce0
mov r8, qword [rbx + 8]
test rsi, rsi
je 0x1400380b0
mov rcx, qword [r8 + 8]
mov rdx, rsi
add rcx, qword [r8]
mov r8, rdi
call fcn.140188690
mov r8, qword [rbx + 8]
add qword [r8], rdi
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov word [rdx + rcx], r12w
cmp byte [0x140244611], 1
lea rsi, [0x1401ddba8]
jb 0x14003814e
mov rax, rsi
mov rcx, rsi
and rax, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x140038102
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
sar edx, cl
bsf ecx, edx
je 0x1400380fe
mov eax, ecx
shr rax, 1
jmp 0x140038143
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x140038135
nop dword [rax]
nop word [rax + rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x140038120
sub rax, rsi
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
lea rdi, [rax + rax]
test rdi, rdi
je 0x1400381aa
jmp 0x140038153
mov edi, 4
mov rcx, qword ds:[rbx + 8]
mov rdx, qword [rcx]
lea rax, [rdx + rdi]
cmp qword [rbx], rax
jae 0x140038181
lfence
mov rax, qword [rbx + 8]
mov rcx, rbx
mov rdx, qword [rax]
add rdx, rdi
call fcn.1400ffce0
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
mov r8, rdi
add rcx, rdx
mov rdx, rsi
call fcn.140188690
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 rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400381b9
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword ds:[rbp + 0x20]
test rcx, rcx
je 0x1400381cb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
inc r14d
cmp r14d, dword [rbp + 0x30]
jle 0x140037df0
movaps xmm6, xmmword [rsp + 0x140]
mov r13, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov r14, qword [rsp + 0x150]
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rdi, qword [rsp + 0x190]
mov rcx, qword ds:[rbp + 0x38]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x158
pop r15
pop r12
pop rbx
pop rbp
ret