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

Disassembly:
sub esp, 0x134
mov eax, dword [0x10040cf8]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
push dword [0x100410f0]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov ecx, dword [sym.imp.ucrtbased.dll_malloc]
test eax, eax
je 0x10019df8
mov dword [esp + 0x14], 0x10031cb0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
add edi, 0x14
mov dword [esp + 0x10], edi
cmp byte [ebx + 0x13], 0
je 0x100199ce
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 0x100199be
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 0x100199a8
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], 0x10031ce0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x10019a28
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 0x10019a22
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 0x10019a04
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 [0x100410e8]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x10019d3b
mov dword [esp + 0x10], 0x10031e3c
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x10019ab0
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 0x10019aa6
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 0x10019a90
mov byte [esi + ebp], 0
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x10031e68
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x10019b14
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 0x10019b0e
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 0x10019af0
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 0x10019b9c
nop word [eax + eax]
mov ecx, dword [0x100410c0]
lea eax, [esp + 0x3c]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10019b80
test dl, dl
je 0x10019b7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10019b80
add eax, 2
add ecx, 2
test dl, dl
jne 0x10019b60
xor eax, eax
jmp 0x10019b85
sbb eax, eax
or eax, 1
test eax, eax
je 0x10019c69
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10019b50
cmp esi, 0xffffffff
je 0x10019d33
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0x10032098
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x10019c04
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 0x10019bfa
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 0x10019be4
mov byte [esi + ebp], 0
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x100320f0
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x10019d24
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 0x10019d1e
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 0x10019c46
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x10019d1e
mov dword [esp + 0x10], 0x10031f1c
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x10019cc1
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 0x10019cb7
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 0x10019ca1
mov byte [esi + ebp], 0
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x10031ff0
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x10019d24
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 0x10019d1e
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 0x10019d00
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], 0x10031ef0
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x10019d93
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 0x10019d89
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 0x10019d73
mov byte [esi + ebp], 0
mov edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x10031f48
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x10019d24
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 0x10019d1e
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 0x10019dd5
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x10019d1e
mov dword [esp + 0x10], 0x10031d6c
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add edi, 0x14
mov dword [esp + 0x14], edi
cmp byte [ebx + 0x13], 0
je 0x10019e56
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 0x10019e46
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 0x10019e30
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], 0x10031d98
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
cmp byte [ebp + 0x13], 0
je 0x10019d24
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 0x10019d1e
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 0x10019e94
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x10019d1e