Function at 0x40c8e0
Capabilities:
Enumerate processes
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aa0b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10464
call fcn.00427c00
mov eax, dword [0x4310a0]
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
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push 2
mov dword [ebp - 0x1045c], eax
xor esi, esi
mov dword [ebp - 0x10454], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x1044c], ebx
test ebx, ebx
je 0x40cbc7
cmp ebx, 0xffffffff
je 0x40cba7
push 0x228
lea ecx, [ebp - 0x10444]
push esi
push ecx
mov dword [ebp - 0x10450], 1
call fcn.0041f080
add esp, 0xc
lea edx, [ebp - 0x10448]
push edx
push ebx
mov dword [ebp - 0x10448], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40cba1
lea eax, [ebp - 0x10424]
push eax
call fcn.0041ee4d
add esp, 4
test eax, eax
je 0x40cb84
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40c9b0
sub ecx, esi
sar ecx, 1
lea edx, [ecx + ecx]
mov ecx, eax
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x40c9e6
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x42d7f0]
inc ecx
jmp 0x40c9c7
not eax
mov ecx, 0x6fcb9ae
cmp eax, ecx
jne 0x40cb84
lea ecx, [ebp - 0x10474]
push ecx
call fcn.0040e250
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10440]
lea edx, [ebp - 0x10458]
push edx
push eax
mov dword [ebp - 0x10474], eax
mov dword [ebp - 0x10458], 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x40ca39
mov eax, dword [ebp - 0x10458]
mov dword [ebp - 0x10468], eax
mov ecx, dword [ebp - 0x10440]
push ecx
call fcn.0040cc40
mov edx, dword [ebp - 0x10440]
push edx
push 0
push 0x410
mov dword [ebp - 0x10464], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x10454], edi
test edi, edi
je 0x40cb25
cmp edi, 0xffffffff
je 0x40cb25
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.0041f080
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x40cac1
lea eax, [ebp - 0x10470]
push eax
lea edx, [ebp - 0x21c]
call fcn.00404740
xor ecx, ecx
push 0xfffe
push ecx
lea edx, [ebp - 0x1021a]
push edx
mov word [ebp - 0x1021c], cx
call fcn.0041f080
add esp, 0xc
lea eax, [ebp - 0x1021c]
push eax
mov ecx, edi
call fcn.0040cde0
test eax, eax
je 0x40cb03
lea ecx, [ebp - 0x1046c]
push ecx
lea edx, [ebp - 0x1021c]
call fcn.00404740
mov ecx, dword [ebp - 0x10464]
mov edx, edi
call fcn.0040cef0
push edi
mov dword [ebp - 0x10460], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 0x10454], edi
mov ecx, dword [ebp - 0x1045c]
lea ebx, [ebp - 0x10474]
call fcn.0040dfc0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1046c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cb5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10470]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x1044c]
lea ecx, [ebp - 0x10448]
push ecx
push ebx
mov dword [ebp - 0x10448], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x40c985
mov esi, dword [ebp - 0x10450]
test ebx, ebx
je 0x40cbc7
cmp ebx, 0xffffffff
je 0x40cbc7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1044c], 0
mov ebx, dword [ebp - 0x1044c]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x40cbde
cmp edi, 0xffffffff
je 0x40cbde
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x40cbee
cmp ebx, 0xffffffff
je 0x40cbee
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x14]
xor ecx, ebp
call fcn.0041d326
mov esp, ebp
pop ebp
ret 4