Function at 0x402500
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x92c
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], 0
mov dword [esp + 0x10], 0x128
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x948]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
mov ebp, ecx
push 2
neg ebp
sbb ebp, ebp
neg ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x4026e7
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4026e0
test ebp, ebp
je 0x402591
mov edx, dword [esp + 0x948]
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.004091e0
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
inc esi
jmp 0x402593
xor esi, esi
mov eax, dword [esp + 0x93c]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jne 0x40268c
test ebp, ebp
je 0x4025b2
test esi, esi
je 0x40268c
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x539]
mov byte [esp + 0x538], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x538]
stosw word es:[edi], ax
push 0x400
push ecx
push 0
push edx
stosb byte es:[edi], al
call fcn.00402050
lea edi, [esp + 0x548]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40268c
lea eax, [esp + 0x538]
push eax
call fcn.0040930a
lea ecx, [esp + 0x53c]
push str.http:__
push ecx
call fcn.004033e0
add esp, 0xc
test eax, eax
je 0x402645
lea edx, [esp + 0x538]
push str.clientkey
push edx
call fcn.004033e0
mov edx, eax
add esp, 8
test edx, edx
jne 0x4026f3
cmp dword [0x40dd30], 6
jae 0x402695
test esi, esi
je 0x40268c
mov edx, dword [esp + 0x944]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40268c
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x138]
push 0x400
push eax
push 0
push edx
push ecx
call fcn.00402ca0
add esp, 0x14
test eax, eax
jne 0x402776
cmp dword [0x40dd30], 6
jb 0x4026c9
test esi, esi
je 0x4026c9
mov eax, dword [esp + 0x944]
test eax, eax
je 0x4026c9
lea edx, [esp + 0x138]
push 0x400
push edx
push 0
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.00402ca0
add esp, 0x14
test eax, eax
jne 0x4027e1
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40256f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x92c
ret
mov edi, str.clientkey
or ecx, 0xffffffff
xor eax, eax
push 0x40
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
lea edx, [esp + 0x13c]
push ecx
push edx
call fcn.00403460
mov eax, dword [esp + 0x95c]
mov edx, dword [esp + 0x958]
lea ecx, [esp + 0x144]
push eax
push ecx
push edx
call fcn.00403460
mov eax, dword [esp + 0x958]
add esp, 0x18
test eax, eax
je 0x402767
mov eax, dword [esp + 0x18]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402767
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x92c
ret
mov eax, dword [esp + 0x940]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4027ab
mov ecx, dword [esp + 0x18]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4027ab
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, dword [esp + 0x950]
mov edx, dword [esp + 0x94c]
lea ecx, [esp + 0x138]
push eax
push ecx
push edx
call fcn.00403460
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x92c
ret
mov eax, dword [esp + 0x940]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x402816
mov eax, dword [esp + 0x18]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402816
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov edx, dword [esp + 0x950]
mov ecx, dword [esp + 0x94c]
lea eax, [esp + 0x138]
push edx
push eax
push ecx
call fcn.00403460
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x92c
ret