Function at 0x140033f20
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21d0]
mov eax, 0x22d0
call fcn.14029e430
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 [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140034353
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x140034353
call qword [sym.imp.USER32.dll_GetShellWindow]
cmp rbx, rax
je 0x140034353
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_MonitorFromWindow]
test rax, rax
je 0x140034353
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 0x140034353
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x4c], eax
jne 0x140034353
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x50], eax
jl 0x140034353
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x54], eax
jl 0x140034353
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x140034385
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.140010560
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, 0x238
lea rcx, [rbp - 0x80]
call fcn.14029ff20
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
or rsi, 0xffffffffffffffff
test eax, eax
je 0x1400340ec
mov eax, dword [rsp + 0x20]
cmp dword [rbp - 0x78], eax
jne 0x1400340db
lea rcx, [rbp - 0x54]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400340c0
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x28]
call fcn.1400105e0
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400340a7
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 0x140034136
add rdx, 2
cmp rdx, 0xd
je 0x140034136
movzx edi, word [rax + rdx*2]
movzx ecx, word [r8 + rdx*2]
sub edi, ecx
je 0x140034110
lea r8, str.LockAppHost.exe
xor edx, edx
nop
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x140034166
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x140034166
add rdx, 2
cmp rdx, 0x10
jne 0x140034140
xor ecx, ecx
jmp 0x14003416b
sbb ecx, ecx
or ecx, 1
mov r12d, 1
test ecx, ecx
je 0x1400341b4
lea r8, str.LockApp.exe
xor edx, edx
nop
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x1400341a6
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x1400341a6
add rdx, 2
cmp rdx, 0xc
jne 0x140034180
xor eax, eax
jmp 0x1400341ab
sbb eax, eax
or eax, r12d
test eax, eax
je 0x1400341b4
xor r13d, r13d
jmp 0x1400341b7
mov r13d, r12d
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x140034390
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 0x1400341f6
mov r8d, eax
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x30]
call fcn.1400105e0
mov rbx, qword [rsp + 0x30]
mov r14d, dword [rbx - 0x10]
mov edx, 0x5c
mov rcx, rbx
call fcn.14029f968
test rax, rax
jne 0x140034233
mov eax, esi
jmp 0x140034239
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 0x140034266
lea rcx, [rbx - 0x18]
call fcn.140015740
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
jmp 0x1400342aa
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14003427a
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x140034288
call fcn.1400f9930
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.1400151e0
mov rbx, qword [rsp + 0x38]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400157c0
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400342d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14003439b
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 0x140034306
add rcx, 2
test edx, edx
jne 0x1400342f0
test r8d, r8d
je 0x140034314
test edi, edi
je 0x140034314
test r13d, r13d
je 0x140034317
xor r12d, r12d
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140034331
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 0x14003434e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
jmp 0x140034355
xor eax, eax
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.14029d880
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.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
int3