Function at 0x489270
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bcd0c
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x6319d0]
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
mov dword [ebp - 0x370], ecx
call fcn.0046d4f0
test eax, eax
je 0x489324
push 0
push str.CSetupApp::DetermineISSrcDirPath_n
push 0x6b04d0
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x6b03d0], eax
mov eax, 0x6b04d0
mov dword [0x6b03d4], ecx
add esp, 0xc
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4892e0
mov edi, 0x6b03d0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4892f1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x6b03d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
push 0x124
lea edx, [ebp - 0x358]
push 0
push edx
mov dword [ebp - 0x35c], 0
call fcn.00599fb0
add esp, 0xc
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48935e
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x360], ebx
mov dword [ebp - 4], 0
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x489391
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 1
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4893c1
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x368], eax
push 0
push 2
mov byte [ebp - 4], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x378], esi
cmp esi, 0xffffffff
je 0x489708
lea ecx, [ebp - 0x35c]
push ecx
push esi
mov dword [ebp - 0x35c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x489701
lea eax, [ebp - 0x338]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x489420
sub eax, edx
push eax
lea edx, [ebp - 0x338]
push edx
lea ecx, [ebp - 0x360]
call fcn.004026b0
lea ecx, [ebp - 0x360]
call fcn.004027d0
mov ebx, dword [ebp - 0x360]
cmp dword [ebx - 0xc], 0
jl 0x4896ec
push str.SETUP.EXE
push ebx
call fcn.0059a963
add esp, 8
test eax, eax
je 0x4896ec
sub eax, ebx
cmp eax, 0xffffffff
je 0x4896ec
mov eax, dword [ebp - 0x354]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4896ec
lea ecx, [ebp - 0x234]
push ecx
push edi
mov dword [ebp - 0x234], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x4896ec
lea eax, [ebp - 0x214]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4894c0
sub eax, edx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x360]
call fcn.004026b0
mov ebx, dword [ebp - 0x360]
mov esi, dword [ebx - 0xc]
test esi, esi
js 0x48980f
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x489510
push esi
lea ecx, [ebp - 0x360]
call fcn.00402280
mov ebx, dword [ebp - 0x360]
lea eax, [esi + 1]
push eax
push ebx
call fcn.0059a1fe
add esp, 8
cmp eax, 0x50
ja case.0x48952d.0
movzx ecx, byte [eax + 0x489834]
jmp dword [ecx*4 + 0x489824]
cmp esi, dword [ebx - 8]
jg 0x48980f
mov dword [ebx - 0xc], esi
mov byte [esi + ebx], 0
cmp dword [ebx - 0xc], 0
jl 0x48967d
push str.SETUP.EXE
push ebx
call fcn.0059a963
add esp, 8
test eax, eax
je 0x48967d
sub eax, ebx
cmp eax, 0xffffffff
je 0x48967d
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x489578
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x360]
call fcn.004026b0
lea ecx, [ebp - 0x360]
call fcn.004027d0
mov ebx, dword [ebp - 0x360]
cmp dword [ebx - 0xc], 0
jl 0x48967d
push 0x5d8cb8
push ebx
call fcn.0059a963
add esp, 8
test eax, eax
je 0x48967d
sub eax, ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x48967d
push ebx
lea ecx, [ebp - 0x369]
call fcn.0042ed10
test eax, eax
je 0x48967d
push esi
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x360]
call fcn.004024f0
push eax
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 3
call fcn.00402af0
mov eax, dword [ebp - 0x374]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48962f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x370]
add ecx, 0xb6a4
push ecx
lea ecx, [ebp - 0x368]
call fcn.00402af0
lea ecx, [ebp - 0x368]
call fcn.004027d0
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x489694
mov esi, dword [ebp - 0x364]
cmp dword [esi - 0xc], 0
jl 0x489694
push eax
push esi
call fcn.0059a963
add esp, 8
test eax, eax
je 0x489694
sub eax, esi
cmp eax, 0xffffffff
je 0x489694
lea edx, [ebp - 0x234]
push edx
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x4894b0
jmp 0x4896df
mov ecx, dword [ebp - 0x370]
lea eax, [ebp - 0x364]
add ecx, 0xb6a0
push eax
call fcn.00402af0
call fcn.0046d4f0
test eax, eax
je 0x4896df
mov ecx, dword [ebp - 0x364]
push ecx
push str.Adding__s_n
push 0x6b02d0
call fcn.00599ee3
add esp, 0xc
push 0x6b02d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x378]
lea edx, [ebp - 0x35c]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x489410
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0046d4f0
test eax, eax
je 0x489784
push 0
push str.CSetupApp::DetermineISSrcDirPath_n
push 0x6b01d0
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x6b00d0], eax
mov eax, 0x6b01d0
add esp, 0xc
mov dword [0x6b00d4], ecx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x489742
mov edi, 0x6b00d0
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x489751
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6b00d0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov eax, dword [ebp - 0x368]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4897aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x364]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4897d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4897f3
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
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.00599ed4
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401b60
call fcn.004a6ea5
call fcn.004a6edd
nop
xor al, 0x95
dec eax
add byte [ecx], bl
cwde
dec eax
add byte [esi], bl
cwde
dec eax
add byte [esi], bl
cwde
dec eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3