Function at 0x140016a80
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x2a70]
mov eax, 0x2b70
call fcn.1401b7d20
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x2b90], rbx
mov qword [rsp + 0x2b98], rsi
mov qword [rsp + 0x2ba0], rdi
movaps xmmword [rsp + 0x2b60], xmm6
movaps xmmword [rsp + 0x2b50], xmm7
movaps xmmword [rsp + 0x2b40], xmm8
movaps xmmword [rsp + 0x2b30], xmm9
movaps xmmword [rsp + 0x2b20], xmm10
movaps xmmword [rsp + 0x2b10], xmm11
movaps xmmword [rsp + 0x2b00], xmm12
movaps xmmword [rsp + 0x2af0], xmm13
movaps xmmword [rsp + 0x2ae0], xmm14
movaps xmmword [rsp + 0x2ad0], xmm15
mov rax, qword [0x1402ad7a8]
xor rax, rsp
mov qword [rbp + 0x29c0], rax
call fcn.140036e34
mov rcx, rax
test rax, rax
je 0x1400171aa
mov rax, qword [rax]
call qword [rax + 0x18]
mov rsi, rax
lea rcx, [rax + 0x18]
mov qword [rbp - 0x58], rcx
xorps xmm9, xmm9
movsd qword [rsp + 0x48], xmm9
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x21c0]
call fcn.1401bd260
lea r8, [rsp + 0x40]
mov edx, 0x1770
lea rcx, [rbp + 0x40]
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
cmp eax, 1
jne 0x14001712b
xor ecx, ecx
call fcn.1401c9d40
movsd qword [rsp + 0x58], xmm9
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 8]
call fcn.1401ca0b4
test eax, eax
jne 0x140016c29
mov ecx, 0x76c
movzx eax, word [rbp + 0x1c]
add ax, cx
mov word [rbp - 0x48], ax
movzx eax, word [rbp + 0x18]
inc ax
mov word [rbp - 0x46], ax
movzx eax, word [rbp + 0x20]
mov word [rbp - 0x44], ax
movzx eax, word [rbp + 0x14]
mov word [rbp - 0x42], ax
movzx eax, word [rbp + 0x10]
mov word [rbp - 0x40], ax
movzx eax, word [rbp + 0xc]
mov word [rbp - 0x3e], ax
movzx eax, word [rbp + 8]
mov word [rbp - 0x3c], ax
mov word [rbp - 0x3a], r15w
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
xor ecx, ecx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rcx
test eax, eax
je 0x140016c29
lea rdx, [rbp + 0x30]
movsd xmm0, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
mov r14d, dword [rsp + 0x40]
shr r14d, 2
lea r8, str.PID_tRunning_Time_tKernel_Time_tUser_Time_tName_r_n
mov edx, 0x104
lea rcx, [rbp + 0x21c0]
call fcn.140008670
lea rcx, [rbp + 0x21c0]
call fcn.140024b30
test r14, r14
je 0x14001712b
mov rdi, r15
movsd xmm11, qword [rsp + 0x58]
movsd xmm8, qword [0x14026d9d8]
movsd xmm10, qword [0x14026d990]
movsd xmm15, qword [0x14026d9c8]
movsd xmm13, qword [0x14026d9c0]
movsd xmm14, qword [0x14026d9b0]
movsd xmm12, qword [0x14026d9a8]
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x19c0]
call fcn.1401bd260
mov r8d, dword [rbp + rdi*4 + 0x40]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14001711f
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x68]
mov r8d, 8
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
test eax, eax
je 0x140017116
mov r9d, 0x104
lea r8, [rbp + 0x17b0]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x140017116
lea rdx, str.svchost.exe
lea rcx, [rbp + 0x17b0]
call fcn.1401bc770
test rax, rax
jne 0x140017116
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, 1
jne 0x140017116
mov r9d, dword [rbp + rdi*4 + 0x40]
lea r8, [0x140267f58]
mov edx, 0x400
lea rcx, [rbp + 0x19c0]
call fcn.140008670
lea r8, [rbp + 0x19c0]
mov edx, 0x400
lea rcx, [rbp + 0x21c0]
call fcn.1401c9afc
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x140016e30
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x140016e30
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x28]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
xor ecx, ecx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rcx
test eax, eax
je 0x140016e30
lea rdx, [rbp - 0x38]
movsd xmm0, qword [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x140016e30
movzx eax, word [rbp - 0x38]
cmp word [rbp - 0x28], ax
jne 0x140016e30
movzx eax, word [rbp - 0x36]
cmp word [rbp - 0x26], ax
jne 0x140016e30
movzx eax, word [rbp - 0x32]
cmp word [rbp - 0x22], ax
jne 0x140016e30
movzx eax, word [rbp - 0x30]
cmp word [rbp - 0x20], ax
jne 0x140016e30
movzx eax, word [rbp - 0x2e]
cmp word [rbp - 0x1e], ax
jne 0x140016e30
movzx eax, word [rbp - 0x2c]
cmp word [rbp - 0x1c], ax
mov dword [rsp + 0x50], r15d
je 0x140016e38
mov dword [rsp + 0x50], 1
comisd xmm11, xmm8
jbe 0x140016e45
movaps xmm6, xmm11
jmp 0x140016e5d
movaps xmm0, xmm11
call fcn.1401d696c
movaps xmm6, xmm0
movaps xmm1, xmm11
subsd xmm1, xmm0
subsd xmm6, xmm1
movsd xmm7, qword [rsp + 0x48]
comisd xmm7, xmm8
ja 0x140016e80
movaps xmm0, xmm7
call fcn.1401d696c
movaps xmm1, xmm7
subsd xmm1, xmm0
movaps xmm7, xmm0
subsd xmm7, xmm1
subsd xmm6, xmm7
comisd xmm9, xmm6
jbe 0x140016e91
movaps xmm1, xmm8
jmp 0x140016e95
movaps xmm1, xmm10
jbe 0x140016e9d
movaps xmm2, xmm8
jmp 0x140016ea1
movaps xmm2, xmm10
movaps xmm0, xmm6
addsd xmm0, xmm1
mulsd xmm0, xmm15
cvttsd2si rax, xmm0
xorps xmm4, xmm4
cvtsi2sd xmm4, rax
movaps xmm1, xmm6
addsd xmm1, xmm2
mulsd xmm1, xmm13
cvttsd2si rax, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm14
subsd xmm4, xmm0
jbe 0x140016ee4
movaps xmm1, xmm8
jmp 0x140016ee8
movaps xmm1, xmm10
jbe 0x140016ef0
movaps xmm2, xmm8
jmp 0x140016ef4
movaps xmm2, xmm10
movaps xmm0, xmm6
addsd xmm0, xmm1
mulsd xmm0, xmm13
cvttsd2si rax, xmm0
xorps xmm3, xmm3
cvtsi2sd xmm3, rax
movaps xmm1, xmm6
addsd xmm1, xmm2
mulsd xmm1, xmm12
cvttsd2si rax, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm14
subsd xmm3, xmm0
jbe 0x140016f37
movaps xmm2, xmm8
jmp 0x140016f3b
movaps xmm2, xmm10
jbe 0x140016f43
movaps xmm1, xmm8
jmp 0x140016f47
movaps xmm1, xmm10
movaps xmm0, xmm6
addsd xmm0, xmm2
mulsd xmm0, xmm12
cvttsd2si rax, xmm0
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movaps xmm0, xmm6
addsd xmm0, xmm1
cvttsd2si rax, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, xmm12
subsd xmm2, xmm1
jbe 0x140016f85
movaps xmm0, xmm8
jmp 0x140016f89
movaps xmm0, xmm10
cvttsd2si r10d, xmm4
mov eax, 0x88888889
imul r10d
add edx, r10d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
sub r10d, eax
cvttsd2si r8d, xmm3
mov eax, 0x88888889
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
sub r8d, eax
cvttsd2si ecx, xmm2
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
addsd xmm6, xmm0
cvttsd2si r9, xmm6
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], ecx
lea r8, str._.2u:_.2u:_.2u:_.2u__t
mov edx, 0x400
lea rcx, [rbp + 0x19c0]
call fcn.140008670
lea r8, [rbp + 0x19c0]
mov edx, 0x400
lea rcx, [rbp + 0x21c0]
call fcn.1401c9c54
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [rbp - 0xc]
movzx ecx, word [rbp - 0xe]
movzx r9d, word [rbp - 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea r8, str._.2u:_.2u:_.2u__t
mov edx, 0x400
lea rcx, [rbp + 0x19c0]
call fcn.140008670
lea r8, [rbp + 0x19c0]
mov edx, 0x400
lea rcx, [rbp + 0x21c0]
call fcn.1401c9c54
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [rbp + 4]
movzx ecx, word [rbp + 2]
movzx r9d, word [rbp]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea r8, str._.2u:_.2u:_.2u__t
mov edx, 0x400
lea rcx, [rbp + 0x19c0]
call fcn.140008670
lea r8, [rbp + 0x19c0]
mov edx, 0x400
lea rcx, [rbp + 0x21c0]
call fcn.1401c9c54
lea r9, [rbp + 0x17b0]
lea r8, [0x140267fb8]
mov edx, 0x400
lea rcx, [rbp + 0x19c0]
call fcn.140008670
lea r8, [rbp + 0x19c0]
mov edx, 0x400
lea rcx, [rbp + 0x21c0]
call fcn.1401c9c54
lea rcx, [rbp + 0x21c0]
call fcn.140024b30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rdi
cmp rdi, r14
jl 0x140016ca0
mov eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x140017146
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x29c0]
xor rcx, rsp
call fcn.1401b72a0
lea r11, [rsp + 0x2b70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140008d10
int3