Function at 0x100ed9fa
Capabilities:
Enumerate process modules

Disassembly:
push ebp
sub esp, 0x428
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x428], eax
push 0x40
mov eax, 0x101900d6
call fcn.10145d80
test byte [0x101f8444], 1
mov edi, ecx
jne 0x100edc9b
push 0x424
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x428
call fcn.10146c80
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
je 0x100edb35
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
jmp 0x100edb2d
lea eax, [ebp + 0x220]
xor edx, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100eda79
sub eax, esi
sar eax, 1
je 0x100edaad
inc word [ebp + edx*2 + 0x220]
lea eax, [ebp + 0x220]
inc edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100eda9b
sub eax, esi
sar eax, 1
cmp edx, eax
jb 0x100eda89
lea eax, [ebp + 0x220]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007b11
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10004076
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CharLowerW]
push 0
push str._ufodfou_
lea ecx, [ebp - 0x14]
call fcn.10003b43
test eax, eax
jle 0x100edb17
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
add ecx, eax
lea esi, [edi + 0x64]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 8]
push esi
mov dword [ebp - 0x40], ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100eb97f
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x4c]
push dword [ebp - 0x30]
mov ecx, esi
push eax
call fcn.100ed323
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x100eda6e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x20], eax
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
push dword [edi + 0xd4]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.1009a525
test eax, eax
je 0x100edc61
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x101c0c48
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x100edc61
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x100edc61
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x38]
push edx
push esi
jmp 0x100edc50
cmp dword [ebp - 0x3c], 0
jbe 0x100edc61
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
cmp eax, dword [edi + 0xd8]
jbe 0x100edc46
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
lea esi, [edi + 0x64]
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.100eb97f
jmp 0x100edc02
lea ecx, [ebp - 0x28]
call fcn.100eac12
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jb 0x100edbfa
lea ecx, [ebp - 0x28]
call fcn.100eac12
mov ecx, dword [ebx]
cmp ecx, dword [eax + 4]
jb 0x100edc21
lea ecx, [ebp - 0x28]
call fcn.100eaab7
mov eax, dword [esi + 8]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.100eb97f
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.100eaadb
test al, al
je 0x100edbdd
jmp 0x100edc46
lea esi, [edi + 0x74]
mov eax, dword [esi + 8]
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.100eb9af
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x4c]
push dword [ebp - 0x30]
mov ecx, esi
push eax
call fcn.100ed394
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x38]
push edx
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x100edba4
mov eax, dword [ebp - 0x10]
and dword [edi + 0x88], 0
test eax, eax
mov byte [ebp - 4], 2
je 0x100edc79
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
mov byte [ebp - 4], 1
je 0x100edc8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100edc9b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x428]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x42c
leave
ret