Function at 0x40c160
Capabilities:
Enumerate processes
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x440480]
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.00422399
push 0x22
push eax
mov dword [ebp - 4], 0
call fcn.0042242d
mov edi, eax
mov ecx, str._CLIENT__n
add esp, 0xc
mov dword [ebp - 0x3f0], edi
sub ecx, edi
mov esi, 0x21
jmp 0x40c1c0
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x40c1c0
lea esi, [ebp - 0x150]
mov dword [ebp - 0x3ec], 0x21
mov byte [edi + 0x21], 0
call fcn.00405260
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
call fcn.004053c0
push str.USERNAME
mov dword [ebp - 0x3e8], eax
call fcn.0042097e
add esp, 4
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c210
sub eax, edx
push str.USERDOMAIN
mov dword [ebp - 0x3e4], eax
call fcn.0042097e
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c230
sub eax, edx
mov ebx, eax
lea eax, [ebp - 0x150]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c244
sub eax, edx
push str.NUMBER_OF_PROCESSORS
mov edi, eax
call fcn.0042097e
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c260
sub eax, edx
push str.PROCESSOR_ARCHITECTURE
mov esi, eax
call fcn.0042097e
add esp, 4
lea edx, [eax + 1]
jmp 0x40c280
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c280
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.0041fbf7
add esp, 4
cmp byte [0x443a59], 0
mov edi, eax
jne 0x40c2bc
call fcn.004060e0
mov byte [0x443a59], 1
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ebp - 0x188]
mov eax, dword [0x443b0c]
mov esi, dword [eax]
push ecx
shr edx, 0x14
push edx
push str.PROCESSOR_ARCHITECTURE
call fcn.0042097e
add esp, 4
push eax
push str.NUMBER_OF_PROCESSORS
call fcn.0042097e
add esp, 4
push eax
lea eax, [ebp - 0x150]
push eax
push str.USERDOMAIN
call fcn.0042097e
add esp, 4
push eax
push str.USERNAME
call fcn.0042097e
add esp, 4
push eax
push esi
call fcn.00422b5f
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.00420835
mov eax, edi
add esp, 0x2c
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c340
mov edx, dword [ebp - 0x3f0]
sub eax, ecx
lea esi, [eax + 0x21]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0042242d
mov ecx, 0x21
add esp, 8
cmp esi, ecx
jle 0x40c374
mov dl, byte [edi + ecx - 0x21]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x40c368
lea ecx, [esi + 3]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.0042242d
lea edi, [esi + 2]
add esp, 8
mov ebx, eax
cmp esi, edi
jge 0x40c3a0
mov eax, 0x43d3a0
sub eax, esi
mov dl, byte [eax + esi]
mov byte [esi + ebx], dl
inc esi
cmp esi, edi
jl 0x40c395
mov eax, dword [ebp - 0x3e8]
push eax
mov byte [ebx + edi], 0
call fcn.004208b9
lea ecx, [edi + 0x22]
push ecx
push ebx
call fcn.0042242d
lea esi, [edi + 0x21]
add esp, 0xc
mov ebx, eax
cmp edi, esi
jge 0x40c3db
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 0x40c3d0
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.00420835
lea eax, [ebp - 0x50]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c430
sub eax, edx
lea edi, [esi + eax]
lea edx, [edi + 1]
push edx
push ebx
mov dword [ebp - 0x3e8], eax
call fcn.0042242d
add esp, 8
mov ebx, eax
mov eax, esi
cmp esi, edi
jge 0x40c47f
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 0x40c470
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.00420835
lea eax, [ebp - 0x50]
add esp, 0x20
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c4d0
sub eax, edx
lea esi, [edi + eax]
lea ecx, [esi + 1]
push ecx
push ebx
mov dword [ebp - 0x3e8], eax
call fcn.0042242d
add esp, 8
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40c51f
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 0x40c510
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.00420835
lea eax, [ebp - 0x50]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c557
sub eax, edx
lea edi, [esi + eax]
mov dword [ebp - 0x3e8], eax
lea eax, [edi + 1]
push eax
push ebx
call fcn.0042242d
add esp, 8
mov ecx, esi
cmp esi, edi
jge 0x40c59f
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 0x40c590
lea ecx, [edi + 3]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.0042242d
lea esi, [edi + 2]
add esp, 8
mov ecx, edi
cmp edi, esi
jge 0x40c5cb
mov edx, 0x43d3a0
sub edx, edi
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, esi
jl 0x40c5c0
lea edx, [esi + 0x23]
push edx
push eax
mov byte [eax + esi], 0
call fcn.0042242d
mov edi, eax
lea ebx, [esi + 0x22]
add esp, 8
mov dword [ebp - 0x3f0], edi
mov eax, esi
cmp esi, ebx
jge 0x40c5ff
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 0x40c5f4
mov eax, dword [ebp - 0x3f0]
push str.PROGRAMFILES
mov dword [ebp - 0x3ec], ebx
mov byte [eax + ebx], 0
call fcn.0042097e
add esp, 4
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c620
sub eax, esi
add eax, 8
push eax
call fcn.0041fbf7
mov esi, eax
push str.PROGRAMFILES
mov dword [ebp - 0x3e8], esi
call fcn.0042097e
push eax
push str._s.
push esi
call fcn.00420835
lea ecx, [ebp - 0x2b8]
push ecx
push esi
call fcn.004227b2
add esp, 0x1c
mov dword [ebp - 0x3e4], eax
test eax, eax
je 0x40c7a4
cmp eax, 0xffffffff
je 0x40c7a4
jmp 0x40c680
mov ecx, 0x43d10c
lea eax, [ebp - 0x294]
jmp 0x40c690
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c6b0
test dl, dl
je 0x40c6ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c6b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c690
xor eax, eax
jmp 0x40c6b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c777
mov ecx, 0x43d110
lea eax, [ebp - 0x294]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c6e8
test dl, dl
je 0x40c6e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c6e8
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c6c8
xor eax, eax
jmp 0x40c6ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c777
lea eax, [ebp - 0x294]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c700
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.0042242d
add esp, 8
mov ecx, ebx
cmp ebx, esi
jge 0x40c73d
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 0x40c732
lea ecx, [esi + 2]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.0042242d
mov edi, eax
lea ecx, [esi + 1]
add esp, 8
mov dword [ebp - 0x3f0], edi
mov eax, esi
cmp esi, ecx
jge 0x40c771
mov edx, 0x43d248
sub edx, esi
mov bl, byte [edx + eax]
mov byte [eax + edi], bl
inc eax
cmp eax, ecx
jl 0x40c766
mov ebx, ecx
mov byte [edi + ebx], 0
mov esi, dword [ebp - 0x3e4]
lea edx, [ebp - 0x2b8]
push edx
push esi
call fcn.004228d9
add esp, 8
test eax, eax
je 0x40c680
push esi
call fcn.00422a07
mov esi, dword [ebp - 0x3e8]
add esp, 4
push esi
call fcn.004208b9
mov ecx, dword [ebp - 0x3f0]
lea eax, [ebx + 3]
push eax
push ecx
call fcn.0042242d
lea edi, [ebx + 2]
add esp, 0xc
mov ecx, ebx
cmp ebx, edi
jge 0x40c7db
mov esi, 0x43d3a0
sub esi, ebx
lea ecx, [ecx]
mov dl, byte [ecx + esi]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, edi
jl 0x40c7d0
lea ecx, [edi + 0x24]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.0042242d
lea esi, [edi + 0x23]
add esp, 8
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40c80b
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 0x40c800
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 0x40c904
lea eax, [ebp - 0x3e0]
push eax
push edi
mov dword [ebp - 0x3e0], 0x128
call dword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x40c8fd
lea esp, [esp]
lea eax, [ebp - 0x3bc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c860
sub eax, edx
lea edi, [eax + esi]
lea ecx, [edi + 1]
push ecx
push ebx
mov dword [ebp - 0x3e4], eax
call fcn.0042242d
add esp, 8
mov ecx, esi
cmp esi, edi
jge 0x40c8af
mov edx, dword [ebp - 0x3e4]
add edx, esi
mov dword [ebp - 0x3e4], edx
lea edx, [ebp - 0x3bc]
sub edx, esi
jmp 0x40c8a0
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, dword [ebp - 0x3e4]
jl 0x40c8a0
lea ecx, [edi + 2]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.0042242d
lea esi, [edi + 1]
add esp, 8
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40c8dd
mov ecx, 0x43d248
sub ecx, edi
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, esi
jl 0x40c8d2
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 0x40c850
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esi + 3]
push ecx
push ebx
call fcn.0042242d
mov edi, eax
lea eax, [esi + 2]
add esp, 8
mov dword [ebp - 0x3f0], edi
cmp esi, eax
jge 0x40c932
mov ecx, 0x43d3a0
sub ecx, esi
mov dl, byte [esi + ecx]
mov byte [esi + edi], dl
inc esi
cmp esi, eax
jl 0x40c927
mov dword [ebp - 0x3ec], eax
mov byte [edi + eax], 0
inc eax
push eax
call fcn.0041fbf7
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 0x40c950
push edi
call fcn.00421071
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.00420826
mov esp, ebp
pop ebp
ret