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
sub esp, 0x3e4
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
add esp, 4
lea edx, [eax + 1]
lea ebx, [ebx]
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
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c5c0
sub eax, edx
mov ebx, eax
lea eax, [ebp - 0x150]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c5d4
sub eax, edx
push str.NUMBER_OF_PROCESSORS
mov edi, eax
call fcn.00420d1e
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c5f0
sub eax, edx
push str.PROCESSOR_ARCHITECTURE
mov esi, eax
call fcn.00420d1e
add esp, 4
lea edx, [eax + 1]
jmp 0x40c610
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c610
mov ecx, dword [ebp - 0x3e4]
sub eax, edx
add eax, esi
add eax, edi
add eax, ebx
lea edx, [eax + ecx + 0x80]
push edx
call fcn.0041ff97
add esp, 4
cmp byte [0x444a85], 0
mov edi, 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 esi, 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
add esp, 4
push eax
push str.USERNAME
call fcn.00420d1e
add esp, 4
push eax
push esi
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 edi
call fcn.00420bd5
mov eax, edi
add esp, 0x2c
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c6d0
mov edx, dword [ebp - 0x3f0]
sub eax, ecx
lea esi, [eax + 0x21]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.004228ad
mov ecx, 0x21
add esp, 8
cmp esi, ecx
jle 0x40c704
mov dl, byte [edi + ecx - 0x21]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x40c6f8
lea ecx, [esi + 3]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.004228ad
lea edi, [esi + 2]
add esp, 8
mov ebx, eax
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
lea esi, [edi + 0x21]
add esp, 0xc
mov ebx, eax
cmp edi, esi
jge 0x40c76b
mov eax, str._TIME__n
sub eax, edi
lea ecx, [ecx]
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 edx, word [ebp - 0x168]
movzx eax, word [ebp - 0x158]
sub eax, edx
push eax
mov eax, 0
sets al
lea ecx, [ebp - 0x50]
lea eax, [eax + eax + 0x2b]
push eax
push str.Time_zone:_GMT__c_i_n
push ecx
call fcn.00420bd5
lea eax, [ebp - 0x50]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
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
mov ecx, dword [ebp - 0x3e8]
add ecx, esi
mov dword [ebp - 0x3e4], ecx
lea ecx, [ebp - 0x50]
sub ecx, esi
lea ebx, [ebx]
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, dword [ebp - 0x3e4]
jl 0x40c800
mov byte [ebx + edi], 0
movzx eax, word [ebp - 0x154]
movzx ecx, word [ebp - 0x156]
movzx edx, word [ebp - 0x158]
push eax
movzx eax, word [ebp - 0x160]
push ecx
movzx ecx, word [ebp - 0x15e]
push edx
movzx edx, word [ebp - 0x15a]
push eax
push ecx
push edx
lea eax, [ebp - 0x50]
push str.Local_time:__i._i._i__i:_i:_i_n
push eax
call fcn.00420bd5
lea eax, [ebp - 0x50]
add esp, 0x20
lea edx, [eax + 1]
lea ebx, [ebx]
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
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40c8af
mov edx, dword [ebp - 0x3e8]
add edx, edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3e4], edx
sub ecx, edi
lea ebx, [ebx]
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
shr edx, 6
mov eax, 0x88888889
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]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test 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
mov ecx, esi
cmp esi, edi
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
mov ecx, edi
cmp edi, esi
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
lea ebx, [esi + 0x22]
add esp, 8
mov dword [ebp - 0x3f0], edi
mov eax, esi
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
add esp, 4
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c9b0
sub eax, esi
add eax, 8
push eax
call fcn.0041ff97
mov esi, eax
push str.PROGRAMFILES
mov dword [ebp - 0x3e8], esi
call fcn.00420d1e
push eax
push str._s.
push esi
call fcn.00420bd5
lea ecx, [ebp - 0x2b8]
push ecx
push esi
call fcn.00422c32
add esp, 0x1c
mov dword [ebp - 0x3e4], eax
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
test dl, dl
je 0x40ca3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ca40
add eax, 2
add ecx, 2
test dl, dl
jne 0x40ca20
xor eax, eax
jmp 0x40ca45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40cb07
mov ecx, 0x43e140
lea eax, [ebp - 0x294]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ca78
test 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 eax, [ebp - 0x294]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ca90
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x3f0]
lea esi, [ebx + edi]
lea edx, [esi + 1]
push edx
push eax
call fcn.004228ad
add esp, 8
mov ecx, ebx
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 edi, eax
lea ecx, [esi + 1]
add esp, 8
mov dword [ebp - 0x3f0], edi
mov eax, esi
cmp esi, ecx
jge 0x40cb01
mov edx, 0x43e1ac
sub edx, esi
mov bl, byte [edx + eax]
mov byte [eax + edi], bl
inc eax
cmp eax, ecx
jl 0x40caf6
mov ebx, ecx
mov byte [edi + ebx], 0
mov esi, dword [ebp - 0x3e4]
lea edx, [ebp - 0x2b8]
push edx
push esi
call fcn.00422d59
add esp, 8
test eax, eax
je 0x40ca10
push esi
call fcn.00422e87
mov esi, dword [ebp - 0x3e8]
add esp, 4
push esi
call fcn.00420c59
mov ecx, dword [ebp - 0x3f0]
lea eax, [ebx + 3]
push eax
push ecx
call fcn.004228ad
lea edi, [ebx + 2]
add esp, 0xc
mov ecx, ebx
cmp ebx, edi
jge 0x40cb6b
mov esi, 0x43e370
sub esi, ebx
lea ecx, [ecx]
mov dl, byte [ecx + esi]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, edi
jl 0x40cb60
lea ecx, [edi + 0x24]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.004228ad
lea esi, [edi + 0x23]
add esp, 8
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40cb9b
mov ecx, str._PROCESS_LIST__n
sub ecx, edi
mov edi, edi
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, esi
jl 0x40cb90
push 0
push 2
mov byte [ebx + esi], 0
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x3e8], edi
test edi, edi
je 0x40cc94
lea eax, [ebp - 0x3e0]
push eax
push edi
mov dword [ebp - 0x3e0], 0x128
call dword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x40cc8d
lea esp, [esp]
lea eax, [ebp - 0x3bc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cbf0
sub eax, edx
lea edi, [eax + esi]
lea ecx, [edi + 1]
push ecx
push ebx
mov dword [ebp - 0x3e4], eax
call fcn.004228ad
add esp, 8
mov ecx, esi
cmp esi, edi
jge 0x40cc3f
mov edx, dword [ebp - 0x3e4]
add edx, esi
mov dword [ebp - 0x3e4], edx
lea edx, [ebp - 0x3bc]
sub edx, esi
jmp 0x40cc30
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, dword [ebp - 0x3e4]
jl 0x40cc30
lea ecx, [edi + 2]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.004228ad
lea esi, [edi + 1]
add esp, 8
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40cc6d
mov ecx, 0x43e1ac
sub ecx, edi
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, esi
jl 0x40cc62
mov edi, dword [ebp - 0x3e8]
lea eax, [ebp - 0x3e0]
push eax
push edi
mov byte [ebx + esi], 0
call dword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x40cbe0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esi + 3]
push ecx
push ebx
call fcn.004228ad
mov edi, eax
lea eax, [esi + 2]
add esp, 8
mov dword [ebp - 0x3f0], edi
cmp esi, eax
jge 0x40ccc2
mov ecx, 0x43e370
sub ecx, esi
mov dl, byte [esi + ecx]
mov byte [esi + edi], dl
inc esi
cmp esi, eax
jl 0x40ccb7
mov dword [ebp - 0x3ec], eax
mov byte [edi + eax], 0
inc eax
push eax
call fcn.0041ff97
mov esi, eax
mov edx, esi
add esp, 4
mov eax, edi
sub edx, edi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40cce0
push edi
call fcn.004214f1
add esp, 4
mov eax, esi
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.00420bc6
mov esp, ebp
pop ebp
ret