Function at 0x436103
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2450
call fcn.004703d0
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x144c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0xffc
mov dword [ebp - 0x1450], eax
lea eax, [ebp - 0x1410]
push ebx
push eax
mov dword [ebp - 0x1414], ebx
call fcn.0046e0e0
add esp, 0xc
lea eax, [ebp - 0x1444]
push eax
push 0x1000
lea eax, [ebp - 0x1414]
push eax
mov dword [ebp - 0x1444], ebx
call sub.PSAPI.DLL_EnumProcesses
mov edi, dword [ebp - 0x1444]
shr edi, 2
mov dword [ebp - 0x1438], ebx
mov dword [ebp - 0x143c], ebx
cmp edi, ebx
jbe 0x436364
cmp dword [ebp - 0x1438], ebx
je 0x43619b
push dword [ebp - 0x1438]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x143c]
push dword [ebp + eax*4 - 0x1414]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1438], eax
cmp eax, ebx
je 0x43633e
xor eax, eax
push 0x206
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.0046e0e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x1438]
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
cmp esi, ebx
je 0x43633e
push esi
push 0x4900d4
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x436233
push esi
push 0x490118
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43633e
push 0xffc
lea eax, [ebp - 0x244c]
push ebx
push eax
mov dword [ebp - 0x1448], ebx
mov dword [ebp - 0x2450], ebx
call fcn.0046e0e0
add esp, 0xc
lea eax, [ebp - 0x1448]
push eax
push 0x400
lea eax, [ebp - 0x2450]
push eax
push dword [ebp - 0x1438]
call sub.PSAPI.DLL_EnumProcessModules
mov esi, dword [ebp - 0x1448]
shr esi, 2
mov dword [ebp - 0x1440], ebx
cmp esi, ebx
jbe 0x43633e
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0046e0e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x1440]
push dword [ebp + eax*4 - 0x2450]
push dword [ebp - 0x1438]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x43632c
xor eax, eax
mov word [ebp - 0x1430], ax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x1430]
mov dword [ebp - 0x141c], 7
mov dword [ebp - 0x1420], ebx
call fcn.00401fb0
push ebx
push dword [ebp - 0x144c]
lea eax, [ebp - 0x1430]
push eax
call fcn.004120c0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x1430]
mov byte [ebp - 0x1431], al
call fcn.00402b70
cmp byte [ebp - 0x1431], bl
jne 0x436375
inc dword [ebp - 0x1440]
cmp dword [ebp - 0x1440], esi
jb 0x436289
inc dword [ebp - 0x143c]
cmp dword [ebp - 0x143c], edi
jb 0x436187
cmp dword [ebp - 0x1438], ebx
je 0x436364
push dword [ebp - 0x1438]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret
xor eax, eax
mov word [ebp - 0x1430], ax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x1430]
mov dword [ebp - 0x141c], 7
mov dword [ebp - 0x1420], ebx
call fcn.00401fb0
push dword [ebp - 0x1450]
lea eax, [ebp - 0x1430]
push eax
call fcn.0042e13c
pop ecx
pop ecx
push dword [ebp - 0x1438]
mov byte [ebp - 0x1431], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x1430]
call fcn.00402b70
xor eax, eax
cmp byte [ebp - 0x1431], bl
setne al
jmp 0x436366