Function at 0x40a990
Capabilities:
Enumerate processes
Hash data with crc32
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423a51
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x42c520]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push edi
mov dword [ebp - 4], edi
push 2
mov dword [ebp - 0x2c8], edi
mov dword [ebp - 0x2d4], 0x5e853e99
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x2d0], esi
cmp esi, edi
je 0x40ac4f
cmp esi, 0xffffffff
je 0x40ac4f
push 0x228
lea eax, [ebp - 0x2c0]
push edi
push eax
call fcn.00414260
add esp, 0xc
lea ecx, [ebp - 0x2c4]
push ecx
push esi
mov dword [ebp - 0x2c4], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40ac2f
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x94]
push ecx
mov dword [ebp - 0x98], edx
call fcn.0040e840
mov byte [ebp - 4], 1
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov edi, dword [ebp - 0x98]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2cc], ebx
mov byte [ebp - 4], 2
test edi, edi
je 0x40aa9f
test edi, 0xffff0000
jne 0x40aaa3
movzx edi, di
push edi
call fcn.00407040
add esp, 4
test eax, eax
je 0x40aac3
push eax
mov eax, edi
lea edi, [ebp - 0x2cc]
call fcn.0040f140
jmp 0x40aabd
xor eax, eax
jmp 0x40aab1
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40aaa8
sub eax, edx
push edi
lea ebx, [ebp - 0x2cc]
call fcn.0040f480
mov ebx, dword [ebp - 0x2cc]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x40aae0
push eax
call fcn.004125c8
add esp, 4
mov edi, dword [ebx - 0xc]
test edi, edi
jns 0x40aaf1
push 0x80070057
call fcn.00407110
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x40ab15
mov eax, edi
lea ecx, [ebp - 0x2cc]
call fcn.0040f200
mov ebx, dword [ebp - 0x2cc]
lea edx, [edi + 1]
push edx
push ebx
call fcn.0041418d
add esp, 8
cmp eax, 0x50
ja case.0x40ab32.1
movzx eax, byte [eax + 0x40acc8]
jmp dword [eax*4 + 0x40acb8]
push 0x8007000e
call fcn.00407110
cmp edi, dword [ebx - 8]
jg case.0x40ab32.22
mov eax, ebx
mov dword [ebx - 0xc], edi
mov byte [edi + ebx], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ab54
sub eax, edx
mov edx, eax
mov ecx, ebx
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x40ab83
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x428620]
inc ecx
jmp 0x40ab64
not eax
mov esi, eax
xor edi, edi
lea esp, [esp]
cmp edi, 1
jge 0x40abe7
lea eax, [ebp - 0x2d4]
cmp dword [eax + edi*4], esi
jne 0x40abe4
mov ecx, dword [ebp - 0x2bc]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2c8], eax
test eax, eax
je 0x40abe4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x2c8], 0xffffffff
je 0x40abe4
mov edx, dword [ebp - 0x2c8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c8], 0
inc edi
jmp 0x40ab90
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ac07
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edx, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2c4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40aa2d
mov esi, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x2c8]
test esi, esi
je 0x40ac4f
cmp esi, 0xffffffff
je 0x40ac4f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2d0], 0
mov esi, dword [ebp - 0x2d0]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x40ac66
cmp edi, 0xffffffff
je 0x40ac66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40ac76
cmp esi, 0xffffffff
je 0x40ac76
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00412123
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
mov eax, 0x40aca9
ret