Function at 0x100a31f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x104
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x11c]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [esp + 0x11c]
push esi
mov dword [esp + 0x40], eax
mov esi, ecx
mov eax, dword [esp + 0x12c]
push edi
mov edi, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], eax
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0xa0], xmm0
movups xmmword [esp + 0xb0], xmm0
movups xmmword [esp + 0xc0], xmm0
nop word [eax + eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0x90]
sub edx, 1
jne 0x100a3260
cmp dword [esp + 0x90], edi
jne 0x100a3286
mov dword [ebp], edx
mov dword [ebx], edx
xor eax, eax
jmp 0x100a3626
mov edx, dword [ebx]
mov ecx, 1
nop dword [eax]
cmp dword [esp + ecx*4 + 0x90], 0
jne 0x100a32a0
inc ecx
cmp ecx, 0xf
jbe 0x100a3290
cmp edx, ecx
mov dword [esp + 0x1c], ecx
mov eax, 0xf
cmovb edx, ecx
nop
cmp dword [esp + eax*4 + 0x90], 0
jne 0x100a32bf
sub eax, 1
jne 0x100a32b0
cmp edx, eax
mov dword [esp + 0x30], eax
cmova edx, eax
mov dword [esp + 0x18], edx
mov dword [ebx], edx
mov edx, 1
shl edx, cl
cmp ecx, eax
jae 0x100a32f4
nop dword [eax]
sub edx, dword [esp + ecx*4 + 0x90]
js 0x100a3623
inc ecx
add edx, edx
cmp ecx, eax
jb 0x100a32e0
lea ebx, [eax*4]
mov ecx, edx
sub edx, dword [esp + ebx + 0x90]
mov dword [esp + 0x50], edx
js 0x100a3623
xor edx, edx
mov dword [esp + ebx + 0x90], ecx
mov dword [esp + 0xd4], edx
sub eax, 1
je 0x100a333b
xor ecx, ecx
add edx, dword [esp + ecx + 0x94]
lea ecx, [ecx + 4]
mov dword [esp + ecx + 0xd4], edx
sub eax, 1
jne 0x100a3325
xor ecx, ecx
nop dword [eax]
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x100a335f
mov eax, dword [esp + edx*4 + 0xd0]
mov dword [eax*4 + 0x101fa8a8], ecx
inc eax
mov dword [esp + edx*4 + 0xd0], eax
inc ecx
cmp ecx, edi
jb 0x100a3340
mov eax, dword [esp + ebx + 0xd0]
xor edx, edx
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov esi, dword [esp + 0x1c]
neg ecx
mov dword [esp + 0x4c], eax
xor edi, edi
or eax, 0xffffffff
mov dword [esp + 0x20], edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0x34], 0x101fa8a8
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], ebx
cmp esi, dword [esp + 0x30]
jg 0x100a360d
lea edx, [esp + 0x90]
lea edx, [edx + esi*4]
mov dword [esp + 0x2c], edx
mov edx, ebx
nop
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
je 0x100a35f9
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x3c], ebp
dec ebp
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x18]
add ebp, ecx
cmp esi, ebp
jle 0x100a34dc
mov edi, dword [esp + 0x30]
inc eax
sub edi, ebp
mov dword [esp + 0x14], eax
cmp edi, dword [esp + 0x18]
mov edx, esi
mov eax, 1
cmova edi, dword [esp + 0x18]
sub edx, ebp
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x3c]
jbe 0x100a3443
mov esi, dword [esp + 0x2c]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x28]
add eax, ecx
cmp edx, edi
jae 0x100a3443
inc edx
cmp edx, edi
jae 0x100a3443
nop
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x100a3443
inc edx
sub eax, ecx
cmp edx, edi
jb 0x100a3430
mov ecx, edx
mov edi, 1
shl edi, cl
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
lea esi, [eax + edi]
cmp esi, 0x5a0
ja 0x100a3623
mov ebx, dword [esp + 0x44]
mov dword [ecx], esi
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov dword [esp + eax*4 + 0x54], ebx
test eax, eax
je 0x100a34bc
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x10], dl
mov edx, esi
mov dword [esp + eax*4 + 0xd0], esi
mov eax, dword [esp + 0x18]
shr edx, cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x11], al
mov eax, ebx
mov ecx, dword [esp + ecx*4 + 0x50]
sub eax, ecx
sar eax, 2
sub eax, edx
mov word [esp + 0x12], ax
mov eax, dword [esp + 0x10]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
jmp 0x100a34c2
mov ecx, dword [esp + 0x48]
mov dword [ecx], ebx
mov esi, dword [esp + 0x1c]
mov ecx, ebp
add ebp, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
cmp esi, ebp
jg 0x100a33f1
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x1c]
mov esi, dword [esp + 0x34]
sub al, cl
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x4c]
lea eax, [eax*4 + 0x101fa8a8]
cmp esi, eax
jb 0x100a3500
mov byte [esp + 0x10], 0xc0
jmp 0x100a3551
mov ecx, dword [esi]
add esi, 4
mov eax, dword [esp + 0x118]
mov dword [esp + 0x34], esi
cmp ecx, eax
jae 0x100a352b
cmp ecx, 0x100
mov word [esp + 0x12], cx
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x10], al
jmp 0x100a3551
sub ecx, eax
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x120]
mov al, byte [eax + ecx*2]
add al, 0x50
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x11c]
mov ax, word [eax + ecx*2]
mov word [esp + 0x12], ax
mov ecx, dword [esp + 0x1c]
mov esi, 1
sub ecx, dword [esp + 0x24]
shl esi, cl
mov ecx, dword [esp + 0x24]
shr edx, cl
cmp edx, edi
jae 0x100a3579
mov eax, dword [esp + 0x10]
nop
mov dword [ebx + edx*4], eax
add edx, esi
cmp edx, edi
jb 0x100a3570
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov esi, dword [esp + 0x20]
lea ecx, [ecx - 1]
shl eax, cl
test esi, eax
je 0x100a3598
nop
xor esi, eax
shr eax, 1
test esi, eax
jne 0x100a3590
mov ecx, dword [esp + 0x24]
xor esi, eax
mov edx, dword [esp + 0x14]
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x20], esi
and eax, esi
cmp eax, dword [esp + edx*4 + 0xd0]
je 0x100a35e2
mov ebx, dword [esp + 0x18]
nop dword [eax]
sub ecx, ebx
mov eax, 1
shl eax, cl
dec edx
dec eax
and eax, esi
cmp eax, dword [esp + edx*4 + 0xd0]
jne 0x100a35c0
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jne 0x100a33d6
add dword [esp + 0x2c], 4
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0x30]
jle 0x100a33c0
cmp dword [esp + 0x50], 0
je 0x100a327f
cmp dword [esp + 0x30], 1
je 0x100a327f
or eax, 0xffffffff
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x104
ret