Function at 0x100c3e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [0x101ce580]
test ecx, 0x2000000
jne 0x100c3ea3
mov esi, edx
mov edi, dword [edi]
test edi, edi
setne dh
test eax, eax
setne dl
and dl, dh
test ecx, 0x200
jne 0x100c3ecc
test dl, dl
je 0x100c4146
mov edx, esi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
nop
movzx ecx, byte [ebx + edi]
xor cl, byte [esi]
inc esi
mov byte [edx], cl
inc edx
lea ecx, [eax - 1]
inc edi
and edi, 0xf
je 0x100c414d
cmp eax, 1
mov eax, ecx
jne 0x100c3e80
jmp 0x100c414d
mov edi, dword [edi]
test eax, eax
je 0x100c3f06
test edi, edi
je 0x100c3f06
mov ebx, dword [ebp + 0x1c]
movzx ecx, byte [ebx + edi]
xor cl, byte [esi]
inc esi
mov byte [edx], cl
inc edx
lea ecx, [eax - 1]
inc edi
and edi, 0xf
je 0x100c3f08
cmp eax, 1
mov eax, ecx
jne 0x100c3eb0
jmp 0x100c3f08
test dl, dl
je 0x100c4340
mov edx, esi
mov esi, dword [ebp + 8]
nop dword [eax]
mov ecx, dword [ebp + 0x1c]
movzx ecx, byte [ecx + edi]
xor cl, byte [esi]
inc esi
mov byte [edx], cl
inc edx
lea ecx, [eax - 1]
inc edi
and edi, 0xf
je 0x100c4347
cmp eax, 1
mov eax, ecx
jne 0x100c3ee0
jmp 0x100c4347
mov ecx, eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
bswap eax
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
mov dword [ebp - 0x20], edi
jae 0x100c401e
test ecx, ecx
je 0x100c4338
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], edx
xorps xmm0, xmm0
mov eax, dword [ebp + 0x1c]
movups xmmword [eax], xmm0
mov esi, dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push 1
push eax
push eax
call fcn.10001b90
add esp, 0x14
inc ebx
bswap ebx
mov dword [esi + 0xc], ebx
jne 0x100c3fdd
movzx eax, byte [esi + 0xb]
inc eax
mov byte [esi + 0xb], al
shr eax, 8
movzx ecx, byte [esi + 0xa]
add ecx, eax
mov byte [esi + 0xa], cl
shr ecx, 8
movzx eax, byte [esi + 9]
add eax, ecx
mov byte [esi + 9], al
shr eax, 8
movzx ecx, byte [esi + 8]
add ecx, eax
mov byte [esi + 8], cl
shr ecx, 8
movzx eax, byte [esi + 7]
add eax, ecx
mov byte [esi + 7], al
shr eax, 8
movzx ecx, byte [esi + 6]
add ecx, eax
mov byte [esi + 6], cl
shr ecx, 8
movzx eax, byte [esi + 5]
add eax, ecx
mov byte [esi + 5], al
shr eax, 8
movzx ecx, byte [esi + 4]
add ecx, eax
mov byte [esi + 4], cl
shr ecx, 8
movzx eax, byte [esi + 3]
add eax, ecx
mov byte [esi + 3], al
shr eax, 8
movzx ecx, byte [esi + 2]
add ecx, eax
mov byte [esi + 2], cl
shr ecx, 8
movzx eax, byte [esi + 1]
add eax, ecx
mov byte [esi + 1], al
add byte [esi], ah
mov ebx, dword [ebp - 0x1c]
test bl, 1
mov edi, dword [ebp - 0x20]
jne 0x100c40f8
mov ecx, ebx
mov edx, dword [ebp + 0x1c]
jmp 0x100c4111
shl esi, 4
sub edi, esi
mov ecx, dword [ebp - 0x10]
add ecx, esi
mov eax, dword [ebp - 0x18]
add eax, esi
cmp edi, 0xf
mov edx, ecx
mov esi, eax
mov ecx, edi
jbe 0x100c3f1f
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], edx
mov eax, ecx
shr eax, 4
mov ebx, esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
neg ecx
add esi, eax
mov edi, 0
cmovb esi, edi
mov edi, ebx
cmovae ecx, eax
mov eax, dword [ebp + 0x18]
mov ebx, esi
mov esi, ecx
push eax
push dword [ebp + 0x14]
push ecx
push edx
mov dword [ebp - 0x18], edi
push edi
mov edi, dword [ebp - 0x1c]
call fcn.10001b90
add esp, 0x14
mov eax, ebx
bswap eax
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x100c4000
mov edx, dword [ebp + 0x18]
movzx eax, byte [edx + 0xb]
inc eax
mov byte [edx + 0xb], al
shr eax, 8
movzx ecx, byte [edx + 0xa]
add ecx, eax
mov byte [edx + 0xa], cl
shr ecx, 8
movzx eax, byte [edx + 9]
add eax, ecx
mov byte [edx + 9], al
shr eax, 8
movzx ecx, byte [edx + 8]
add ecx, eax
mov byte [edx + 8], cl
shr ecx, 8
movzx eax, byte [edx + 7]
add eax, ecx
mov byte [edx + 7], al
shr eax, 8
movzx ecx, byte [edx + 6]
add ecx, eax
mov byte [edx + 6], cl
shr ecx, 8
movzx eax, byte [edx + 5]
add eax, ecx
mov byte [edx + 5], al
shr eax, 8
movzx ecx, byte [edx + 4]
add ecx, eax
mov byte [edx + 4], cl
shr ecx, 8
movzx eax, byte [edx + 3]
add eax, ecx
mov byte [edx + 3], al
shr eax, 8
movzx ecx, byte [edx + 2]
add ecx, eax
mov byte [edx + 2], cl
shr ecx, 8
movzx eax, byte [edx + 1]
add eax, ecx
mov byte [edx + 1], al
add byte [edx], ah
jmp 0x100c4000
mov edx, dword [ebp + 0x1c]
movzx eax, byte [edx + edi]
mov ecx, dword [ebp - 0x18]
xor al, byte [ecx + edi]
lea ecx, [ebx - 1]
mov esi, dword [ebp - 0x10]
mov byte [esi + edi], al
inc edi
mov eax, edi
cmp ebx, 1
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
je 0x100c45f1
movzx eax, byte [edx + edi]
xor al, byte [ebx + edi]
mov byte [esi + edi], al
movzx eax, byte [edx + edi + 1]
xor al, byte [ebx + edi + 1]
mov byte [esi + edi + 1], al
lea eax, [edi + 2]
mov edi, eax
add ecx, 0xfffffffe
jne 0x100c4120
jmp 0x100c45f1
mov ecx, eax
mov edx, esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
bswap eax
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
mov dword [ebp - 0x20], edi
jae 0x100c425e
test ecx, ecx
je 0x100c4338
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], edx
xorps xmm0, xmm0
mov eax, dword [ebp + 0x1c]
movups xmmword [eax], xmm0
mov esi, dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push 1
push eax
push eax
call fcn.100c2890
add esp, 0x14
inc ebx
bswap ebx
mov dword [esi + 0xc], ebx
jne 0x100c4222
movzx eax, byte [esi + 0xb]
inc eax
mov byte [esi + 0xb], al
shr eax, 8
movzx ecx, byte [esi + 0xa]
add ecx, eax
mov byte [esi + 0xa], cl
shr ecx, 8
movzx eax, byte [esi + 9]
add eax, ecx
mov byte [esi + 9], al
shr eax, 8
movzx ecx, byte [esi + 8]
add ecx, eax
mov byte [esi + 8], cl
shr ecx, 8
movzx eax, byte [esi + 7]
add eax, ecx
mov byte [esi + 7], al
shr eax, 8
movzx ecx, byte [esi + 6]
add ecx, eax
mov byte [esi + 6], cl
shr ecx, 8
movzx eax, byte [esi + 5]
add eax, ecx
mov byte [esi + 5], al
shr eax, 8
movzx ecx, byte [esi + 4]
add ecx, eax
mov byte [esi + 4], cl
shr ecx, 8
movzx eax, byte [esi + 3]
add eax, ecx
mov byte [esi + 3], al
shr eax, 8
movzx ecx, byte [esi + 2]
add ecx, eax
mov byte [esi + 2], cl
shr ecx, 8
movzx eax, byte [esi + 1]
add eax, ecx
mov byte [esi + 1], al
add byte [esi], ah
mov ebx, dword [ebp - 0x1c]
test bl, 1
mov edi, dword [ebp - 0x20]
jne 0x100c4555
mov ecx, ebx
mov edx, dword [ebp + 0x1c]
jmp 0x100c456e
shl esi, 4
sub edi, esi
mov ecx, dword [ebp - 0x10]
add ecx, esi
mov eax, dword [ebp - 0x18]
add eax, esi
cmp edi, 0xf
mov edx, ecx
mov esi, eax
mov ecx, edi
jbe 0x100c4164
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], edx
mov eax, ecx
shr eax, 4
mov ebx, esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
neg ecx
add esi, eax
mov edi, 0
cmovb esi, edi
mov edi, ebx
cmovae ecx, eax
mov eax, dword [ebp + 0x18]
mov ebx, esi
mov esi, ecx
push eax
push dword [ebp + 0x14]
push ecx
push edx
mov dword [ebp - 0x18], edi
push edi
mov edi, dword [ebp - 0x1c]
call fcn.100c2890
add esp, 0x14
mov eax, ebx
bswap eax
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x100c4240
mov edx, dword [ebp + 0x18]
movzx eax, byte [edx + 0xb]
inc eax
mov byte [edx + 0xb], al
shr eax, 8
movzx ecx, byte [edx + 0xa]
add ecx, eax
mov byte [edx + 0xa], cl
shr ecx, 8
movzx eax, byte [edx + 9]
add eax, ecx
mov byte [edx + 9], al
shr eax, 8
movzx ecx, byte [edx + 8]
add ecx, eax
mov byte [edx + 8], cl
shr ecx, 8
movzx eax, byte [edx + 7]
add eax, ecx
mov byte [edx + 7], al
shr eax, 8
movzx ecx, byte [edx + 6]
add ecx, eax
mov byte [edx + 6], cl
shr ecx, 8
movzx eax, byte [edx + 5]
add eax, ecx
mov byte [edx + 5], al
shr eax, 8
movzx ecx, byte [edx + 4]
add ecx, eax
mov byte [edx + 4], cl
shr ecx, 8
movzx eax, byte [edx + 3]
add eax, ecx
mov byte [edx + 3], al
shr eax, 8
movzx ecx, byte [edx + 2]
add ecx, eax
mov byte [edx + 2], cl
shr ecx, 8
movzx eax, byte [edx + 1]
add eax, ecx
mov byte [edx + 1], al
add byte [edx], ah
jmp 0x100c4240
mov eax, dword [ebp - 0x20]
jmp 0x100c45f1
mov ecx, eax
mov edx, esi
mov esi, dword [ebp + 8]
cmp ecx, 0x10
jb 0x100c446b
mov ebx, dword [ebp + 0x18]
nop word cs:[eax + eax]
mov dword [ebp - 0x14], ecx
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
push eax
push ebx
mov edi, esi
mov esi, edx
call fcn.10003f50
mov edx, esi
mov esi, edi
add esp, 0xc
movzx eax, byte [ebx + 0xf]
inc eax
mov byte [ebx + 0xf], al
shr eax, 8
movzx ecx, byte [ebx + 0xe]
add ecx, eax
mov byte [ebx + 0xe], cl
shr ecx, 8
movzx eax, byte [ebx + 0xd]
add eax, ecx
mov byte [ebx + 0xd], al
shr eax, 8
movzx ecx, byte [ebx + 0xc]
add ecx, eax
mov byte [ebx + 0xc], cl
shr ecx, 8
movzx eax, byte [ebx + 0xb]
add eax, ecx
mov byte [ebx + 0xb], al
shr eax, 8
movzx ecx, byte [ebx + 0xa]
add ecx, eax
mov byte [ebx + 0xa], cl
shr ecx, 8
movzx eax, byte [ebx + 9]
add eax, ecx
mov byte [ebx + 9], al
shr eax, 8
movzx ecx, byte [ebx + 8]
add ecx, eax
mov byte [ebx + 8], cl
shr ecx, 8
movzx eax, byte [ebx + 7]
add eax, ecx
mov byte [ebx + 7], al
shr eax, 8
movzx ecx, byte [ebx + 6]
add ecx, eax
mov byte [ebx + 6], cl
shr ecx, 8
movzx eax, byte [ebx + 5]
add eax, ecx
mov byte [ebx + 5], al
shr eax, 8
movzx ecx, byte [ebx + 4]
add ecx, eax
mov byte [ebx + 4], cl
shr ecx, 8
movzx eax, byte [ebx + 3]
add eax, ecx
mov byte [ebx + 3], al
shr eax, 8
movzx ecx, byte [ebx + 2]
add ecx, eax
mov byte [ebx + 2], cl
shr ecx, 8
movzx eax, byte [ebx + 1]
add eax, ecx
mov ecx, dword [ebp - 0x14]
mov byte [ebx + 1], al
add byte [ebx], ah
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi]
xor eax, dword [esi]
mov dword [edx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
xor eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
add ecx, 0xfffffff0
add edx, 0x10
add esi, 0x10
cmp ecx, 0xf
ja 0x100c4360
xor edi, edi
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x100c454e
mov dword [ebp - 0x10], edx
push ebx
mov eax, dword [ebp + 0x1c]
push eax
mov ebx, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x14], ecx
call fcn.10003f50
add esp, 0xc
movzx eax, byte [ebx + 0xf]
inc eax
mov byte [ebx + 0xf], al
shr eax, 8
movzx ecx, byte [ebx + 0xe]
add ecx, eax
mov byte [ebx + 0xe], cl
shr ecx, 8
movzx eax, byte [ebx + 0xd]
add eax, ecx
mov byte [ebx + 0xd], al
shr eax, 8
movzx ecx, byte [ebx + 0xc]
add ecx, eax
mov byte [ebx + 0xc], cl
shr ecx, 8
movzx eax, byte [ebx + 0xb]
add eax, ecx
mov byte [ebx + 0xb], al
shr eax, 8
movzx ecx, byte [ebx + 0xa]
add ecx, eax
mov byte [ebx + 0xa], cl
shr ecx, 8
movzx eax, byte [ebx + 9]
add eax, ecx
mov byte [ebx + 9], al
shr eax, 8
movzx ecx, byte [ebx + 8]
add ecx, eax
mov byte [ebx + 8], cl
shr ecx, 8
movzx eax, byte [ebx + 7]
add eax, ecx
mov byte [ebx + 7], al
shr eax, 8
movzx ecx, byte [ebx + 6]
add ecx, eax
mov byte [ebx + 6], cl
shr ecx, 8
movzx eax, byte [ebx + 5]
add eax, ecx
mov byte [ebx + 5], al
shr eax, 8
movzx ecx, byte [ebx + 4]
add ecx, eax
mov byte [ebx + 4], cl
shr ecx, 8
movzx eax, byte [ebx + 3]
add eax, ecx
mov byte [ebx + 3], al
shr eax, 8
movzx ecx, byte [ebx + 2]
add ecx, eax
mov byte [ebx + 2], cl
shr ecx, 8
movzx eax, byte [ebx + 1]
add eax, ecx
mov ecx, dword [ebp - 0x14]
mov byte [ebx + 1], al
add byte [ebx], ah
test cl, 1
mov dword [ebp - 0x18], esi
jne 0x100c45a3
mov esi, ecx
mov ebx, dword [ebp + 0x1c]
jmp 0x100c45b9
mov eax, edi
jmp 0x100c45f1
mov edx, dword [ebp + 0x1c]
movzx eax, byte [edx + edi]
mov ecx, dword [ebp - 0x18]
xor al, byte [ecx + edi]
lea ecx, [ebx - 1]
mov esi, dword [ebp - 0x10]
mov byte [esi + edi], al
inc edi
mov eax, edi
cmp ebx, 1
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
je 0x100c45f1
nop dword [eax]
movzx eax, byte [edx + edi]
xor al, byte [ebx + edi]
mov byte [esi + edi], al
movzx eax, byte [edx + edi + 1]
xor al, byte [ebx + edi + 1]
mov byte [esi + edi + 1], al
lea eax, [edi + 2]
mov edi, eax
add ecx, 0xfffffffe
jne 0x100c4580
jmp 0x100c45f1
mov ebx, dword [ebp + 0x1c]
movzx eax, byte [ebx + edi]
xor al, byte [esi + edi]
mov esi, ecx
dec ecx
mov edx, dword [ebp - 0x10]
mov byte [edx + edi], al
inc edi
mov eax, edi
cmp esi, 1
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
je 0x100c45f1
nop word cs:[eax + eax]
movzx eax, byte [ebx + edi]
xor al, byte [esi + edi]
mov byte [edx + edi], al
movzx eax, byte [ebx + edi + 1]
xor al, byte [esi + edi + 1]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
mov edi, eax
add ecx, 0xfffffffe
jne 0x100c45d0
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret