Function at 0x1001ab90
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x134
mov eax, dword [0x10040bd0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
push dword [0x10040fe8]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov ecx, dword [sym.imp.ucrtbased.dll_malloc]
test eax, eax
je 0x1001b048
mov dword [esp + 0x14], 0x10032660
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
add edi, 0x14
mov dword [esp + 0x10], edi
cmp byte [ebx + 0x13], 0
je 0x1001ac1e
mov eax, dword [ebx + 0xf]
inc eax
push eax
call ecx
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov esi, eax
test ebp, ebp
je 0x1001ac0e
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, ebp
jb 0x1001abf8
mov ecx, dword [sym.imp.ucrtbased.dll_malloc]
mov edi, esi
mov byte [esi + ebp], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x100326b8
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1001ac78
mov eax, dword [ebp + 0xf]
inc eax
push eax
call ecx
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001ac72
sub esi, ebx
mov edi, eax
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
cmp edx, edi
jb 0x1001ac54
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov byte [eax + ebx], 0
mov esi, ebx
push 0x200030
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push dword [0x10040fcc]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x1001af8b
mov dword [esp + 0x10], 0x10032800
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x1001ad00
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov esi, eax
test ebp, ebp
je 0x1001acf6
sub edi, esi
nop dword [eax]
mov eax, edx
lea ecx, [edx + esi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, ebp
jb 0x1001ace0
mov byte [esi + ebp], 0
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x10032858
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1001ad64
mov eax, dword [ebp + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001ad5e
sub esi, ebx
mov edi, eax
nop word [eax + eax]
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
cmp edx, edi
jb 0x1001ad40
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [eax + ebx], 0
mov esi, ebx
push 0x200030
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 2
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1001adec
nop word [eax + eax]
mov ecx, dword [0x10040fc4]
lea eax, [esp + 0x3c]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001add0
test dl, dl
je 0x1001adcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001add0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001adb0
xor eax, eax
jmp 0x1001add5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001aeb9
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1001ada0
cmp esi, 0xffffffff
je 0x1001af83
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0x100329cc
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x1001ae54
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov esi, eax
test ebp, ebp
je 0x1001ae4a
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, ebp
jb 0x1001ae34
mov byte [esi + ebp], 0
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x10032ae8
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1001af74
mov eax, dword [ebp + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001af6e
sub esi, ebx
mov edi, eax
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
cmp edx, edi
jb 0x1001ae96
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x1001af6e
mov dword [esp + 0x10], 0x100328ec
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x1001af11
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov esi, eax
test ebp, ebp
je 0x1001af07
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, ebp
jb 0x1001aef1
mov byte [esi + ebp], 0
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x100329f8
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1001af74
mov eax, dword [ebp + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001af6e
sub esi, ebx
mov edi, eax
nop dword [eax + eax]
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
cmp edx, edi
jb 0x1001af50
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [eax + ebx], 0
mov esi, ebx
push 0x200030
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [esp + 0x10], 0x1003282c
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x1001afe3
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov esi, eax
test ebp, ebp
je 0x1001afd9
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, ebp
jb 0x1001afc3
mov byte [esi + ebp], 0
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x10032918
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1001af74
mov eax, dword [ebp + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001af6e
sub esi, ebx
mov edi, eax
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
cmp edx, edi
jb 0x1001b025
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x1001af6e
mov dword [esp + 0x10], 0x1003268c
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x1001b0a6
mov eax, dword [ebx + 0xf]
inc eax
push eax
call ecx
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov esi, eax
test ebp, ebp
je 0x1001b096
sub edi, esi
nop dword [eax]
mov eax, edx
lea ecx, [edx + esi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, ebp
jb 0x1001b080
mov ecx, dword [sym.imp.ucrtbased.dll_malloc]
mov edi, esi
mov byte [esi + ebp], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0x10032750
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x1001af74
mov eax, dword [ebp + 0xf]
inc eax
push eax
call ecx
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001af6e
sub esi, ebx
mov edi, eax
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
cmp edx, edi
jb 0x1001b0e4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x1001af6e