Function at 0x447700
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4814a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ac084]
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
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov edi, 0x400
mov edx, 4
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459284
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
push eax
push 0x1000
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov ecx, eax
test ecx, ecx
je 0x447946
mov esi, 0x1000
mov eax, dword [ebp - 0x18]
cmp eax, esi
jne 0x4477c3
push ebx
add edi, edi
call fcn.00458d52
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459284
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, eax
lea esi, [edi*4]
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov ecx, eax
test ecx, ecx
jne 0x447776
jmp 0x447946
test ecx, ecx
je 0x447946
shr eax, 2
xor ebx, ebx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x447943
nop dword [eax + eax]
mov eax, dword [ebp - 0x1c]
push dword [eax + ebx*4]
push 0
push 0x100410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x447939
call fcn.00403450
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x447977
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x44784c
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00403880
mov esi, dword [ebp - 0x14]
push 0x104
push esi
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov edi, eax
test edi, edi
je 0x447901
cmp edi, 0xffffffff
jne 0x447876
push dword [esi - 8]
push esi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x44796d
cmp eax, dword [esi - 8]
jg 0x44796d
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
js 0x44796d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4478b5
push edi
lea ecx, [ebp - 0x14]
call fcn.00403880
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push dword [esi - 8]
push esi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x44796d
cmp eax, dword [esi - 8]
jg 0x44796d
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
push str.msiexec.exe
mov word [esi + eax*2], cx
call fcn.0045ea88
add esp, 8
test eax, eax
jne 0x44791a
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x44791a
cmp dword [esi - 8], 0x104
jl 0x44796d
xor eax, eax
mov dword [esi - 0xc], 0x104
mov word [esi + 0x208], ax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x447939
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, dword [ebp - 0x24]
jb 0x4477e0
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.00458d52
add esp, 4
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.00458d41
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004039a0
push 0x80004005
call fcn.004039a0
int3