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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040649
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x10055014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10003870
call fcn.10003020
test al, al
je 0x100065b6
call fcn.100034b0
test al, al
je 0x100065b6
call fcn.100035f0
test al, al
je 0x100065b6
lea ecx, [ebp - 0x28]
call fcn.10006050
mov esi, eax
cmp esi, 0x1005bb00
je 0x10006539
mov eax, dword [0x1005bb14]
cmp eax, 0x10
jb 0x10006513
inc eax
push eax
push dword [0x1005bb00]
call fcn.100026c0
push esi
mov ecx, 0x1005bb00
mov dword [0x1005bb14], 0xf
mov dword [0x1005bb10], 0
mov byte [0x1005bb00], 0
call fcn.10005ba0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10006552
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026c0
movaps xmm0, xmmword [0x1004d0b0]
xor ecx, ecx
movups xmmword [ebp - 0x24c], xmm0
mov word [ebp - 0x23c], 0xc11
mov byte [ebp - 0x23a], 0
mov al, byte [ebp - 0x24c]
xor byte [ebp + ecx - 0x24b], al
inc ecx
cmp ecx, 0x11
jb 0x10006572
lea eax, [ebp - 0x24b]
mov byte [ebp - 0x23a], 0
push eax
mov edx, 0x1005bb00
lea ecx, [ebp - 0x40]
call fcn.10008720
add esp, 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.10005fa0
test al, al
jne 0x100065cd
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
movaps xmm0, xmmword [0x1004d6a0]
xor ecx, ecx
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], 0x4049754b
mov dword [ebp - 0x224], 0x4a420852
mov word [ebp - 0x220], 0x4a
nop word [eax + eax]
mov al, byte [ebp - 0x238]
xor byte [ebp + ecx - 0x237], al
inc ecx
cmp ecx, 0x18
jb 0x10006600
lea eax, [ebp - 0x237]
mov byte [ebp - 0x21f], 0
push eax
mov edx, 0x1005bb00
lea ecx, [ebp - 0x28]
call fcn.10008720
add esp, 4
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x10006667
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1000664c
inc eax
push eax
push dword [ebp - 0x40]
call fcn.100026c0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.10005ba0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000667d
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026c0
lea ecx, [ebp - 0x40]
call fcn.10005fa0
test al, al
je 0x100065b6
push 0
push 2
xor bl, bl
mov dword [ebp - 0x218], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x100067bf
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x218]
push eax
push esi
call edi
cmp eax, 1
jne 0x100067bf
nop word [eax + eax]
cmp byte [ebp - 0x1f4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x100066ff
xor ecx, ecx
jmp 0x10006711
lea ecx, [ebp - 0x1f4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006708
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x28]
call fcn.100027c0
movaps xmm0, xmmword [0x1004d8f0]
xor ecx, ecx
movups xmmword [ebp - 0x230], xmm0
mov word [ebp - 0x220], 0x42
nop word [eax + eax]
mov al, byte [ebp - 0x230]
xor byte [ebp + ecx - 0x22f], al
inc ecx
cmp ecx, 0x10
jb 0x10006740
cmp byte [ebp - 0x22f], 0
mov byte [ebp - 0x21f], 0
jne 0x10006767
xor eax, eax
jmp 0x10006779
lea eax, [ebp - 0x22f]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006770
sub eax, edx
push eax
push ecx
lea eax, [ebp - 0x22f]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007d40
cmp eax, 0xffffffff
je 0x10006791
inc bl
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100067a3
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026c0
lea eax, [ebp - 0x218]
push eax
push esi
call edi
cmp eax, 1
je 0x100066e0
cmp bl, 3
ja 0x100065b6
push 0x98
lea eax, [ebp - 0xf0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xf0]
call fcn.100074c0
push 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
mov edx, str.DreamSoft_Client__
mov esi, eax
push 0x10005f40
push ecx
lea ecx, [ebp - 0xf0]
call fcn.10008830
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov edx, esi
mov ecx, eax
call fcn.10008a70
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov byte [ecx + esi + 0x40], 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x1004b6a4
mov ecx, eax
call fcn.10008830
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xf0]
call fcn.100074a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
mov eax, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
inc eax
push 0
push eax
push ecx
push 0xaf7b50
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call fcn.10014a50
call fcn.10018360
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x100062b0
push 0
push 0
mov dword [0x10057708], eax
mov dword [0x1005770c], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x58]
call fcn.100022a0
lea ecx, [ebp - 0xf0]
call fcn.100068f0
lea ecx, [ebp - 0x40]
call fcn.100022a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003ce35
mov esp, ebp
pop ebp
ret