Function at 0x428780
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4631a5
push eax
mov eax, 0x1230
mov dword fs:[0], esp
call fcn.00454ff0
mov eax, dword [0x46f42c]
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x124c]
mov dword [esp + 0x1240], 1
push ecx
push ebp
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x24], esi
je 0x428a7c
push ebx
lea edx, [esp + 0x30]
push edi
push edx
lea eax, [esp + 0x244]
push 0x1000
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x428a6f
mov edx, dword [esp + 0x240]
lea ecx, [esp + 0x38]
push 0x208
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [esp + 0x38]
test eax, eax
jne 0x428827
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x428836
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x38]
push ecx
call ebx
mov ebp, eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 1
jg 0x428845
cmp ebp, dword [edi - 4]
jle 0x428860
lea ecx, [esp + 0x10]
call fcn.004083e0
push ebp
lea ecx, [esp + 0x14]
call fcn.00408040
test eax, eax
je 0x428891
mov edi, dword [esp + 0x10]
lea eax, [ebp + ebp]
lea edx, [ebp + ebp + 2]
cmp edx, eax
jb 0x428884
mov ecx, eax
lea esi, [esp + 0x38]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov dword [edi - 8], ebp
mov ecx, dword [esp + 0x10]
mov word [eax + ecx], 0
mov edx, 0x46fccc
test edx, edx
je 0x428a6f
push edx
call ebx
mov ebp, eax
test ebp, ebp
je 0x428a6f
mov eax, 0x47a15c
test eax, eax
jne 0x4288ba
mov dword [esp + 0x14], eax
jmp 0x4288c5
push 0x47a15c
call ebx
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov ecx, dword [esi - 8]
lea ebx, [esi + ecx*2]
cmp esi, ebx
jae 0x428a6f
push 0x46fccc
push esi
call fcn.004553c2
add esp, 8
test eax, eax
je 0x428901
lea esi, [eax + ebp*2]
push 0x46fccc
push esi
inc edi
call fcn.004553c2
add esp, 8
test eax, eax
jne 0x4288eb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp esi, ebx
jb 0x4288d9
test edi, edi
jle 0x428a6f
lea ecx, [esp + 0x10]
call fcn.00408290
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub ebx, ebp
imul ebx, edi
mov ecx, dword [eax - 8]
mov dword [esp + 0x18], ecx
add ebx, ecx
mov ecx, dword [eax - 4]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
jl 0x428948
cmp dword [eax - 0xc], 1
jle 0x428990
lea edi, [eax - 0xc]
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
mov esi, eax
call fcn.00408040
test eax, eax
je 0x428a6f
mov ecx, dword [edi + 4]
lea edx, [ebx + ebx + 2]
shl ecx, 1
cmp edx, ecx
jb 0x428986
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
push edi
call fcn.00408420
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov edi, eax
lea ecx, [eax + ecx*2]
cmp eax, ecx
mov dword [esp + 0x30], ecx
jae 0x428a6c
push 0x46fccc
push edi
call fcn.004553c2
mov esi, eax
add esp, 8
test esi, esi
je 0x428a51
mov eax, dword [esp + 0x14]
mov edx, eax
neg edx
shl edx, 0x1f
sub edx, eax
inc edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, esi
mov edi, dword [edx - 4]
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
sub ecx, eax
sub edi, eax
mov eax, dword [esp + 0x14]
sub ecx, ebp
add edx, edi
add eax, eax
lea ebx, [ecx + ecx]
lea ecx, [esi + ebp*2]
push ebx
add eax, esi
shl edx, 1
push ecx
push edx
push eax
mov dword [esp + 0x38], eax
call fcn.00407090
mov eax, dword [esp + 0x24]
lea ecx, [edi + edi + 2]
add eax, eax
push eax
push 0x47a15c
push ecx
push esi
call fcn.00407060
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
sub edx, ebp
push 0x46fccc
mov word [ebx + edi], 0
mov ebx, dword [esp + 0x3c]
add ebx, edx
push edi
mov dword [esp + 0x40], ebx
call fcn.004553c2
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x4289ce
mov ebx, dword [esp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x30]
cmp edi, eax
jb 0x4289a4
mov eax, dword [esp + 0x10]
mov dword [eax - 8], ebx
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x1248]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
test edx, edx
jl 0x428a9c
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x428aac
mov edx, dword [0x46f42c]
push ecx
mov ecx, esi
mov dword [esi], edx
call fcn.00407430
mov dword [esp + 0x1c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1240], 0
call fcn.00408010
mov ecx, dword [esp + 0x1238]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x123c
ret