Function at 0x48fa90
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9ac
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
call fcn.004c6b20
push 0xffffffffffffffff
lea eax, [edi + 0x420c]
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.004c6b30
mov dword [ebp - 0x20], ebx
call fcn.004c6070
mov byte [ebp - 0xd], al
lea esi, [ebx + 1]
cmp dword [edi + 0x4950], ebx
je 0x48faf6
cmp dword [edi + 0x42b4], ebx
jne 0x48faf6
mov dword [ebp - 0x20], esi
push 0x9c
lea eax, [ebp - 0xcc]
push ebx
push eax
mov dword [ebp - 0xd0], ebx
call fcn.004c9b50
mov eax, 0x28
add esp, 0xc
cmp dword [ebp + 0xc], eax
jbe 0x48fb1e
mov dword [ebp + 0xc], eax
cmp dword [edi + 0x950], ebx
je 0x48fb3f
cmp dword [edi + 0x94c], ebx
jne 0x48fb3f
cmp dword [ebp + 0xc], esi
seta cl
movzx edx, cl
push edx
mov ecx, edi
call fcn.0048da00
mov esi, dword [edi + 0x94c]
cmp esi, ebx
je 0x48fb8e
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, 1
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], esi
mov edx, 2
cmp dword [ebp + 0xc], ecx
jbe 0x48fb89
lea esp, [esp]
mov eax, dword [ebx + ecx*4]
test eax, eax
je 0x48fb83
cmp eax, esi
je 0x48fb83
mov dword [ebp + edx*4 - 0xd0], eax
inc edx
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x48fb70
mov dword [ebp + 0xc], edx
jmp 0x48fbac
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx*4]
push edx
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.004c9f70
add esp, 0xc
xor edx, edx
mov dword [ebp + 8], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
cmp dword [ebp + 0xc], edx
jbe 0x48fbf2
lea ebx, [edi + 0x44c4]
mov esi, dword [ebp + edx*4 - 0xd0]
xor eax, eax
mov ecx, ebx
lea ecx, [ecx]
cmp dword [ecx], esi
je 0x48fbe1
inc eax
add ecx, 4
cmp eax, 0x80
jb 0x48fbd0
jmp 0x48fbec
mov dword [ebp + edx*4 - 0xd0], 0
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x48fbc2
mov ebx, dword [ebp + 0xc]
xor esi, esi
cmp dword [edi + 0x44bc], esi
jbe 0x48fc31
lea edx, [edi + 0x42bc]
mov ecx, dword [edx]
test ecx, ecx
je 0x48fc25
xor eax, eax
test ebx, ebx
jbe 0x48fc1f
cmp dword [ebp + eax*4 - 0xd0], ecx
je 0x48fc25
inc eax
cmp eax, ebx
jb 0x48fc11
mov dword [edx], 0
inc esi
add edx, 4
cmp esi, dword [edi + 0x44bc]
jb 0x48fc05
mov ecx, dword [edi + 0x42a4]
xor eax, eax
test ecx, ecx
jle 0x48fc5a
xor ecx, ecx
nop
mov edx, dword [edi + 0x42b0]
mov byte [edx + ecx + 0x12], 0
inc eax
add ecx, 0x94
cmp eax, dword [edi + 0x42a4]
jl 0x48fc40
cmp dword [edi + 0x42a4], 0
mov dword [ebp - 0x14], 0
jle 0x48fcba
xor esi, esi
lea esp, [esp]
mov ecx, dword [edi + 0x42b0]
add ecx, esi
xor eax, eax
test ebx, ebx
jbe 0x48fca5
mov edi, edi
mov edx, dword [ebp + eax*4 - 0xd0]
test edx, edx
je 0x48fc8f
cmp edx, dword [ecx]
je 0x48fc96
inc eax
cmp eax, ebx
jb 0x48fc80
jmp 0x48fca5
mov byte [ecx + 0x12], 1
mov dword [ebp + eax*4 - 0xd0], 0
mov eax, dword [ebp - 0x14]
inc eax
add esi, 0x94
cmp eax, dword [edi + 0x42a4]
mov dword [ebp - 0x14], eax
jl 0x48fc70
xor eax, eax
test ebx, ebx
jbe 0x48fcd8
cmp dword [ebp + eax*4 - 0xd0], 0
jne 0x48fcd1
inc eax
cmp eax, ebx
jb 0x48fcc0
jmp 0x48fcd8
mov dword [ebp - 0x1c], 1
xor eax, eax
cmp dword [edi + 0x42a4], eax
jle 0x48fd0d
mov ecx, dword [edi + 0x42b0]
add ecx, 0x12
jmp 0x48fcf0
cmp byte [ecx], 0
je 0x48fd06
inc eax
add ecx, 0x94
cmp eax, dword [edi + 0x42a4]
jl 0x48fcf0
jmp 0x48fd0d
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x1c], 0
jne 0x48fd1d
cmp dword [ebp - 0x18], 0
je 0x49004b
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
jne 0x48fd65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x590]
push str.Cant_create_process_snapshoot__ErrCode0x_08X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea ecx, [ebp - 0x590]
push ecx
mov ecx, dword [0x52fe2c]
call fcn.0041a5b0
jmp 0x49004b
xor eax, eax
cmp dword [edi + 0x42a4], eax
jle 0x48fd8b
xor ecx, ecx
mov edx, dword [edi + 0x42b0]
mov byte [ecx + edx + 0x11], 0
inc eax
add ecx, 0x94
cmp eax, dword [edi + 0x42a4]
jl 0x48fd71
push 0x22c
lea eax, [ebp - 0x390]
push 0
push eax
call fcn.004c9b50
push 0x200
lea ecx, [ebp - 0x590]
push 0
push ecx
mov dword [ebp - 0x390], 0x22c
call fcn.004c9b50
add esp, 0x18
lea edx, [ebp - 0x390]
push edx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x490040
jmp 0x48fde0
mov edx, dword [ebp - 0x388]
xor eax, eax
lea ecx, [edi + 0x44c4]
mov edi, edi
cmp dword [ecx], edx
je 0x48fed6
inc eax
add ecx, 4
cmp eax, 0x80
jb 0x48fdf0
test edx, edx
je 0x490002
cmp dword [ebp - 0x1c], 0
je 0x48ff9f
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jbe 0x48ff9f
mov esi, dword [ebp + ebx*4 - 0xd0]
test esi, esi
je 0x48ff8f
cmp esi, edx
jne 0x48ff8f
cmp dword [ebp + 8], 0
jne 0x48fe44
mov dword [ebp + 8], 1
push 0x94
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.004c9b50
mov ecx, dword [ebp - 0x378]
add esp, 0xc
lea edx, [ebp - 0x36c]
push edx
lea eax, [ebp - 0x164]
mov dword [ebp - 0x160], ecx
push eax
mov ecx, edi
mov dword [ebp - 0x164], esi
call fcn.004871b0
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x153], 1
mov byte [ebp - 0x152], 1
je 0x48ff32
push 0x424
lea ecx, [ebp - 0x9b4]
push 0
push ecx
mov dword [ebp - 0x9b8], 0x428
call fcn.004c9b50
mov edx, dword [ebp - 0x164]
add esp, 0xc
push edx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x48fee6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x48ff32
mov dword [ebp + eax*4 - 0x590], 1
jmp 0x490002
lea eax, [ebp - 0x9b8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x48ff27
jmp 0x48ff00
push str.wow64.dll
lea ecx, [ebp - 0x998]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x48ff27
lea edx, [ebp - 0x9b8]
push edx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x48ff00
test esi, esi
je 0x48ff32
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
lea ecx, [ebp - 0x2c]
call fcn.004c7610
cmp dword [edi + 0x42a0], 0
lea esi, [edi + 0x42a0]
je 0x48ff8f
mov eax, dword [esi + 8]
cmp eax, dword [esi + 4]
jg 0x48ff6a
cmp eax, 0x100
jge 0x48ff62
mov eax, 0x100
push eax
mov ecx, esi
call fcn.00445bd0
mov eax, dword [esi + 4]
mov edx, dword [esi]
lea ecx, [eax + 1]
imul eax, eax, 0x94
add eax, dword [esi + 0x10]
mov dword [esi + 4], ecx
push edx
lea ecx, [ebp - 0x164]
push ecx
push eax
call fcn.004c9f70
add esp, 0xc
mov edx, dword [ebp - 0x388]
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x48fe20
xor ebx, ebx
cmp dword [edi + 0x42a4], ebx
jle 0x490002
mov dword [ebp - 0x14], ebx
jmp 0x48ffb6
mov edx, dword [ebp - 0x388]
mov esi, dword [edi + 0x42b0]
add esi, dword [ebp - 0x14]
cmp dword [esi], edx
jne 0x48fff2
cmp byte [esi + 0xf], 0
mov byte [esi + 0x11], 1
jne 0x48fff2
cmp dword [ebp + 8], 0
jne 0x48ffda
mov dword [ebp + 8], 1
lea edx, [ebp - 0x36c]
push edx
push esi
mov ecx, edi
call fcn.004871b0
mov eax, dword [ebp - 0x378]
mov dword [esi + 4], eax
add dword [ebp - 0x14], 0x94
inc ebx
cmp ebx, dword [edi + 0x42a4]
jl 0x48ffb0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x390]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48fde0
lea ecx, [edi + 0x44c4]
cmp dword [ecx], 0
je 0x490035
cmp dword [ebp + eax*4 - 0x590], 0
jne 0x490035
mov dword [ecx], 0
inc eax
add ecx, 4
cmp eax, 0x80
jb 0x490020
test esi, esi
je 0x49004b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [edi + 0x42a4], esi
jle 0x490101
xor ebx, ebx
jmp 0x490060
mov eax, dword [edi + 0x42b0]
add eax, ebx
cmp byte [eax + 0x11], 0
je 0x49007d
cmp byte [eax + 0x12], 0
je 0x49007d
inc esi
add ebx, 0x94
jmp 0x4900f5
cmp dword [ebp + 8], 0
jne 0x49008a
mov dword [ebp + 8], 1
push 0x12c
lea ecx, [ebp - 0x2c]
call fcn.004c7610
mov eax, dword [edi + 0x42a4]
lea edx, [esi + 1]
cmp edx, eax
jge 0x4900ef
mov ecx, dword [edi + 0x42b0]
sub eax, esi
dec eax
imul eax, dword [edi + 0x42a0]
add ecx, ebx
push eax
lea edx, [ecx + 0x94]
push edx
push ecx
call fcn.004c9f70
mov ecx, dword [edi + 0x42a4]
mov eax, dword [edi + 0x42a0]
imul ecx, ecx, 0x94
mov edx, dword [edi + 0x42b0]
push eax
lea eax, [ecx + edx - 0x94]
push 0
push eax
call fcn.004c9b50
add esp, 0x18
dec dword [edi + 0x42a4]
cmp esi, dword [edi + 0x42a4]
jl 0x490060
push 1
lea ecx, [ebp - 0x2c]
call fcn.004c6bc0
test eax, eax
je 0x49012a
lea ecx, [ebp - 0x2c]
call fcn.004c6b90
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x420c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004c6b30
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.0048f870
mov esi, 1
test eax, eax
jne 0x490141
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0
je 0x490151
mov dword [edi + 0x4950], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004c75e0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8