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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424b01
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x42d520]
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 0x40b61f
cmp esi, 0xffffffff
je 0x40b61f
push 0x228
lea eax, [ebp - 0x2c0]
push edi
push eax
call fcn.00415110
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 0x40b5ff
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x94]
push ecx
mov dword [ebp - 0x98], edx
call fcn.0040f410
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 0x40b46f
test edi, 0xffff0000
jne 0x40b473
movzx edi, di
push edi
call fcn.00407020
add esp, 4
test eax, eax
je 0x40b493
push eax
mov eax, edi
lea edi, [ebp - 0x2cc]
call fcn.0040fd40
jmp 0x40b48d
xor eax, eax
jmp 0x40b481
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b478
sub eax, edx
push edi
lea ebx, [ebp - 0x2cc]
call fcn.00410080
mov ebx, dword [ebp - 0x2cc]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x40b4b0
push eax
call fcn.004132bc
add esp, 4
mov edi, dword [ebx - 0xc]
test edi, edi
jns 0x40b4c1
push 0x80070057
call fcn.004070f0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x40b4e5
mov eax, edi
lea ecx, [ebp - 0x2cc]
call fcn.0040fe00
mov ebx, dword [ebp - 0x2cc]
lea edx, [edi + 1]
push edx
push ebx
call fcn.00415046
add esp, 8
cmp eax, 0x50
ja case.0x40b502.1
movzx eax, byte [eax + 0x40b698]
jmp dword [eax*4 + 0x40b688]
push 0x8007000e
call fcn.004070f0
cmp edi, dword [ebx - 8]
jg case.0x40b502.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 0x40b524
sub eax, edx
mov edx, eax
mov ecx, ebx
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x40b553
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x429608]
inc ecx
jmp 0x40b534
not eax
mov esi, eax
xor edi, edi
lea esp, [esp]
cmp edi, 1
jge 0x40b5b7
lea eax, [ebp - 0x2d4]
cmp dword [eax + edi*4], esi
jne 0x40b5b4
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 0x40b5b4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x2c8], 0xffffffff
je 0x40b5b4
mov edx, dword [ebp - 0x2c8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c8], 0
inc edi
jmp 0x40b560
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 0x40b5d7
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 0x40b3fd
mov esi, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x2c8]
test esi, esi
je 0x40b61f
cmp esi, 0xffffffff
je 0x40b61f
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 0x40b636
cmp edi, 0xffffffff
je 0x40b636
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40b646
cmp esi, 0xffffffff
je 0x40b646
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.00412e17
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004070f0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x40b679
ret