Function at 0x101cc4c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov esi, dword [0x1044eff8]
mov eax, dword [esi]
test eax, eax
jne 0x101cc4e4
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101cc715
mov dword [esi], eax
push 0x4000
push 8
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101cc715
mov edi, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x1000
mov dword [ebp - 0x40], 0x1000
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x4000
push edi
call sub.psapi.dll_EnumProcesses
test eax, eax
mov dword [ebp - 0x10], edi
je 0x101cc5b0
mov edi, dword [0x1044f00c]
movzx eax, byte [edi]
mov eax, dword [esi]
test eax, eax
jne 0x101cc54b
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101cc726
mov dword [esi], eax
push 0x4000
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101cc726
mov ebx, eax
push 0x4000
push dword [ebp - 0x10]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x1000
mov dword [ebp - 0x24], 0x1000
mov eax, esi
shr eax, 2
cmp esi, 0x4004
jae 0x101cc737
cmp esi, 4
mov dword [ebp - 0x30], eax
jae 0x101cc65c
mov edi, 4
xor esi, esi
jmp 0x101cc695
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], 0x10442994
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x1002e030
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x54]
push ecx
push eax
call fcn.1001b0a0
add esp, 8
mov eax, dword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x54]
mov ecx, esi
mov esi, dword [0x1044f00c]
mov edi, ecx
mov dword [ebp - 0x24], eax
movsd qword [ebp - 0x2c], xmm0
movzx eax, byte [esi]
mov eax, dword [ecx]
test eax, eax
jne 0x101cc629
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101cc74c
mov dword [edi], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101cc74c
mov ebx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x2c]
movsd qword [ebx], xmm0
movzx eax, byte [esi]
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x101cc6c2
mov edi, dword [ebp + 8]
jmp 0x101cc6d4
movzx eax, byte [edi]
mov eax, dword [0x1044eff8]
and esi, 0xfffffffc
mov eax, dword [eax]
test eax, eax
jne 0x101cc682
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101cc768
mov ecx, dword [0x1044eff8]
mov dword [ecx], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101cc768
mov edi, eax
push esi
push ebx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov edi, eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push ebx
push 0
mov esi, dword [0x1044eff8]
push dword [esi]
call sub.KERNEL32.dll_HeapFree
jmp 0x101cc6ff
call sub.KERNEL32.dll_GetProcessHeap
mov edi, dword [ebp + 8]
test eax, eax
je 0x101cc75a
mov dword [esi], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101cc75a
mov dword [eax], ebx
mov dword [eax + 4], 0x1043ef0c
mov byte [eax + 8], 0x27
mov dword [edi + 8], eax
mov dword [edi + 4], 3
mov dword [edi], 0
push dword [ebp - 0x10]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov eax, edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4000
push 4
call fcn.1001ac80
add esp, 8
ud2
push 0x4000
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101cc773
push 0x104429d0
push 0x1000
push eax
call fcn.1002ac30
add esp, 0xc
jmp 0x101cc773
push 0xc
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101cc773
push 0xc
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101cc773
push esi
push 4
call fcn.1001ac80
add esp, 8
ud2