Function at 0x41a440
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447b7f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4d8
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
xor eax, eax
push eax
push 2
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x488], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x494], edi
cmp edi, 0xffffffff
je 0x41a886
lea eax, [ebp - 0x480]
mov dword [ebp - 0x480], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41a87f
nop
push dword [ebp - 0x478]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x490], esi
test esi, esi
je 0x41a869
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004294d0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
xor eax, eax
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
mov word [ebp - 0x4b0], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x4a0], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x49c], 7
lea edx, [eax + 2]
movups xmmword [ebp - 0x23c], xmm0
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a560
sub eax, edx
lea ecx, [ebp - 0x4b0]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040b6e0
lea eax, [ebp - 0x4b0]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.0041ae30
xor ecx, ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], cx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], ecx
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.0041bf90
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4b8]
cmp edx, 8
jb 0x41a61f
mov ecx, dword [ebp - 0x4cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a615
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a8a4
push edx
push ecx
call fcn.004274df
add esp, 8
xor eax, eax
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 7
mov word [ebp - 0x4cc], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x49c]
cmp edx, 8
jb 0x41a680
mov ecx, dword [ebp - 0x4b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a676
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a8a4
push edx
push ecx
call fcn.004274df
add esp, 8
xor eax, eax
mov dword [ebp - 0x4a0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x49c], 7
push 0x44
mov word [ebp - 0x4b0], ax
movlpd qword [ebp - 0x228], xmm0
call fcn.00427134
mov edi, eax
add esp, 4
mov dword [ebp - 0x4b4], edi
push 0x44
push 0
push edi
call fcn.004294d0
xor eax, eax
mov dword [ebp - 0x4d4], 0
add esp, 0xc
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov byte [ebp - 4], 8
lea esi, [edi + 8]
mov eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0x468]
or eax, 1
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x478]
mov dword [edi], eax
lea eax, [ebp - 0x24c]
mov dword [edi + 4], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x498], esi
call fcn.00409f50
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 9
lea ecx, [esi + 0x18]
push eax
call fcn.0041b220
lea eax, [ebp - 0x4e4]
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x2c]
push eax
call fcn.00409f50
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x228]
push dword [ebp - 0x498]
mov dword [ebp - 0x228], 0
push edi
mov dword [ebp - 0x224], 0
call fcn.0041bb80
mov dword [ebp - 4], 0xd
and dword [ebp - 0x484], 0xfffffffe
mov edx, dword [ebp - 0x4d0]
cmp edx, 8
jb 0x41a7cc
mov ecx, dword [ebp - 0x4e4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a7c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a8a4
push edx
push ecx
call fcn.004274df
add esp, 8
mov edx, dword [ebp - 0x48c]
mov ecx, dword [edx + 8]
cmp dword [edx + 0xc], ecx
je 0x41a806
mov esi, dword [ebp - 0x224]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x41a7f5
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x228]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [edx + 8], 8
jmp 0x41a81c
lea eax, [ebp - 0x228]
push eax
push ecx
lea ecx, [edx + 4]
call fcn.0041b660
mov esi, dword [ebp - 0x224]
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x41a851
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41a851
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x41a851
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a0a0
mov edi, dword [ebp - 0x494]
lea eax, [ebp - 0x480]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41a4d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426e91
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042c3c9
int3