Function at 0x41cd90
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e150
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x4b3100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4ec], edi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
xor ebx, ebx
mov esi, eax
cmp dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [ebp - 0x4e8], ebx
jbe 0x41cdeb
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0xc
push str.Process_Info
call fcn.0044d8d0
add esp, 8
test al, al
jne 0x41d18a
push esi
push 8
mov dword [ebp - 0x4e0], 0x428
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x4e0]
push eax
push esi
mov dword [ebp - 0x4f4], esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x41cfdd
nop word [eax + eax]
mov edi, dword [ebp - 0x4c8]
xor eax, eax
mov ebx, dword [ebp - 0x4cc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
test edi, edi
je 0x41ce9d
cmp edi, 0x7fffffff
ja 0x41d1b6
push edi
lea ecx, [ebp - 0x1c]
call fcn.004444b0
mov eax, dword [ebp - 0x1c]
push edi
push 0
push eax
lea esi, [eax + edi]
call fcn.00463f40
add esp, 0xc
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0
call fcn.00424fe0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push ecx
push edi
push eax
push ebx
push dword [ebp - 0x4f8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x4ec]
mov dword [ebp - 0x500], edx
test eax, eax
je 0x41cf75
mov ecx, dword [edi + 0x24]
mov esi, edx
mov eax, dword [edi + 0x28]
sub esi, ebx
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4e4], ecx
mov dword [ebp - 0x4fc], esi
sub eax, ecx
lea edx, [esi + ebx]
mov esi, ecx
sub eax, 4
jb 0x41cf04
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x41cf09
add edx, 4
add esi, 4
sub eax, 4
jae 0x41cef3
cmp eax, 0xfffffffc
je 0x41cf36
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x41cf3f
cmp eax, 0xfffffffd
je 0x41cf36
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x41cf3f
cmp eax, 0xfffffffe
je 0x41cf36
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x41cf3f
cmp eax, 0xffffffff
je 0x41cf36
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
jne 0x41cf3f
inc dword [ebp - 0x4e8]
mov dword [edi + 0x30], ebx
mov ecx, dword [ebp - 0x4e4]
inc ebx
mov edx, dword [ebp - 0x4f0]
mov eax, dword [edi + 0x28]
inc edx
mov esi, dword [ebp - 0x4fc]
sub ecx, eax
add ecx, dword [ebp - 0x20]
cmp edx, ecx
mov dword [ebp - 0x4f0], edx
mov ecx, dword [ebp - 0x4e4]
jbe 0x41cee7
mov edx, dword [ebp - 0x500]
test edx, edx
je 0x41cfbb
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x41cf9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d1b1
push ecx
push edx
call fcn.00460ed3
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x4f4]
lea eax, [ebp - 0x4e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x41ce40
mov ebx, dword [ebp - 0x4e8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 1
jbe 0x41d18e
push 0x98
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.00463f40
add esp, 8
lea ecx, [ebp - 0xb8]
call fcn.0042f200
mov edx, str.Repeated_bytes:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00438260
mov esi, dword [ebp - 0x4ec]
mov edi, dword [edi + 0x28]
mov esi, dword [esi + 0x24]
cmp esi, edi
je 0x41d07f
nop word [eax + eax]
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xa4]
mov dl, byte [esi]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xb8]
movzx eax, dl
push eax
call fcn.0042f4b0
mov edx, 0x4a4d88
mov ecx, eax
call fcn.00438260
inc esi
cmp esi, edi
jne 0x41d040
mov edx, str._nOccurrences:
lea ecx, [ebp - 0xb8]
call fcn.00438260
push ebx
mov ecx, eax
call fcn.0042f300
mov edx, str._nPlease_make_your_bytes_unique.
lea ecx, [ebp - 0xb8]
call fcn.00438260
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00434050
cmp dword [ebp - 0x504], 0xf
lea eax, [ebp - 0x518]
push 0x30
cmova eax, dword [ebp - 0x518]
push str.Warning
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x504]
cmp ecx, 0xf
jbe 0x41d117
mov edx, dword [ebp - 0x518]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d10d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d1b1
push ecx
push edx
call fcn.00460ed3
add esp, 8
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xbc], eax
lea ecx, [ebp - 0xb4]
call fcn.0042ee40
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xbc], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x68], vtable.std::ios_base.0
call fcn.0045f188
add esp, 4
xor al, al
jmp 0x41d193
test ebx, ebx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460925
mov esp, ebp
pop ebp
ret 8
call fcn.00474a77
call fcn.0042e6e0
int3