Function at 0x436bc0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.00439760
mov eax, dword [0x444040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor esi, esi
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x127c], esi
cmp eax, 0xffffffff
je 0x436d33
lea ecx, [ebp - 0x1278]
mov dword [ebp - 0x1278], 0x128
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
nop
push dword [ebp - 0x1270]
push 0
push 0x410
call ebx
mov ebx, eax
test ebx, ebx
je 0x436d12
push dword [ebp - 0x1270]
xor esi, esi
push esi
push 0x410
mov dword [ebp - 0x1280], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436cbf
lea eax, [ebp - 0x114c]
push eax
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x436cb4
mov eax, dword [ebp - 0x114c]
test eax, eax
je 0x436cb4
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x436cae
lea eax, [ebp - 0x114c]
push eax
push dword [ebp - 0x114c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x436ca7
mov eax, dword [esi]
mov dword [ebp - 0x1280], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x1280]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x436cc5
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x44e74c]
lea ecx, [ebp - 0x101c]
push ecx
push 8
lea ecx, [ebp - 0xc]
add eax, esi
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [ebp - 0x127c]
test eax, eax
je 0x436d0f
cmp dword [ebp - 0x101c], 8
jne 0x436d0f
mov ecx, 0x44e750
lea eax, [ebp - 0xc]
mov ax, word [eax]
cmp ax, word [ecx]
cmove esi, dword [ebp - 0x1270]
mov dword [ebp - 0x127c], esi
push ebx
call edi
lea eax, [ebp - 0x1278]
push eax
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x436c20
push 0
push 2
mov dword [0x44f718], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x1148], 0x128
lea eax, [ebp - 0x1148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x436d9a
lea eax, [ebp - 0x1124]
push str.Infestation_Launcher.exe
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x436d88
mov eax, dword [ebp - 0x1140]
cmp eax, dword [0x44f718]
je 0x436dba
lea eax, [ebp - 0x1148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x436d61
push esi
call edi
push dword [0x44f718]
push 0
push 0x1fffff
call ebx
mov esi, eax
mov dword [0x44f6ac], esi
test esi, esi
jne 0x436dc2
jmp 0x436e0d
push esi
call edi
jmp 0x436be6
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x436e0d
push 0x104
lea eax, [ebp - 0x1258]
push eax
push dword [ebp - 0x1010]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1010]
push dword [0x44f718]
mov dword [0x44f724], eax
push str.__m_pid:__d_n
call fcn.0042e270
add esp, 8
lea eax, [ebp - 0x1018]
push 0
push 4
push eax
mov eax, dword [0x44f724]
add eax, 0xf47e24
push eax
push dword [0x44f6ac]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 0x1018], 0
je 0x436be6
mov eax, dword [0x44f718]
test eax, eax
je 0x436be6
push eax
push str.__m_pid:__d_n
call fcn.0042e270
add esp, 8
push dword [0x44f718]
push 0
push 0x1fffff
call ebx
mov esi, eax
mov dword [0x44f6ac], esi
test esi, esi
jne 0x436e8e
xor eax, eax
jmp 0x436ed9
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1018], 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x436e8a
push 0x104
lea eax, [ebp - 0x1258]
push eax
push dword [ebp - 0x1010]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1010]
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov dword [0x44f724], eax
push 0
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0xa
push 0
push 0x7fffffff
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__::ignore_long_long___int64___int_]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438654
mov esp, ebp
pop ebp
ret