Function at 0x180135ae
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.180cb510
mov eax, dword [0x180fd00c]
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
mov eax, dword [ecx]
push esi
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1008]
push 0
push eax
mov dword [ebp - 0x1034], edx
mov dword [ebp - 0x1038], ecx
call fcn.180a89f0
and dword [ebp - 0x1020], 0
lea eax, [ebp - 0x1020]
add esp, 0xc
push eax
push esi
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x18013631
call fcn.18015f1f
jmp 0x18013835
mov edi, dword [ebp - 0x1020]
shr edi, 2
mov dword [ebp - 0x100c], edi
call fcn.180145e7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x1024], ecx
and eax, 0x40
mov dword [ebp - 0x101c], esi
mov dword [ebp - 0x1028], eax
je 0x180136a7
push ecx
lea ecx, [ebp - 0x1064]
call fcn.18013261
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], esi
push eax
lea ecx, [ebp - 0x1064]
call fcn.1801349d
test eax, eax
js 0x18013696
mov esi, dword [ebp - 0x1014]
lea ecx, [ebp - 0x1064]
mov dword [ebp - 0x101c], esi
call fcn.180132d5
lea ecx, [ebp - 0x1014]
call fcn.18005c3b
lea eax, [ebp - 0x1014]
push eax
call fcn.18014d02
mov esi, eax
pop ecx
test esi, esi
js 0x18013825
test edi, edi
je 0x18013823
mov eax, dword [ebp - 0x100c]
lea edi, [ebp - 0x1008]
cmp dword [edi], 0
je 0x18013811
test bl, 1
je 0x180136f9
mov ecx, dword [ebp - 0x1024]
cmp dword [edi], ecx
je 0x18013811
cmp dword [ebp - 0x1028], 0
je 0x18013710
mov ecx, dword [ebp - 0x101c]
cmp dword [edi], ecx
je 0x18013811
lea ecx, [ebp - 0x1010]
call fcn.18005c3b
mov ecx, dword [edi]
lea edx, [ebp - 0x1010]
call fcn.18013ef7
test bl, 8
je 0x18013750
mov edx, dword [ebp - 0x102c]
lea ecx, [ebp - 0x1010]
call fcn.180140c3
test al, al
je 0x18013750
mov ecx, dword [ebp - 0x1010]
lea ecx, [ecx - 0x10]
jmp 0x18013806
test bl, 2
je 0x1801376a
lea edx, [ebp - 0x1014]
lea ecx, [ebp - 0x1010]
call fcn.1800ef6c
test al, al
jne 0x18013742
mov esi, dword [ebp - 0x1010]
test bl, 4
je 0x18013786
push str.S_1_5_18
push esi
call fcn.180b1964
pop ecx
pop ecx
test eax, eax
je 0x18013803
test bl, 0x30
je 0x180137e4
lea ecx, [ebp - 0x1018]
call fcn.18005c3b
mov ecx, dword [edi]
lea edx, [ebp - 0x1018]
call fcn.18013da7
test eax, eax
jns 0x180137b7
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.18003140
jmp 0x18013803
mov edx, dword [ebp - 0x1030]
lea ecx, [ebp - 0x1018]
call fcn.1801355f
test al, al
je 0x180137d1
test bl, 0x10
jmp 0x180137d4
test bl, 0x20
jne 0x180137a7
mov ecx, dword [ebp - 0x1018]
add ecx, 0xfffffff0
call fcn.18003140
mov edx, dword [ebp - 0x1034]
push ecx
mov ecx, dword [edi]
call fcn.18013a1c
pop ecx
test al, al
je 0x18013803
mov ecx, dword [ebp - 0x1038]
push edi
call fcn.1801409e
lea ecx, [esi - 0x10]
call fcn.18003140
mov eax, dword [ebp - 0x100c]
add edi, 4
sub eax, 1
mov dword [ebp - 0x100c], eax
jne 0x180136dd
xor esi, esi
mov ecx, dword [ebp - 0x1014]
add ecx, 0xfffffff0
call fcn.18003140
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret