Function at 0x4035d0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x45d863
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x1c], eax
push ecx
xor esi, esi
push 8
mov dword [esp + 0x280], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
jne 0x403653
cmp dword [esp + 0x298], 0x10
jb 0x40364c
mov edx, dword [esp + 0x284]
push edx
call fcn.00445523
add esp, 4
xor eax, eax
jmp 0x403890
lea eax, [esp + 0x44]
push eax
push edi
mov dword [esp + 0x4c], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x403692
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x298], 0x10
jb 0x40364c
mov ecx, dword [esp + 0x284]
push ecx
call fcn.00445523
add esp, 4
xor eax, eax
jmp 0x403890
mov dword [esp + 0x18], esi
jmp 0x4036a0
lea eax, [esp + 0x164]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
lea edx, [eax + 1]
jmp 0x4036c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4036c0
sub eax, edx
push eax
lea edx, [esp + 0x168]
push edx
lea ecx, [esp + 0x30]
call fcn.004017b0
mov byte [esp + 0x278], 1
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x403828
mov ebx, ecx
cmp ecx, esi
je 0x40371e
mov eax, ecx
cmp edx, 0x10
jae 0x403705
lea eax, [esp + 0x2c]
cmp eax, ebx
ja 0x40371e
mov eax, ecx
cmp edx, 0x10
jae 0x403714
lea eax, [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
add eax, ebp
cmp ebx, eax
jbe 0x40372f
call fcn.00446719
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov eax, ecx
cmp edx, 0x10
jae 0x40373a
lea eax, [esp + 0x2c]
lea edi, [eax + ebp]
cmp edi, esi
je 0x403761
mov eax, ecx
cmp edx, 0x10
jae 0x40374c
lea eax, [esp + 0x2c]
cmp eax, edi
ja 0x403761
mov eax, ecx
cmp edx, 0x10
jae 0x40375b
lea eax, [esp + 0x2c]
add eax, ebp
cmp edi, eax
jbe 0x403772
call fcn.00446719
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x403831
mov esi, ecx
test ecx, ecx
je 0x4037a1
mov eax, ecx
cmp edx, 0x10
jae 0x40378c
lea eax, [esp + 0x2c]
cmp eax, esi
ja 0x4037a1
mov eax, ecx
cmp edx, 0x10
jae 0x40379b
lea eax, [esp + 0x2c]
add eax, ebp
cmp esi, eax
jbe 0x4037a6
call fcn.00446719
push ebx
lea eax, [esp + 0x2c]
push eax
push edi
push eax
push esi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00403ce0
mov eax, dword [esp + 0x2a0]
mov esi, 0x10
add esp, 0x1c
cmp dword [esp + 0x298], esi
jae 0x4037d9
lea eax, [esp + 0x284]
mov ecx, dword [esp + 0x294]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
xor eax, eax
call fcn.00403c10
cmp eax, 0xffffffff
jne 0x40383a
mov byte [esp + 0x278], 0
cmp dword [esp + 0x40], esi
jb 0x40380e
mov eax, dword [esp + 0x2c]
push eax
call fcn.00445523
add esp, 4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x403866
xor esi, esi
jmp 0x4036a0
lea ebx, [esp + 0x2c]
jmp 0x4036fa
lea esi, [esp + 0x2c]
jmp 0x403781
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30]
push eax
call fcn.004016d0
mov edi, 1
cmp dword [esp + 0x40], esi
jb 0x40386a
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00445523
add esp, 4
jmp 0x40386a
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x298], esi
jb 0x40388e
mov eax, dword [esp + 0x284]
push eax
call fcn.00445523
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004453f2
add esp, 0x268
ret