Function at 0x100f94b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1240
call fcn.10451050
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov byte [ebp - 0x1235], 0
je 0x100f95b7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100f9629
lea eax, [ebp - 0x123c]
push eax
push 0x1000
lea eax, [ebp - 0x100c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x100f95ab
mov eax, dword [ebp - 0x123c]
mov ecx, 0x400
cmp eax, ecx
cmova eax, ecx
xor esi, esi
mov dword [ebp - 0x123c], eax
test eax, 0xfffffffc
jbe 0x100f95ab
nop dword [eax]
push 0x104
lea eax, [ebp - 0x1114]
push eax
push dword [ebp + esi*4 - 0x100c]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x100f958a
push ebx
call fcn.1043a9cb
add esp, 4
lea eax, [ebp - 0x1114]
push eax
call fcn.1043a9cb
add esp, 4
lea eax, [ebp - 0x1114]
push ebx
push eax
call fcn.10425570
add esp, 8
test eax, eax
jne 0x100f95a4
mov eax, dword [ebp - 0x123c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x100f9540
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100f974f
mov byte [ebp - 0x1235], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100f974f
cmp byte [ebp + 0xc], 0
je 0x100f965a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100f9629
lea eax, [ebp - 0x1234]
mov dword [ebp - 0x1234], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x100f9622
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
nop dword [eax]
lea eax, [ebp - 0x1214]
push ebx
push eax
call fcn.1043ab70
add esp, 8
test eax, eax
je 0x100f963e
lea eax, [ebp - 0x1234]
push eax
push esi
call edi
test eax, eax
jne 0x100f9600
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc
push 0x105
call fcn.10450898
mov edi, eax
add esp, 4
mov dword [ebp - 0x123c], edi
test edi, edi
je 0x100f974f
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push edi
call fcn.10425990
mov esi, eax
push 3
push 0x1046c210
push ebx
mov byte [esi], 0
call fcn.1043a494
add esp, 0x14
test eax, eax
jne 0x100f96df
nop dword [eax]
push 0x5c
push edi
add ebx, 3
call fcn.10425990
mov esi, eax
add esp, 8
test esi, esi
je 0x100f9768
push 3
push 0x1046c210
push ebx
mov byte [esi], 0
call fcn.1043a494
add esp, 0xc
test eax, eax
je 0x100f96b0
mov byte [esi], 0x5c
sub esi, ebx
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [esi + ebx], al
test al, al
jne 0x100f96e4
push 0x2f
push edi
call fcn.104257e0
add esp, 8
test eax, eax
je 0x100f9712
nop
push 0x2f
push edi
mov byte [eax], 0x5c
call fcn.104257e0
add esp, 8
test eax, eax
jne 0x100f9700
lea eax, [ebp - 0x1154]
mov byte [ebp - 0x1235], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x100f9746
mov esi, dword [ebp - 0x1154]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, 0x10
sete byte [ebp - 0x1235]
push edi
call fcn.10450877
add esp, 4
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x1235]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x100f9770
mov ax, word [0x10468d10]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100f9785
mov edi, dword [ebp - 0x123c]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100f9795
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x123c]
jmp 0x100f96f0