Function at 0x1800f87a
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.18163b00
mov eax, dword [0x181c0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x102c], eax
mov ecx, dword [ebp + 0x14]
mov esi, 0x1000
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1030], eax
xor edi, edi
mov eax, dword [ecx]
push esi
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1008]
push edi
push eax
mov dword [ebp - 0x1034], edx
mov dword [ebp - 0x1038], ecx
call fcn.1813efc0
add esp, 0xc
mov dword [ebp - 0x1020], edi
lea eax, [ebp - 0x1020]
push eax
push esi
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1800f8fd
call fcn.18012e6f
jmp 0x1800fb47
mov eax, dword [ebp - 0x1020]
shr eax, 2
mov dword [ebp - 0x100c], eax
call fcn.1801092e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x101c], edi
mov eax, ebx
mov dword [ebp - 0x1024], ecx
and eax, 0x40
mov dword [ebp - 0x1028], eax
je 0x1800f979
push ecx
lea ecx, [ebp - 0x1064]
call fcn.1800f523
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], edi
push eax
lea ecx, [ebp - 0x1064]
call fcn.1800f765
test eax, eax
js 0x1800f968
mov esi, dword [ebp - 0x101c]
mov dword [ebp - 0x101c], esi
jmp 0x1800f96e
mov dword [ebp - 0x101c], edi
lea ecx, [ebp - 0x1064]
call fcn.1800f5a9
call fcn.18003f31
push eax
lea ecx, [ebp - 0x1014]
call fcn.18006dc8
lea eax, [ebp - 0x1014]
push eax
call fcn.18010d1a
mov edi, dword [ebp - 0x1014]
mov esi, eax
pop ecx
test esi, esi
js 0x1800fb3d
cmp dword [ebp - 0x100c], 0
jbe 0x1800fb3b
mov eax, dword [ebp - 0x100c]
lea esi, [ebp - 0x1008]
mov dword [ebp - 0x1010], esi
cmp dword [esi], 0
je 0x1800fb23
test bl, 1
je 0x1800f9e2
mov ecx, dword [ebp - 0x1024]
cmp dword [esi], ecx
je 0x1800fb23
cmp dword [ebp - 0x1028], 0
je 0x1800f9f9
mov ecx, dword [ebp - 0x101c]
cmp dword [esi], ecx
je 0x1800fb23
call fcn.18003f31
push eax
lea ecx, [ebp - 0x1018]
call fcn.18006dc8
mov ecx, dword [esi]
lea edx, [ebp - 0x1018]
call fcn.18010200
test bl, 8
je 0x1800fa46
mov eax, dword [ebp - 0x102c]
lea ecx, [ebp - 0x1018]
push dword [eax]
call fcn.1800c2a7
test eax, eax
je 0x1800fa46
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.18004595
jmp 0x1800fb1d
test bl, 2
je 0x1800fa5b
push edi
lea ecx, [ebp - 0x1018]
call fcn.1800c2a7
test eax, eax
je 0x1800fa33
mov esi, dword [ebp - 0x1018]
test bl, 4
je 0x1800fa7b
push str.S_1_5_18
push esi
call fcn.18149344
pop ecx
pop ecx
test eax, eax
je 0x1800fb0f
test bl, 0x30
je 0x1800fae5
call fcn.18003f31
push eax
lea ecx, [ebp - 0x1014]
call fcn.18006dc8
mov ecx, dword [ebp - 0x1010]
lea edx, [ebp - 0x1014]
mov ecx, dword [ecx]
call fcn.180100b0
test eax, eax
jns 0x1800fab8
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
call fcn.18004595
jmp 0x1800fb0f
mov edx, dword [ebp - 0x1030]
lea ecx, [ebp - 0x1014]
call fcn.1800f827
test al, al
je 0x1800fad2
test bl, 0x10
jmp 0x1800fad5
test bl, 0x20
jne 0x1800faa8
mov ecx, dword [ebp - 0x1014]
add ecx, 0xfffffff0
call fcn.18004595
mov eax, dword [ebp - 0x1010]
mov edx, dword [ebp - 0x1034]
push ecx
mov ecx, dword [eax]
call fcn.1800fd16
pop ecx
test al, al
je 0x1800fb0f
push dword [ebp - 0x1010]
mov ecx, dword [ebp - 0x1038]
call fcn.180103ab
lea ecx, [esi - 0x10]
call fcn.18004595
mov esi, dword [ebp - 0x1010]
mov eax, dword [ebp - 0x100c]
add esi, 4
sub eax, 1
mov dword [ebp - 0x1010], esi
mov dword [ebp - 0x100c], eax
jne 0x1800f9c6
xor esi, esi
lea ecx, [edi - 0x10]
call fcn.18004595
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1813c4a8
leave
ret