Function at 0x459110
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5100
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
push 0
push 2
mov dword [ebp - 0x240], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24c], ebx
cmp ebx, 0xffffffff
je 0x459452
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x459452
nop
call fcn.00405c3d
test eax, eax
je case.0x45923a.1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x459258
movzx edi, ax
mov ecx, edi
call fcn.004098b0
mov ebx, eax
test ebx, ebx
je 0x459381
mov ecx, edi
shr ecx, 4
push 6
inc ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x459381
push edi
push eax
push ebx
call fcn.00409910
mov edi, eax
add esp, 0xc
test edi, edi
je 0x459381
movzx edx, word [edi]
mov ecx, 1
mov eax, dword [esi - 8]
mov ebx, edx
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x459218
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040595f
movzx edx, word [edi]
mov esi, dword [ebp - 0x14]
movzx ecx, dx
lea eax, [edi + 2]
push ecx
push eax
push ebx
push esi
call fcn.00594ceb
add esp, 0x10
cmp eax, 0x50
ja case.0x45923a.1
movzx eax, byte [eax + 0x4594d0]
jmp dword [eax*4 + 0x4594c0]
cmp ebx, dword [esi - 8]
jg case.0x45923a.20
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
jmp 0x459381
push eax
call fcn.00594cd0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4592cf
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
mov edi, dword [edx]
cmp dword [edx + 4], eax
je 0x459381
mov eax, dword [edx + 0xc]
lea ecx, [edx + 0xc]
shr eax, 0x1f
test al, al
je 0x4592a1
cmp dword [edx + 8], 0
jl case.0x45923a.20
xor eax, eax
mov dword [edx + 4], 0
mov word [esi], ax
jmp 0x459381
mov byte [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4592b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x459381
mov eax, dword [esi - 0xc]
lea ebx, [ebp - 0x21c]
sub ebx, esi
mov dword [ebp - 0x244], eax
sar ebx, 1
test edi, edi
js case.0x45923a.20
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x459307
push edi
lea ecx, [ebp - 0x14]
call fcn.0040595f
mov esi, dword [ebp - 0x14]
cmp ebx, dword [ebp - 0x244]
ja 0x45935b
mov eax, dword [esi - 8]
lea ecx, [edi + edi]
lea edx, [esi + ebx*2]
test ecx, ecx
je 0x45936f
test esi, esi
jne 0x459332
call fcn.00591458
mov dword [eax], 0x16
call fcn.0059137f
jmp 0x45936f
test edx, edx
je 0x459320
add eax, eax
cmp eax, ecx
jae 0x45934e
call fcn.00591458
mov dword [eax], 0x22
call fcn.0059137f
jmp 0x45936f
push ecx
push edx
push esi
call fcn.0058d260
add esp, 0xc
jmp 0x45936f
push edi
lea eax, [ebp - 0x21c]
push eax
push dword [esi - 8]
push esi
call fcn.00405d4d
add esp, 0x10
cmp edi, dword [esi - 8]
jg case.0x45923a.20
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp - 0x248]
xor ecx, ecx
mov dword [ebp - 4], 3
mov dword [ebp - 0x244], ecx
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x459407
xor ebx, ebx
cmp dword [edi + ebx + 0x14], 8
lea eax, [edi + ebx]
jb 0x4593be
mov eax, dword [eax]
test eax, eax
je case.0x45923a.1
push eax
push esi
call fcn.0059fadd
add esp, 8
test eax, eax
je 0x45946e
mov eax, dword [ebp - 0x248]
add ebx, 0x18
inc dword [ebp - 0x244]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x244], eax
jb 0x4593b2
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov dword [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45942c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x24c]
lea eax, [ebp - 0x240]
push eax
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x459180
push ebx
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x238]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x459407
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x45940d
push 0x80004005
call fcn.00405d25
push 0x80070057
call fcn.00405d25
push 0x8007000e
call fcn.00405d25
nop
inc ecx
xchg edx, eax
inc ebp
add byte [ebp - 0x54ffba6c], dh
xchg esp, eax
inc ebp
add byte [ecx + 0x4594], ah
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3