Function at 0x40c0f0
Capabilities:
Enumerate processes
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436cdb
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.00422443
push 0x23
push eax
mov dword [ebp - 4], 0
call fcn.004224d7
mov edi, eax
mov ecx, str._CLIENT_:_n
add esp, 0xc
mov dword [ebp - 0x3f0], edi
sub ecx, edi
mov esi, 0x22
jmp 0x40c150
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x40c150
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x3ec], 0x22
mov byte [edi + 0x22], 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea esi, [ebp - 0x150]
call fcn.00405490
push str.USERNAME
call fcn.00420fe0
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c190
sub eax, edx
push str.USERDOMAIN
mov dword [ebp - 0x3e4], eax
call fcn.00420fe0
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c1b0
sub eax, edx
mov ebx, eax
lea eax, [ebp - 0x150]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c1c4
sub eax, edx
push str.NUMBER_OF_PROCESSORS
mov edi, eax
call fcn.00420fe0
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c1e0
sub eax, edx
push str.PROCESSOR_ARCHITECTURE
mov esi, eax
call fcn.00420fe0
add esp, 4
lea ecx, [eax + 1]
jmp 0x40c200
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c200
sub eax, ecx
mov ecx, dword [ebp - 0x3e4]
add eax, esi
add eax, edi
add eax, ebx
lea edx, [eax + ecx + 0x80]
push edx
call fcn.0041fc44
mov edi, eax
mov eax, dword [ebp - 0x188]
add esp, 4
shr eax, 0x14
push eax
push str.PROCESSOR_ARCHITECTURE
call fcn.00420fe0
add esp, 4
push eax
push str.NUMBER_OF_PROCESSORS
call fcn.00420fe0
add esp, 4
push eax
lea ecx, [ebp - 0x150]
push ecx
push str.USERDOMAIN
call fcn.00420fe0
add esp, 4
push eax
push str.USERNAME
call fcn.00420fe0
add esp, 4
push eax
push str._s__s_n_s_n_s__s_processor_s__n_i_MB_RAM_n
push edi
call fcn.00420e97
mov eax, edi
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c283
sub eax, ecx
lea esi, [eax + 0x22]
mov eax, dword [ebp - 0x3f0]
lea edx, [esi + 1]
push edx
push eax
call fcn.004224d7
mov ecx, 0x22
add esp, 8
cmp esi, ecx
jle 0x40c2bc
jmp 0x40c2b0
mov dl, byte [edi + ecx - 0x22]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x40c2b0
lea ecx, [esi + 3]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.004224d7
lea edi, [esi + 2]
add esp, 8
cmp esi, edi
jge 0x40c2eb
mov ecx, 0x43d354
sub ecx, esi
jmp 0x40c2e0
mov dl, byte [ecx + esi]
mov byte [esi + eax], dl
inc esi
cmp esi, edi
jl 0x40c2e0
lea ecx, [edi + 0x22]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.004224d7
lea esi, [edi + 0x21]
add esp, 8
mov ebx, eax
cmp edi, esi
jge 0x40c31b
mov eax, str._TIME__n
sub eax, edi
lea esp, [esp]
mov dl, byte [eax + edi]
mov byte [edi + ebx], dl
inc edi
cmp edi, esi
jl 0x40c310
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.00420e97
lea eax, [ebp - 0x50]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c370
sub eax, edx
lea edi, [esi + eax]
lea edx, [edi + 1]
push edx
push ebx
mov dword [ebp - 0x3e4], eax
call fcn.004224d7
add esp, 8
mov ebx, eax
cmp esi, edi
jge 0x40c3ad
mov ecx, dword [ebp - 0x3e4]
lea eax, [ebp - 0x50]
add ecx, esi
sub eax, esi
mov dl, byte [eax + esi]
mov byte [esi + ebx], dl
inc esi
cmp esi, ecx
jl 0x40c3a2
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.00420e97
lea eax, [ebp - 0x50]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c3f8
sub eax, edx
lea esi, [edi + eax]
lea ecx, [esi + 1]
push ecx
push ebx
mov dword [ebp - 0x3e4], eax
call fcn.004224d7
add esp, 8
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40c441
mov edx, dword [ebp - 0x3e4]
add edx, edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3e4], edx
sub ecx, edi
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, dword [ebp - 0x3e4]
jl 0x40c432
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.00420e97
lea eax, [ebp - 0x50]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c480
sub eax, edx
lea edi, [esi + eax]
mov dword [ebp - 0x3e4], eax
lea eax, [edi + 1]
push eax
push ebx
call fcn.004224d7
add esp, 8
mov ecx, esi
cmp esi, edi
jge 0x40c4c7
mov edx, dword [ebp - 0x3e4]
add edx, esi
mov dword [ebp - 0x3e4], edx
lea edx, [ebp - 0x50]
sub edx, esi
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, dword [ebp - 0x3e4]
jl 0x40c4b8
lea ecx, [edi + 3]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.004224d7
lea esi, [edi + 2]
add esp, 8
mov ecx, edi
cmp edi, esi
jge 0x40c4f3
mov edx, 0x43d354
sub edx, edi
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, esi
jl 0x40c4e8
lea edx, [esi + 0x23]
push edx
push eax
mov byte [eax + esi], 0
call fcn.004224d7
mov edi, eax
lea ebx, [esi + 0x22]
add esp, 8
mov dword [ebp - 0x3f0], edi
mov eax, esi
cmp esi, ebx
jge 0x40c52b
mov ecx, str._PROGRAM_FILES__n
sub ecx, esi
lea esp, [esp]
mov dl, byte [ecx + eax]
mov byte [eax + edi], dl
inc eax
cmp eax, ebx
jl 0x40c520
mov eax, dword [ebp - 0x3f0]
push str.PROGRAMFILES
mov dword [ebp - 0x3ec], ebx
mov byte [eax + ebx], 0
call fcn.00420fe0
add esp, 4
lea esi, [eax + 1]
jmp 0x40c550
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c550
sub eax, esi
add eax, 8
push eax
call fcn.0041fc44
mov esi, eax
push str.PROGRAMFILES
mov dword [ebp - 0x3e8], esi
call fcn.00420fe0
push eax
push str._s.
push esi
call fcn.00420e97
lea ecx, [ebp - 0x2b8]
push ecx
push esi
call fcn.00422722
add esp, 0x1c
mov dword [ebp - 0x3e4], eax
test eax, eax
je 0x40c6d4
cmp eax, 0xffffffff
je 0x40c6d4
jmp 0x40c5b0
mov ecx, 0x43d0c4
lea eax, [ebp - 0x294]
jmp 0x40c5c0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c5e0
test dl, dl
je 0x40c5dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c5e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c5c0
xor eax, eax
jmp 0x40c5e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c6a7
mov ecx, 0x43d0c8
lea eax, [ebp - 0x294]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c618
test dl, dl
je 0x40c614
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c618
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c5f8
xor eax, eax
jmp 0x40c61d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c6a7
lea eax, [ebp - 0x294]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c630
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.004224d7
add esp, 8
mov ecx, ebx
cmp ebx, esi
jge 0x40c66d
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 0x40c662
lea ecx, [esi + 2]
push ecx
push eax
mov byte [eax + esi], 0
call fcn.004224d7
mov edi, eax
lea ecx, [esi + 1]
add esp, 8
mov dword [ebp - 0x3f0], edi
mov eax, esi
cmp esi, ecx
jge 0x40c6a1
mov edx, 0x43d20c
sub edx, esi
mov bl, byte [edx + eax]
mov byte [eax + edi], bl
inc eax
cmp eax, ecx
jl 0x40c696
mov ebx, ecx
mov byte [edi + ebx], 0
mov esi, dword [ebp - 0x3e4]
lea edx, [ebp - 0x2b8]
push edx
push esi
call fcn.00422849
add esp, 8
test eax, eax
je 0x40c5b0
push esi
call fcn.00422977
mov esi, dword [ebp - 0x3e8]
add esp, 4
push esi
call fcn.00420f1b
mov ecx, dword [ebp - 0x3f0]
lea eax, [ebx + 3]
push eax
push ecx
call fcn.004224d7
lea edi, [ebx + 2]
add esp, 0xc
mov ecx, ebx
cmp ebx, edi
jge 0x40c70b
mov esi, 0x43d354
sub esi, ebx
lea ecx, [ecx]
mov dl, byte [ecx + esi]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, edi
jl 0x40c700
lea ecx, [edi + 0x24]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.004224d7
lea esi, [edi + 0x23]
add esp, 8
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40c73b
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 0x40c730
push 0
push 2
mov byte [ebx + esi], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x3e4], edi
test edi, edi
je 0x40c834
lea eax, [ebp - 0x3e0]
push eax
push edi
mov dword [ebp - 0x3e0], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40c82d
lea esp, [esp]
lea eax, [ebp - 0x3bc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c790
sub eax, edx
lea edi, [esi + eax]
lea ecx, [edi + 1]
push ecx
push ebx
mov dword [ebp - 0x3e8], eax
call fcn.004224d7
add esp, 8
mov ecx, esi
cmp esi, edi
jge 0x40c7df
mov edx, dword [ebp - 0x3e8]
add edx, esi
mov dword [ebp - 0x3e8], edx
lea edx, [ebp - 0x3bc]
sub edx, esi
jmp 0x40c7d0
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, dword [ebp - 0x3e8]
jl 0x40c7d0
lea ecx, [edi + 2]
push ecx
push eax
mov byte [eax + edi], 0
call fcn.004224d7
lea esi, [edi + 1]
add esp, 8
mov ebx, eax
mov eax, edi
cmp edi, esi
jge 0x40c80d
mov ecx, 0x43d20c
sub ecx, edi
mov dl, byte [ecx + eax]
mov byte [eax + ebx], dl
inc eax
cmp eax, esi
jl 0x40c802
mov edi, dword [ebp - 0x3e4]
lea eax, [ebp - 0x3e0]
push eax
push edi
mov byte [ebx + esi], 0
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x40c780
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 3]
push ecx
push ebx
call fcn.004224d7
mov edi, eax
lea eax, [esi + 2]
add esp, 8
mov dword [ebp - 0x3f0], edi
cmp esi, eax
jge 0x40c862
mov ecx, 0x43d354
sub ecx, esi
mov dl, byte [esi + ecx]
mov byte [esi + edi], dl
inc esi
cmp esi, eax
jl 0x40c857
mov dword [ebp - 0x3ec], eax
mov byte [edi + eax], 0
inc eax
push eax
call fcn.0041fc44
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 0x40c880
push edi
call fcn.004211f7
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.00420799
mov esp, ebp
pop ebp
ret