Function at 0x40c4f0
Capabilities:
Enumerate processes
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437f2b
mov eax, dword fs:[0]
push eax
add esp, 0xfffffc1c
mov eax, dword [0x441480]
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
push 1
call fcn.00422819
push 0x22
push eax
mov dword [ebp - 4], 0
call fcn.004228ad
mov edi, eax
mov ecx, str._CLIENT__n
add esp, 0xc
mov dword [ebp - 0x3f0], edi
sub ecx, edi
mov esi, 0x21
jmp 0x40c550
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x40c550
lea esi, [ebp - 0x150]
mov dword [ebp - 0x3ec], 0x21
mov byte [edi + 0x21], 0
call fcn.00405270
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
call fcn.004053d0
push str.USERNAME
mov dword [ebp - 0x3e8], eax
call fcn.00420d1e
lea ebx, [ebx]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c5a0
sub eax, edx
push str.USERDOMAIN
mov dword [ebp - 0x3e4], eax
call fcn.00420d1e
lea esi, [eax + 1]
add esp, 4
nop
mov cl, byte [eax]
inc eax
or cl, cl
jne 0x40c5c0
sub eax, esi
mov esi, eax
lea eax, [ebp - 0x150]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
or cl, cl
jne 0x40c5d4
sub eax, edx
push str.NUMBER_OF_PROCESSORS
mov ebx, eax
call fcn.00420d1e
sub esp, 0xfffffffc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
or cl, cl
jne 0x40c5f0
sub eax, edx
push str.PROCESSOR_ARCHITECTURE
mov edi, eax
call fcn.00420d1e
sub esp, 0xfffffffc
lea edx, [eax + 1]
jmp 0x40c610
mov cl, byte [eax]
inc eax
or cl, cl
jne 0x40c610
mov ecx, dword [ebp - 0x3e4]
sub eax, edx
add eax, edi
add eax, ebx
add eax, esi
lea edx, [eax + ecx + 0x80]
push edx
call fcn.0041ff97
sub esp, 0xfffffffc
cmp byte [0x444a85], 0
mov ebx, eax
jne 0x40c64c
call fcn.004060f0
mov byte [0x444a85], 1
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ebp - 0x188]
mov eax, dword [0x444b3c]
mov edi, dword [eax]
push ecx
shr edx, 0x14
push edx
push str.PROCESSOR_ARCHITECTURE
call fcn.00420d1e
add esp, 4
push eax
push str.NUMBER_OF_PROCESSORS
call fcn.00420d1e
add esp, 4
push eax
lea eax, [ebp - 0x150]
push eax
push str.USERDOMAIN
call fcn.00420d1e
sub esp, 0xfffffffc
push eax
push str.USERNAME
call fcn.00420d1e
add esp, 4
push eax
push edi
call fcn.00422fdf
fstp dword [ebp - 0x3e4]
fld dword [ebp - 0x3e4]
push ecx
fstp qword [esp]
push str.Version:__.1f_n_s__s_nOS:_t_s_nCPU:_t_s__s_processor_s__nRAM:_t_i_MB_nMAC:_t_s
push ebx
call fcn.00420bd5
mov eax, ebx
add esp, 0x2c
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c6d0
mov edx, dword [ebp - 0x3f0]
sub eax, esi
lea esi, [eax + 0x21]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.004228ad
add esp, 8
mov edi, 0x21
cmp esi, edi
jle 0x40c704
mov dl, byte [ebx + edi - 0x21]
mov byte [edi + eax], dl
inc edi
cmp edi, esi
jl 0x40c6f8
lea ecx, [esi + 3]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.004228ad
mov ebx, eax
sub esp, 0xfffffff8
lea edi, [esi + 2]
cmp esi, edi
jge 0x40c730
mov eax, 0x43e370
sub eax, esi
mov dl, byte [eax + esi]
mov byte [esi + ebx], dl
inc esi
cmp esi, edi
jl 0x40c725
mov eax, dword [ebp - 0x3e8]
push eax
mov byte [ebx + edi], 0
call fcn.00420c59
lea ecx, [edi + 0x22]
push ecx
push ebx
call fcn.004228ad
mov ebx, eax
lea esi, [edi + 0x21]
add esp, 0xc
cmp edi, esi
jge 0x40c76b
mov eax, str._TIME__n
lea ecx, [ecx]
sub eax, edi
mov dl, byte [eax + edi]
mov byte [edi + ebx], dl
inc edi
cmp edi, esi
jl 0x40c760
lea eax, [ebp - 0x170]
push eax
mov byte [ebx + esi], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x158]
movzx edx, word [ebp - 0x168]
lea ecx, [ebp - 0x50]
sub eax, edx
push eax
mov eax, 0
sets al
lea eax, [eax + eax + 0x2b]
push eax
push str.Time_zone:_GMT__c_i_n
push ecx
call fcn.00420bd5
mov edi, edi
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
sub esp, 0xfffffff0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c7c0
sub eax, edx
lea edi, [esi + eax]
lea edx, [edi + 1]
push edx
push ebx
mov dword [ebp - 0x3e8], eax
call fcn.004228ad
add esp, 8
mov ebx, eax
mov eax, esi
cmp esi, edi
jge 0x40c80f
lea ebx, [ebx]
mov ecx, dword [ebp - 0x3e8]
add ecx, esi
mov dword [ebp - 0x3e4], ecx
lea ecx, [ebp - 0x50]
sub ecx, esi
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, dword [ebp - 0x3e4]
jl 0x40c800
lea eax, [ebp - 0x50]
mov byte [ebx + edi], 0
movzx esi, word [ebp - 0x154]
movzx ecx, word [ebp - 0x156]
movzx edx, word [ebp - 0x158]
push esi
movzx esi, word [ebp - 0x160]
push ecx
movzx ecx, word [ebp - 0x15e]
push edx
movzx edx, word [ebp - 0x15a]
push esi
push ecx
push edx
push str.Local_time:__i._i._i__i:_i:_i_n
push eax
call fcn.00420bd5
add esp, 0x20
lea ebx, [ebx]
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c860
sub eax, edx
lea esi, [edi + eax]
lea ecx, [esi + 1]
push ecx
push ebx
mov dword [ebp - 0x3e8], eax
call fcn.004228ad
add esp, 8
cmp edi, esi
mov ebx, eax
mov eax, edi
jge 0x40c8af
mov edx, dword [ebp - 0x3e8]
lea ecx, [ebp - 0x50]
lea ebx, [ebx]
add edx, edi
sub ecx, edi
mov dword [ebp - 0x3e4], edx
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, dword [ebp - 0x3e4]
jl 0x40c8a0
mov byte [ebx + esi], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, 0x88888889
shr edx, 6
mul edx
shr edx, 5
push edx
lea edx, [ebp - 0x50]
push str.Uptime:__i_min_n
push edx
call fcn.00420bd5
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
add esp, 0xc
mov cl, byte [eax]
inc eax
or cl, cl
jne 0x40c8e7
sub eax, edx
lea edi, [esi + eax]
mov dword [ebp - 0x3e8], eax
lea eax, [edi + 1]
push eax
push ebx
call fcn.004228ad
add esp, 8
cmp esi, edi
mov ecx, esi
jge 0x40c92f
mov edx, dword [ebp - 0x3e8]
add edx, esi
mov dword [ebp - 0x3e4], edx
lea edx, [ebp - 0x50]
sub edx, esi
nop
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, dword [ebp - 0x3e4]
jl 0x40c920
lea ecx, [edi + 3]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.004228ad
lea esi, [edi + 2]
add esp, 8
cmp edi, esi
mov ecx, edi
jge 0x40c95b
mov edx, 0x43e370
sub edx, edi
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, esi
jl 0x40c950
lea edx, [esi + 0x23]
push edx
push eax
mov byte [eax + esi], 0
call fcn.004228ad
mov edi, eax
add esp, 8
mov eax, esi
mov dword [ebp - 0x3f0], edi
lea ebx, [esi + 0x22]
cmp esi, ebx
jge 0x40c98f
mov ecx, str._PROGRAM_FILES__n
sub ecx, esi
mov dl, byte [ecx + eax]
mov byte [eax + edi], dl
inc eax
cmp eax, ebx
jl 0x40c984
mov eax, dword [ebp - 0x3f0]
push str.PROGRAMFILES
mov dword [ebp - 0x3ec], ebx
mov byte [eax + ebx], 0
call fcn.00420d1e
lea edi, [eax + 1]
sub esp, 0xfffffffc
nop
mov cl, byte [eax]
inc eax
or cl, cl
jne 0x40c9b0
sub eax, edi
sub eax, 0xfffffff8
push eax
call fcn.0041ff97
mov edi, eax
push str.PROGRAMFILES
mov dword [ebp - 0x3e8], edi
call fcn.00420d1e
push eax
push str._s.
push edi
call fcn.00420bd5
lea ecx, [ebp - 0x2b8]
push ecx
push edi
call fcn.00422c32
mov dword [ebp - 0x3e4], eax
sub esp, 0xffffffe4
test eax, eax
je 0x40cb34
cmp eax, 0xffffffff
je 0x40cb34
jmp 0x40ca10
mov ecx, 0x43e13c
lea eax, [ebp - 0x294]
jmp 0x40ca20
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ca40
or dl, dl
je 0x40ca3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ca40
add eax, 2
add ecx, 2
or dl, dl
jne 0x40ca20
xor eax, eax
jmp 0x40ca45
sbb eax, eax
sbb eax, 0xffffffff
or eax, eax
je 0x40cb07
mov ecx, 0x43e140
lea eax, [ebp - 0x294]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ca78
or dl, dl
je 0x40ca74
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ca78
add eax, 2
add ecx, 2
test dl, dl
jne 0x40ca58
xor eax, eax
jmp 0x40ca7d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40cb07
lea edx, [ebp - 0x294]
lea edi, [edx + 1]
mov esi, esi
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x40ca90
sub edx, edi
mov eax, dword [ebp - 0x3f0]
mov edi, edx
lea esi, [ebx + edi]
lea edx, [esi + 1]
push edx
push eax
call fcn.004228ad
mov ecx, ebx
sub esp, 0xfffffff8
cmp ebx, esi
jge 0x40cacd
lea edx, [edi + ebx]
lea edi, [ebp - 0x294]
sub edi, ebx
mov bl, byte [edi + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, edx
jl 0x40cac2
lea ecx, [esi + 2]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.004228ad
mov edx, eax
mov dword [ebp - 0x3f0], edx
mov eax, esi
add esp, 8
lea ecx, [esi + 1]
cmp esi, ecx
jge 0x40cb01
mov edi, 0x43e1ac
sub edi, esi
mov bl, byte [edi + eax]
mov byte [eax + edx], bl
inc eax
cmp eax, ecx
jl 0x40caf6
mov ebx, ecx
mov byte [edx + ebx], 0
mov edi, dword [ebp - 0x3e4]
lea edx, [ebp - 0x2b8]
push edx
push edi
call fcn.00422d59
add esp, 8
test eax, eax
je 0x40ca10
push edi
call fcn.00422e87
add esp, 4
mov edi, dword [ebp - 0x3e8]
push edi
call fcn.00420c59
mov ecx, dword [ebp - 0x3f0]
lea eax, [ebx + 3]
push eax
push ecx
call fcn.004228ad
add esp, 0xc
mov ecx, ebx
lea esi, [ebx + 2]
cmp ebx, esi
jge 0x40cb6b
mov edi, 0x43e370
lea ecx, [ecx]
sub edi, ebx
mov dl, byte [ecx + edi]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x40cb60
lea ecx, [esi + 0x24]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.004228ad
mov ebx, eax
lea edi, [esi + 0x23]
add esp, 8
mov eax, esi
cmp esi, edi
jge 0x40cb9b
mov ecx, str._PROCESS_LIST__n
mov esi, esi
sub ecx, esi
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, edi
jl 0x40cb90
push 0
push 2
mov byte [ebx + edi], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x3e8], esi
or esi, esi
je 0x40cc94
lea eax, [ebp - 0x3e0]
push eax
push esi
mov dword [ebp - 0x3e0], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
or eax, eax
je 0x40cc8d
lea esp, [esp]
lea eax, [ebp - 0x3bc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
or cl, cl
jne 0x40cbf0
sub eax, edx
lea esi, [eax + edi]
lea ecx, [esi + 1]
push ecx
push ebx
mov dword [ebp - 0x3e4], eax
call fcn.004228ad
add esp, 8
mov ecx, edi
cmp edi, esi
jge 0x40cc3f
mov edx, dword [ebp - 0x3e4]
add edx, edi
mov dword [ebp - 0x3e4], edx
lea edx, [ebp - 0x3bc]
sub edx, edi
jmp 0x40cc30
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, dword [ebp - 0x3e4]
jl 0x40cc30
lea ecx, [esi + 2]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.004228ad
sub esp, 0xfffffff8
mov ebx, eax
mov eax, esi
lea edi, [esi + 1]
cmp esi, edi
jge 0x40cc6d
mov ecx, 0x43e1ac
sub ecx, esi
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, edi
jl 0x40cc62
lea eax, [ebp - 0x3e0]
mov esi, dword [ebp - 0x3e8]
push eax
push esi
mov byte [ebx + edi], 0
call dword [sym.imp.KERNEL32.dll_Process32Next]
or eax, eax
jne 0x40cbe0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 3]
push ecx
push ebx
call fcn.004228ad
mov ebx, eax
mov dword [ebp - 0x3f0], ebx
lea eax, [edi + 2]
add esp, 8
cmp edi, eax
jge 0x40ccc2
mov ecx, 0x43e370
sub ecx, edi
mov dl, byte [edi + ecx]
mov byte [edi + ebx], dl
inc edi
cmp edi, eax
jl 0x40ccb7
mov dword [ebp - 0x3ec], eax
mov byte [ebx + eax], 0
inc eax
push eax
call fcn.0041ff97
mov ebx, ebx
mov esi, eax
mov eax, ebx
mov edx, esi
sub esp, 0xfffffffc
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
or cl, cl
jne 0x40cce0
push ebx
call fcn.004214f1
mov eax, esi
sub esp, 0xfffffffc
mov edi, dword [ebp - 0xc]
mov dword fs:[0], edi
pop ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
pop ebx
call fcn.00420bc6
mov esp, ebp
pop ebp
ret