Function at 0x1801356c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1064
call fcn.180f1290
mov eax, dword [0x1826b00c]
xor eax, esp
mov dword [esp + 0x1060], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x14]
mov esi, 0x1000
mov eax, dword [ebp + 0x10]
push edi
mov dword [esp + 0x34], eax
xor edi, edi
mov eax, dword [ecx]
push esi
mov dword [ecx + 4], eax
lea eax, [esp + 0x6c]
push edi
push eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ecx
call fcn.180c7aa0
add esp, 0xc
mov dword [esp + 0x20], edi
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x180135e6
call fcn.18016093
jmp 0x180137d2
mov eax, dword [esp + 0x20]
shr eax, 2
mov dword [esp + 0xc], eax
call fcn.180145a1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [esp + 0x1c], edi
mov eax, ebx
mov dword [esp + 0x24], ecx
and eax, 0x40
mov dword [esp + 0x28], eax
je 0x18013648
push ecx
lea ecx, [esp + 0x40]
call fcn.1801320f
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
push eax
lea ecx, [esp + 0x40]
call fcn.1801345b
test eax, eax
js 0x1801363b
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], esi
jmp 0x1801363f
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x3c]
call fcn.18013295
call fcn.18006a78
push eax
lea ecx, [esp + 0x18]
call fcn.18007187
lea eax, [esp + 0x14]
push eax
call fcn.1801498d
mov edi, dword [esp + 0x18]
mov esi, eax
pop ecx
test esi, esi
js 0x180137c8
cmp dword [esp + 0xc], 0
jbe 0x180137c6
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x68]
mov dword [esp + 0x10], esi
cmp dword [esi], 0
je 0x180137b2
test bl, 1
je 0x180136a1
mov ecx, dword [esp + 0x24]
cmp dword [esi], ecx
je 0x180137b2
cmp dword [esp + 0x28], 0
je 0x180136b4
mov ecx, dword [esp + 0x1c]
cmp dword [esi], ecx
je 0x180137b2
call fcn.18006a78
push eax
lea ecx, [esp + 0x1c]
call fcn.18007187
mov ecx, dword [esi]
lea edx, [esp + 0x18]
call fcn.18013eb5
test bl, 8
je 0x180136f7
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push dword [eax]
call fcn.18009f3a
test eax, eax
je 0x180136f7
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.18006a60
jmp 0x180137ae
test bl, 2
je 0x1801370a
push edi
lea ecx, [esp + 0x1c]
call fcn.18009f3a
test eax, eax
je 0x180136e6
mov esi, dword [esp + 0x18]
test bl, 4
je 0x18013724
push str.S_1_5_18
push esi
call fcn.180d4914
pop ecx
pop ecx
test eax, eax
je 0x180137a2
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
call fcn.18013975
pop ecx
test al, al
je 0x180137a2
test bl, 0x30
je 0x18013795
call fcn.18006a78
push eax
lea ecx, [esp + 0x18]
call fcn.18007187
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
call fcn.18013d65
test eax, eax
jns 0x1801376e
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006a60
jmp 0x180137a2
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
call fcn.1801351d
test al, al
je 0x18013784
test bl, 0x10
jmp 0x18013787
test bl, 0x20
jne 0x18013760
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006a60
push dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
call fcn.18013ffa
lea ecx, [esi - 0x10]
call fcn.18006a60
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
add esi, 4
sub eax, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
jne 0x18013687
xor esi, esi
lea ecx, [edi - 0x10]
call fcn.18006a60
mov eax, esi
mov ecx, dword [esp + 0x106c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.180b1200
mov esp, ebp
pop ebp
ret