Function at 0x404020
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x436e70
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x553e4d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x589780]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x40c]
push 0x200
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], eax
call fcn.00403972
mov ebx, eax
mov dword [ebp - 0x20], ebx
lea esi, [ebx + 0x200]
push esi
push ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
call fcn.00405e1b
mov edi, esi
add esp, 0xc
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
nop word [eax + eax]
mov esi, edi
mov dword [ebp - 0x24], 0
sub esi, ebx
lea ecx, [ebp - 0x24]
sar esi, 2
push ecx
lea eax, [esi*4]
push eax
push ebx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x436fd4
mov eax, dword [ebp - 0x24]
lea ecx, [esi*4]
cmp eax, ecx
jb 0x436f79
shr eax, 2
add eax, eax
cmp eax, esi
jae 0x436f37
lea edi, [ebx + eax*4]
mov dword [ebp - 0x1c], edi
jmp 0x436ef0
jbe 0x436ef0
mov ecx, dword [ebp - 0x14]
sub ecx, ebx
sar ecx, 2
cmp eax, ecx
jbe 0x436f60
lea ecx, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c27f
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
jmp 0x436ef0
sub eax, esi
lea esi, [edi + eax*4]
push esi
push edi
call fcn.00405e1b
mov edi, esi
add esp, 8
mov dword [ebp - 0x1c], edi
jmp 0x436ef0
shr eax, 2
cmp eax, esi
jae 0x436f85
lea edi, [ebx + eax*4]
jmp 0x436fbf
jbe 0x436fbf
mov ecx, dword [ebp - 0x14]
sub ecx, ebx
sar ecx, 2
cmp eax, ecx
jbe 0x436fae
lea ecx, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c27f
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x20]
jmp 0x436fbf
sub eax, esi
lea esi, [edi + eax*4]
push esi
push edi
call fcn.00405e1b
add esp, 8
mov edi, esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, ecx
mov dword [ecx], ebx
mov dword [ecx + 4], edi
jmp 0x437062
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0xed
push str.C:projectsentryprotect_submodules_build_environmentinclude_sentrybay_process.h
lea eax, [ebp]
push str._s__d_:___u__u__error_u__SB__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp]
push eax
call fcn.0040946c
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x28]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test ebx, ebx
je 0x437060
mov ecx, dword [ebp - 0x14]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x437056
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437085
push ecx
push ebx
call fcn.0040246e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.0040512d
lea esp, [ebp + 0x404]
pop ebp
ret
call fcn.00408139
int3