Function at 0x140031e80
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21d0]
mov eax, 0x22d0
call fcn.140282780
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2300], rbx
mov qword [rsp + 0x2308], rsi
mov qword [rsp + 0x2310], rdi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400322b3
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x1400322b3
call qword [sym.imp.USER32.dll_GetShellWindow]
cmp rbx, rax
je 0x1400322b3
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_MonitorFromWindow]
test rax, rax
je 0x1400322b3
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x58], 0x28
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x48], eax
jne 0x1400322b3
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x4c], eax
jne 0x1400322b3
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x50], eax
jl 0x1400322b3
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x54], eax
jl 0x1400322b3
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400322f0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.140010310
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x7c]
call fcn.1402841a0
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rsi, 0xffffffffffffffff
test eax, eax
je 0x14003204c
nop word [rax + rax]
mov eax, dword [rsp + 0x20]
cmp dword [rbp - 0x78], eax
jne 0x14003203b
lea rcx, [rbp - 0x54]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140032020
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x28]
call fcn.140010390
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140032010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
lea r8, str.explorer.exe
mov rdx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx edi, word [rax + rdx*2 + 2]
movzx ecx, word [r8 + rdx*2 + 2]
sub edi, ecx
jne 0x140032096
add rdx, 2
cmp rdx, 0xd
je 0x140032096
movzx edi, word [rax + rdx*2]
movzx ecx, word [r8 + rdx*2]
sub edi, ecx
je 0x140032070
lea r8, str.LockAppHost.exe
xor edx, edx
nop
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x1400320c6
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x1400320c6
add rdx, 2
cmp rdx, 0x10
jne 0x1400320a0
xor ecx, ecx
jmp 0x1400320cb
sbb ecx, ecx
or ecx, 1
mov r12d, 1
test ecx, ecx
je 0x140032114
lea r8, str.LockApp.exe
xor edx, edx
nop
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x140032106
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x140032106
add rdx, 2
cmp rdx, 0xc
jne 0x1400320e0
xor eax, eax
jmp 0x14003210b
sbb eax, eax
or eax, r12d
test eax, eax
je 0x140032114
xor r13d, r13d
jmp 0x140032117
mov r13d, r12d
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400322fb
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov r8d, 0x1000
lea rdx, [rbp + 0x1c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x1c0]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140032156
mov r8d, eax
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x30]
call fcn.140010390
mov rbx, qword [rsp + 0x30]
mov r14d, dword [rbx - 0x10]
mov edx, 0x5c
mov rcx, rbx
call fcn.14028376c
test rax, rax
jne 0x140032193
mov eax, esi
jmp 0x140032199
sub rax, rbx
sar rax, 1
sub r14d, eax
lea eax, [r14 - 1]
xor r14d, r14d
test eax, eax
cmovns r14d, eax
movsxd r15, dword [rbx - 0x10]
cmp r14d, r15d
jl 0x1400321c6
lea rcx, [rbx - 0x18]
call fcn.140014810
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
jmp 0x14003220a
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x1400321da
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x1400321e8
call fcn.1400f5f94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
movsxd rcx, r14d
mov rdx, r15
sub rdx, rcx
lea rdx, [rbx + rdx*2]
mov r9, rax
mov r8d, r14d
lea rcx, [rsp + 0x38]
call fcn.1400142d0
mov rbx, qword [rsp + 0x38]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140014890
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140032233
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400322e5
mov rcx, qword [rsp + 0x28]
mov r9, rax
sub r9, rcx
nop dword [rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x140032266
add rcx, 2
test edx, edx
jne 0x140032250
test r8d, r8d
je 0x140032274
test edi, edi
je 0x140032274
test r13d, r13d
je 0x140032277
xor r12d, r12d
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140032291
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400322ae
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
jmp 0x1400322b5
xor eax, eax
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x22d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
int3