Function at 0x10006655
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x10022369
call fcn.1002159d
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x1000667f
mov eax, dword [esi]
jmp 0x10006681
mov eax, esi
mov byte [eax], bl
xor edi, edi
mov dword [ebp - 4], ebx
inc edi
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28], edi
jb 0x10006699
mov eax, dword [esi]
jmp 0x1000669b
mov eax, esi
mov byte [eax], bl
mov dword [ebp - 0x24], 0x3b9aca00
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x1c], 0x3e8
mov dword [ebp - 0x20], 0x2710
test edx, edx
je 0x100067af
mov ecx, dword [edx + 0x44]
xor edx, edx
mov eax, dword [ebp + 0xc]
div dword [ebp - 0x24]
xor edx, edx
mov byte [ebp - 0x4c], bl
dec eax
cmp eax, 2
mov eax, ecx
jbe 0x10006731
div dword [ebp - 0x14]
movaps xmm0, xmmword [0x1002a580]
push edx
xor edx, edx
mov dword [ebp - 0x50], 0x131f0349
div dword [ebp - 0x18]
mov eax, ecx
push edx
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x989680
push edx
xor edx, edx
div ecx
movups xmmword [ebp - 0x70], xmm0
mov edx, ebx
movaps xmm0, xmmword [0x10029ed0]
push eax
movups xmmword [ebp - 0x60], xmm0
mov cl, byte [ebp - 0x70]
xor byte [ebp + edx - 0x6f], cl
inc edx
cmp edx, 0x23
jb 0x10006722
jmp 0x10006780
div dword [ebp - 0x14]
movaps xmm0, xmmword [0x10029fb0]
push edx
xor edx, edx
mov dword [ebp - 0x50], 0x4a465a10
div dword [ebp - 0x18]
mov eax, ecx
push edx
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x989680
push edx
xor edx, edx
div ecx
movups xmmword [ebp - 0x70], xmm0
mov edx, ebx
movaps xmm0, xmmword [0x1002a5a0]
push eax
movups xmmword [ebp - 0x60], xmm0
mov cl, byte [ebp - 0x70]
xor byte [ebp + edx - 0x6f], cl
inc edx
cmp edx, 0x23
jb 0x10006773
sub esp, 0x18
mov byte [ebp - 0x4c], bl
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.10004090
lea eax, [ebp - 0x48]
push eax
call fcn.10003b75
add esp, 0x2c
mov ecx, esi
push eax
call fcn.10006dde
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.10003f3c
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100068a9
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x100068a9
mov eax, dword [ebp + 0xc]
xor edx, edx
div dword [ebp - 0x24]
xor edx, edx
mov byte [ebp - 0x4c], bl
dec eax
cmp eax, 2
mov eax, ecx
jbe 0x1000682b
div dword [ebp - 0x14]
movaps xmm0, xmmword [0x1002a520]
push edx
xor edx, edx
mov dword [ebp - 0x50], 0x1519054f
div dword [ebp - 0x18]
mov eax, ecx
push edx
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x989680
push edx
xor edx, edx
div ecx
movups xmmword [ebp - 0x70], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x10029f00]
push eax
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x23
jb 0x1000681c
jmp 0x1000687a
div dword [ebp - 0x14]
movaps xmm0, xmmword [0x1002a540]
push edx
xor edx, edx
mov dword [ebp - 0x50], 0x171b074d
div dword [ebp - 0x18]
mov eax, ecx
push edx
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x989680
push edx
xor edx, edx
div ecx
movups xmmword [ebp - 0x70], xmm0
mov ecx, ebx
movaps xmm0, xmmword [str._a_FMW_a_FMQ_a_FMR_aX_t]
push eax
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x23
jb 0x1000686d
sub esp, 0x18
mov byte [ebp - 0x4c], bl
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.10004090
lea eax, [ebp - 0x48]
push eax
call fcn.10003b75
add esp, 0x2c
mov ecx, esi
push eax
call fcn.10006dde
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.10003f3c
mov eax, esi
call fcn.10021566
ret