Function at 0x67881510
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x679391ff
mov eax, dword fs:[0]
push eax
sub esp, 0x5a4
mov eax, dword [0x67ad7034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x574], ebx
mov dword [ebp - 0x57c], ebx
push 0xb0
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x5b0], ebx
push 0
push eax
mov dword [ebp - 0x578], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf8], 0x67abc798
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xe8], 0x67abc694
call dword [sym.imp.msvcp140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
mov ebx, 2
lea ecx, [ebp - 0xf8]
push eax
mov dword [ebp - 0x578], ebx
call dword [sym.imp.msvcp140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 0x67abc820
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.msvcp140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xe0], 0x67abc6bc
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov edx, 0x67abca3c
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xe8]
call fcn.6788fcd0
push 0
push ebx
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov ecx, eax
mov dword [ebp - 0x558], ecx
cmp ecx, 0xffffffff
je 0x67881804
lea eax, [ebp - 0x554]
mov dword [ebp - 0x554], 0x128
push eax
push ecx
call dword [sym.imp.kernel32.dll_Process32FirstW]
test eax, eax
je 0x67881804
nop
push 0x6787c2a0
lea ecx, [ebp - 0xe8]
call dword [0x679423c8]
push 0
mov edi, eax
lea eax, [ebp - 0x568]
push 0xa
push eax
call dword [sym.imp.msvcp140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call ecx
mov ecx, dword [ebp - 0x54c]
lea esi, [ebp - 0x12]
add esp, 0x18
mov eax, 0xcccccccd
add esi, 0xfffffffe
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x678816a2
mov dword [ebp - 0x5ac], edx
mov word [ebp - 0x5ac], dx
xor eax, eax
lea edx, [ebp - 0x12]
mov dword [ebp - 0x59c], eax
mov byte [ebp - 4], 2
mov ecx, 7
mov dword [ebp - 0x598], ecx
cmp esi, edx
je 0x6788170c
mov eax, edx
lea ecx, [ebp - 0x5ac]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.677d7880
mov ecx, dword [ebp - 0x598]
mov eax, dword [ebp - 0x59c]
or ebx, 0xc
cmp ecx, 8
mov byte [ebp - 4], 4
lea edx, [ebp - 0x5ac]
mov ecx, edi
cmovae edx, dword [ebp - 0x5ac]
push eax
call fcn.67892010
add esp, 4
mov edx, 0x67abaa0c
mov ecx, eax
call fcn.6788fcd0
mov esi, eax
mov dword [ebp - 0x594], 0
xor eax, eax
mov dword [ebp - 0x584], 0
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x580], 7
mov word [ebp - 0x594], ax
lea edx, [ecx + 2]
mov byte [ebp - 4], 4
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x67881770
sub ecx, edx
lea eax, [ebp - 0x530]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x594]
call fcn.677d7880
mov byte [ebp - 4], 6
lea edx, [ebp - 0x594]
cmp dword [ebp - 0x580], 8
mov ecx, esi
push dword [ebp - 0x584]
cmovae edx, dword [ebp - 0x594]
call fcn.67892010
add esp, 4
mov ecx, eax
push 0x678901c0
call dword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char_______cdecl___class_std::basic_istream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x594]
call fcn.677d8a30
lea ecx, [ebp - 0x5ac]
mov byte [ebp - 4], 2
call fcn.677d8a30
mov esi, dword [ebp - 0x558]
lea eax, [ebp - 0x554]
push eax
push esi
call dword [sym.imp.kernel32.dll_Process32NextW]
test eax, eax
jne 0x67881660
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [ebp - 0xe8]
call fcn.6788ffa0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
push 0x6787e4e0
call dword [sym.imp.user32.dll_EnumWindows]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x57c], eax
cmp esi, eax
je 0x67881a22
add esi, 0x18
mov dword [ebp - 0x558], esi
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x328]
mov dword [ebp - 0x328], 0
push eax
push dword [esi - 0x18]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
mov edi, dword [ebp - 0x328]
push 0
push 2
mov dword [ebp - 0x324], 0x22c
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x678818f4
mov dword [ebp - 0x570], 0
xor eax, eax
mov dword [ebp - 0x560], 0
xor ecx, ecx
mov dword [ebp - 0x55c], 7
mov word [ebp - 0x570], ax
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x678818e0
sub ecx, edx
sar ecx, 1
push ecx
push 0
jmp 0x67881966
lea eax, [ebp - 0x324]
push eax
push esi
call dword [sym.imp.kernel32.dll_Process32FirstW]
test eax, eax
je 0x6788192e
nop word [eax + eax]
cmp edi, dword [ebp - 0x31c]
je 0x67881a9f
lea eax, [ebp - 0x324]
push eax
push esi
call dword [sym.imp.kernel32.dll_Process32NextW]
test eax, eax
jne 0x67881910
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x570], 0
xor eax, eax
mov dword [ebp - 0x560], 0
push eax
mov dword [ebp - 0x55c], 7
mov word [ebp - 0x570], ax
mov byte [ebp - 4], 7
push 0x6794f568
lea ecx, [ebp - 0x570]
call fcn.677d7880
or ebx, 0x20
or ebx, 0x10
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x570]
cmp dword [ebp - 0x55c], 8
lea ecx, [ebp - 0xe8]
push dword [ebp - 0x560]
cmovae edx, dword [ebp - 0x570]
call fcn.67892010
add esp, 4
mov ecx, eax
call fcn.678901f0
mov esi, dword [ebp - 0x558]
cmp dword [esi], 8
lea edx, [esi - 0x14]
jb 0x678819ba
mov edx, dword [edx]
push dword [esi - 4]
mov ecx, eax
call fcn.67892010
add esp, 4
mov edx, 0x67abcab4
mov ecx, eax
call fcn.6788fcd0
cmp dword [esi + 0x18], 8
lea edx, [esi + 4]
jb 0x678819de
mov edx, dword [edx]
push dword [esi + 0x14]
mov ecx, eax
call fcn.67892010
add esp, 4
mov ecx, eax
push 0x678901c0
call dword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char_______cdecl___class_std::basic_istream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x570]
mov byte [ebp - 4], 7
call fcn.677d8a30
add esi, 0x34
mov dword [ebp - 0x558], esi
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0x57c]
jne 0x67881870
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x574]
mov dword [eax], 0
mov dword [ebp - 4], 0xd
xor ecx, ecx
mov dword [eax + 0x10], 0
or ebx, 0x80
mov dword [eax + 0x14], 7
xorps xmm0, xmm0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xa4]
mov word [eax], cx
mov eax, edx
and al, 0x22
mov dword [ebp - 0x578], ebx
movq qword [ebp - 0x564], xmm0
cmp al, 2
je 0x67881afc
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
test ecx, ecx
je 0x67881afc
cmp ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xd0]
cmovb ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x67881b33
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x570], 0
xor eax, eax
mov dword [ebp - 0x560], 0
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x55c], 7
mov word [ebp - 0x570], ax
lea edx, [ecx + 2]
mov byte [ebp - 4], 7
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x67881ae0
sub ecx, edx
lea eax, [ebp - 0x300]
sar ecx, 1
push ecx
push eax
jmp 0x67881966
test dl, 4
jne 0x67881b27
mov eax, dword [ebp - 0xc4]
mov edi, dword [eax]
test edi, edi
je 0x67881b27
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
add ecx, ecx
sub ecx, edx
add ecx, edi
sar ecx, 1
jmp 0x67881b33
mov ecx, dword [ebp - 0x560]
mov edx, dword [ebp - 0x564]
mov ebx, dword [ebp - 0x574]
test edx, edx
je 0x67881b49
push ecx
push edx
mov ecx, ebx
call fcn.677d7880
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x67881bcb
mov edi, dword [ebp - 0x44]
cmp esi, edi
je 0x67881b73
add esi, 4
lea ecx, [esi + 0x18]
call fcn.677d8a30
mov ecx, esi
call fcn.677d8a30
add esi, 0x34
lea eax, [esi - 4]
cmp eax, edi
jne 0x67881b57
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x34
mov eax, esi
cmp ecx, 0x1000
jb 0x67881bac
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x67881bac
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.67934867
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 0x67abc820
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0xfc], ecx
lea ecx, [ebp - 0xe0]
call fcn.6788d4f0
lea ecx, [ebp - 0xd8]
call dword [sym.imp.msvcp140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x90]
call dword [sym.imp.msvcp140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.679343f5
mov esp, ebp
pop ebp
ret