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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a89c1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x388
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100034f0
call fcn.10002c90
test al, al
je 0x1000697d
call fcn.10003120
test al, al
je 0x1000697d
call fcn.10003270
test al, al
je 0x1000697d
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x128], 0
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push eax
lea ecx, [ebp - 0x138]
movups xmmword [ebp - 0x138], xmm0
call fcn.10002620
mov cl, 0xd
mov dword [ebp - 4], 0
mov al, 0x51
mov byte [ebp - 0x32c], cl
xor al, cl
mov byte [ebp - 0x32a], 0
lea edx, [ebp - 0x32b]
mov byte [ebp - 0x32b], al
mov byte [ebp - 0x32a], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10006772
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x32b]
sub edx, ecx
cmp dword [ebp - 0x124], 0xf
push edx
lea ecx, [ebp - 0x138]
mov edx, esi
cmova ecx, dword [ebp - 0x138]
push eax
push ecx
call fcn.1000a330
mov ecx, eax
mov dword [ebp - 0x33c], 0
add esp, 0xc
mov dword [ebp - 0x338], 0
cmp esi, ecx
lea eax, [ebp - 0x138]
xorps xmm0, xmm0
cmovb ecx, esi
cmp dword [ebp - 0x124], 0xf
push ecx
cmova eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x34c]
push eax
movups xmmword [ebp - 0x34c], xmm0
call fcn.10002620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x1000682f
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006825
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006ee4
push ecx
push edx
call fcn.100859f6
add esp, 8
lea eax, [ebp - 0x34c]
mov ecx, 0x100c9bb4
push eax
call fcn.100082d0
mov ecx, dword [ebp - 0x338]
cmp ecx, 0xf
jbe 0x1000687a
mov edx, dword [ebp - 0x34c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006870
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006ef3
push ecx
push edx
call fcn.100859f6
add esp, 8
movaps xmm0, xmmword [0x100bfbb0]
xor ecx, ecx
movups xmmword [ebp - 0x394], xmm0
mov word [ebp - 0x384], 0x5449
mov byte [ebp - 0x382], 0
nop word [eax + eax]
mov al, byte [ebp - 0x394]
xor byte [ebp + ecx - 0x393], al
inc ecx
cmp ecx, 0x11
jb 0x100068a0
mov edx, dword [0x100c9bc4]
lea ecx, [ebp - 0x393]
mov byte [ebp - 0x382], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100068d0
sub ecx, esi
mov esi, 0x7fffffff
mov eax, esi
sub eax, edx
cmp eax, ecx
jb 0x10006ee9
cmp dword [0x100c9bc8], 0xf
mov eax, 0x100c9bb4
push ecx
cmova eax, dword [0x100c9bb4]
lea ecx, [ebp - 0x393]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x334]
lea ecx, [ebp - 0x168]
call fcn.1000cfb0
push 0xb8
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.10087b80
cmp dword [ebp - 0x154], 0xf
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0xd8]
cmova eax, dword [ebp - 0x168]
push eax
call fcn.10007c40
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd8]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xcc]
mov dword [ebp - 0x32c], eax
call fcn.10006040
test byte [ebp - 0x32c], 6
je 0x10006994
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 [0x100bf600]
xor ecx, ecx
movups xmmword [ebp - 0x368], xmm0
mov dword [ebp - 0x358], 0x2c251927
mov dword [ebp - 0x354], 0x262e643e
mov word [ebp - 0x350], 0x26
mov al, byte [ebp - 0x368]
xor byte [ebp + ecx - 0x367], al
inc ecx
cmp ecx, 0x18
jb 0x100069c1
mov edx, dword [0x100c9bc4]
lea ecx, [ebp - 0x367]
mov byte [ebp - 0x34f], 0
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100069f0
sub ecx, edi
sub esi, edx
cmp esi, ecx
jb 0x10006eee
cmp dword [0x100c9bc8], 0xf
mov eax, 0x100c9bb4
push ecx
cmova eax, dword [0x100c9bb4]
lea ecx, [ebp - 0x367]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x334]
lea ecx, [ebp - 0x138]
call fcn.1000cfb0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x168]
call fcn.100082d0
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x10006a7e
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006a74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006ef3
push ecx
push edx
call fcn.100859f6
add esp, 8
push 0xb8
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.10087b80
cmp dword [ebp - 0x154], 0xf
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0xd8]
cmova eax, dword [ebp - 0x168]
push eax
call fcn.10007c40
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd8]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xcc]
mov dword [ebp - 0x32c], eax
call fcn.10006040
test byte [ebp - 0x32c], 6
jne 0x1000697d
push 0
xor al, al
mov dword [ebp - 0x328], 0x128
push 2
mov byte [ebp - 0x32d], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x328]
push eax
push esi
mov dword [ebp - 0x32c], esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x10006c62
lea eax, [ebp - 0x328]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x10006c62
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x124], 0
movups xmmword [ebp - 0x138], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006b58
sub ecx, edx
lea eax, [ebp - 0x304]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.10002620
movaps xmm0, xmmword [0x100bf0f0]
xor eax, eax
movups xmmword [ebp - 0x380], xmm0
mov word [ebp - 0x370], 0x12
nop dword [eax]
mov cl, byte [ebp - 0x380]
xor byte [ebp + eax - 0x37f], cl
inc eax
cmp eax, 0x10
jb 0x10006b90
lea edx, [ebp - 0x37f]
mov byte [ebp - 0x36f], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10006bb3
mov edi, dword [ebp - 0x124]
lea eax, [ebp - 0x37f]
mov esi, dword [ebp - 0x138]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x128]
lea ecx, [ebp - 0x138]
cmp edi, 0xf
push eax
cmova ecx, esi
push ecx
call fcn.1000a3f0
mov cl, byte [ebp - 0x32d]
add esp, 0xc
inc cl
cmp eax, 0xffffffff
movzx edx, cl
movzx ecx, byte [ebp - 0x32d]
cmove edx, ecx
mov byte [ebp - 0x32d], dl
cmp edi, 0xf
jbe 0x10006c39
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10006c2f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006ee4
push ecx
push esi
call fcn.100859f6
add esp, 8
lea eax, [ebp - 0x328]
push eax
push dword [ebp - 0x32c]
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x10006b31
cmp byte [ebp - 0x32d], 3
ja 0x1000697d
push 0x98
lea eax, [ebp - 0x200]
push 0
push eax
call fcn.10087b80
add esp, 8
lea ecx, [ebp - 0x200]
call fcn.10007fd0
mov byte [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x100bf150]
movups xmmword [ebp - 0x348], xmm0
mov dword [ebp - 0x338], 0x275c08
mov al, byte [ebp - 0x348]
xor byte [ebp + ecx - 0x347], al
inc ecx
cmp ecx, 0x12
jb 0x10006ca1
lea edx, [ebp - 0x347]
mov byte [ebp - 0x335], 0
lea ecx, [ebp - 0x200]
call fcn.10009e00
mov esi, eax
lea eax, [ebp - 0x380]
push 0
push 8
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + esi + 0x14], ecx
call fcn.10081cb2
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.1000a0a0
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 fcn.10008110
mov dl, 0xa
mov byte [ebp - 0x32a], 0
mov cl, 0x57
mov byte [ebp - 0x32c], dl
xor cl, dl
mov byte [ebp - 0x32a], 0
mov byte [ebp - 0x32b], cl
lea edx, [ebp - 0x32b]
mov ecx, eax
call fcn.10009e00
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x200]
call fcn.10007ee0
mov byte [ebp - 4], 3
lea esi, [ebp - 0x150]
mov edi, dword [ebp - 0x140]
inc edi
cmp dword [ebp - 0x13c], 0xf
cmova esi, dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push edi
push esi
push 0xaf7b50
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call fcn.1001ac70
call fcn.1001f540
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x10006210
push 0
push 0
mov dword [0x100ce500], eax
mov dword [0x100ce504], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0xf
jbe 0x10006dff
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006df5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006ef3
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x204], eax
lea ecx, [ebp - 0x1fc]
call fcn.1000ce50
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x204], eax
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10081bf7
mov ecx, dword [ebp - 0x154]
add esp, 4
cmp ecx, 0xf
jbe 0x10006ec6
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006ebc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006ef3
push ecx
push edx
call fcn.100859f6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008ac0f
call fcn.10002460
call fcn.10002460
call fcn.1008ac0f
int3