Function at 0x4195d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45eae2
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x476028]
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 - 0x30c], ebx
mov dword [ebp - 0x310], 0
xor eax, eax
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
xor edi, edi
push edi
push 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x419a90
push 0x228
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.004450a0
add esp, 0xc
lea eax, [ebp - 0x308]
push eax
push esi
mov dword [ebp - 0x308], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4196ea
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov edi, edi
mov eax, dword [ebp - 0x30c]
cmp eax, dword [ebp - 0x300]
jne 0x4196d6
cmp word [ebp - 0x2e4], 0
mov edi, dword [ebp - 0x2f0]
jne 0x4196a2
xor eax, eax
jmp 0x4196bf
lea eax, [ebp - 0x2e4]
lea edx, [eax + 2]
jmp 0x4196b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4196b0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0xd8]
call fcn.0040e9c0
test edi, edi
jne 0x4196e4
lea eax, [ebp - 0x308]
push eax
push esi
call ebx
test eax, eax
jne 0x419680
mov ebx, dword [ebp - 0x30c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004014c0
mov dword [ebp - 0xc0], 0x46aaac
mov dword [ebp - 0xb0], 0x46aaa4
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
push 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x310], 1
mov dword [ebp - 0x58], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x5c], 0x50
movlpd qword [ebp - 0xb8], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x201
mov dword [ebp - 0x40], 6
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0040dd70
push 4
call fcn.0043f40d
mov esi, eax
add esp, 4
test esi, esi
je 0x4197a5
push 1
mov dword [esi], 0
call fcn.0042b207
add esp, 4
mov dword [esi], eax
jmp 0x4197a7
xor esi, esi
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], 0
call fcn.0040d900
push eax
mov dword [ebp - 4], 4
call fcn.0040d4c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30c]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x4197fa
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4197fa
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esi]
push 0x20
mov ecx, esi
call dword [eax + 0x30]
cmp dword [ebp - 0x20], 0
mov word [ebp - 0x18], ax
jne 0x41981e
mov eax, dword [ebp - 0x4c]
or eax, 4
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0040dd70
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb4], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xc4], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.00407110
mov dword [ebp - 0xa8], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
push edi
push ecx
push ebx
push ecx
mov edx, str.Current_process_PID_
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 9
call fcn.0040a670
add esp, 4
mov ecx, eax
call fcn.0041a690
mov edx, str.__current_Exe_
mov ecx, eax
call fcn.0040a670
lea edx, [ebp - 0xd8]
mov ecx, eax
call fcn.0040a400
mov edx, str.__parent_PID_
mov ecx, eax
call fcn.0040a670
add esp, 4
mov ecx, eax
call fcn.0041a690
xor eax, eax
mov dword [ebp - 0x314], 7
mov dword [ebp - 0x318], 0
mov word [ebp - 0x328], ax
mov byte [ebp - 4], 0xa
cmp dword [0x47772c], 8
mov eax, dword [0x477728]
mov esi, 0x477718
mov edx, esi
cmovae edx, dword [0x477718]
cmovae esi, dword [0x477718]
lea eax, [edx + eax*2]
push eax
push esi
lea ecx, [ebp - 0x328]
call fcn.0040adb0
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
call fcn.00404d90
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x328]
mov ecx, eax
call fcn.0041edd0
cmp dword [ebp - 0x32c], 8
jb 0x41999e
push dword [ebp - 0x340]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0x314], 8
mov dword [ebp - 0x32c], 7
mov dword [ebp - 0x330], 0
mov word [ebp - 0x340], ax
jb 0x4199d2
push dword [ebp - 0x328]
call fcn.0043f2ce
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.00404e10
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xc4], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb4], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xc4], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.0042af96
add esp, 4
cmp dword [ebp - 0xc4], 8
jb 0x419aa7
push dword [ebp - 0xd8]
call fcn.0043f2ce
add esp, 4
mov eax, edi
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.0043f2bf
mov esp, ebp
pop ebp
ret