Function at 0x410540
Capabilities:
Enumerate processes

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 0x6932d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x75d580]
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 - 0x284], edx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 4], 0
mov eax, dword [edx]
cmp eax, dword [edx + 4]
je 0x41059e
mov dword [edx + 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x290], esi
cmp esi, 0xffffffff
je 0x4105d8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41061d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov byte [ebp - 0x279], al
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x41091b
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41090b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410939
jmp 0x41090b
cmp dword [ebx + 0x1c], 7
lea edi, [ebx + 8]
mov esi, dword [ebx + 0x18]
xorps xmm0, xmm0
cmova edi, dword [ebx + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 0x7ffffffe
ja 0x41093e
cmp esi, 7
ja 0x410665
mov edx, 7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edx
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2c], xmm0
jmp 0x4106bf
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x410678
mov eax, bind
jmp 0x410682
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00402370
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x18], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], esi
call fcn.0053f540
mov edx, dword [ebp - 0x18]
add esp, 0x14
mov esi, dword [ebp - 0x1c]
cmp edx, 7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmova eax, ecx
lea edi, [ebp - 0x2c]
cmova edi, ecx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x280], eax
cmova esi, ecx
cmp esi, eax
je 0x410710
sub edi, esi
nop word [eax + eax]
movzx eax, word [esi]
push eax
call fcn.00555550
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x280]
jne 0x4106f0
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410730
sub ecx, edx
lea eax, [ebp - 0x254]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402060
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov edi, dword [ebp - 0x44]
cmp edx, 7
mov esi, dword [ebp - 0x34]
cmova eax, edi
cmova ecx, edi
lea eax, [eax + esi*2]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x288], eax
cmova esi, edi
cmp esi, eax
je 0x4107a3
sub ecx, esi
mov edi, ecx
movzx eax, word [esi]
push eax
call fcn.00555550
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x288]
jne 0x410782
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
lea esi, [ebp - 0x44]
cmova ecx, dword [ebp - 0x2c]
cmp edx, 7
mov edx, eax
cmova esi, edi
cmp dword [ebp - 0x1c], eax
cmovb edx, dword [ebp - 0x1c]
test edx, edx
je 0x4107e4
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x410833
add ecx, 2
sub edx, 1
jne 0x4107d0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x1c]
jb 0x410833
ja 0x410833
mov ecx, dword [ebp - 0x28c]
mov eax, dword [ebp - 0x270]
cmp eax, dword [ecx]
je 0x410833
mov edx, dword [ebp - 0x284]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x410821
mov ecx, 0x8b
lea esi, [ebp - 0x278]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [edx + 4], 0x22c
jmp 0x410830
lea ecx, [ebp - 0x278]
push ecx
push eax
mov ecx, edx
call fcn.00411200
mov edi, dword [ebp - 0x44]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 7
jbe 0x41086e
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x410864
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410939
push ecx
push edi
call fcn.0048a4f6
add esp, 8
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x410710
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x284]
mov eax, 0x75ded953
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
imul ecx
mov ecx, dword [ebp - 0x18]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
setne al
mov byte [ebp - 0x279], al
cmp ecx, 7
jbe 0x4108f2
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4108e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410939
push ecx
push edx
call fcn.0048a4f6
mov al, byte [ebp - 0x279]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
jmp 0x4105e0
push ecx
push edx
call fcn.0048a4f6
mov al, byte [ebp - 0x279]
add esp, 8
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.0048a267
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00543627
call fcn.00401460
int3