Function at 0x10009a50
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100f61a0
mov eax, 0x2c
call fcn.100011c0
mov eax, dword [0x102293a4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x1c], esi
mov cl, byte [esi]
mov ebp, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov byte [esp + 0xf], cl
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
test cl, 0x40
jne 0x100f61fc
push eax
lea eax, [esi + 0x10]
mov ecx, ebp
push eax
push esi
call dword [section..00cfg]
call ebp
mov cl, byte [esp + 0x1b]
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, cl
mov edx, 0xf
and eax, 7
xor ecx, ecx
sub edx, eax
mov byte [esi], al
mov dword [esp + 0x20], edx
cmp edx, 0xf
jae 0x100f6229
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x100f6216
movzx eax, byte [esi + 0xf]
mov ebp, dword [esp + 0x48]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebp
je 0x100f6250
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1000b910
add esp, 0x2c
ret
lea eax, [ebp + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x100f6288
ja 0x100f6271
cmp dword [esi + 0x20], 0
jbe 0x100f6288
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1000b910
add esp, 0x2c
ret
push edi
mov edi, dword [esp + 0x44]
cmp ebp, 0x10
jb 0x100f633d
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
xor dword [ecx], eax
mov eax, dword [edi + 4]
xor dword [ecx + 4], eax
push dword [esp + 0x18]
mov eax, dword [edi + 8]
xor dword [esi + 0x18], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0x1c], eax
push ecx
push ecx
mov ecx, dword [esp + 0x20]
call dword [section..00cfg]
call dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x34]
add esp, 0xc
push dword [esp + 0x18]
push eax
push esi
call dword [section..00cfg]
call dword [esp + 0x20]
add esp, 0xc
mov eax, 8
nop
dec eax
add byte [eax + esi + 8], 1
jne 0x100f62fc
test eax, eax
jne 0x100f62f0
mov ecx, dword [edi]
sub ebp, 0x10
mov eax, dword [edi + 4]
xor ecx, dword [esp + 0x28]
xor eax, dword [esp + 0x2c]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 4], eax
xor ecx, dword [edi + 8]
mov eax, dword [esp + 0x34]
xor eax, dword [edi + 0xc]
add edi, 0x10
mov dword [ebx + 8], ecx
lea ecx, [esi + 0x10]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [esp + 0x1c], 1
jne 0x100f62a2
mov dword [esp + 0x4c], ebp
test ebp, ebp
je 0x100f6456
xor ecx, ecx
test ebp, ebp
je 0x100f635c
nop dword [eax + eax]
mov al, byte [ecx + edi]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, ebp
jb 0x100f6350
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x10]
push eax
push eax
call dword [section..00cfg]
call dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x34]
add esp, 0xc
push dword [esp + 0x18]
push eax
push esi
call dword [section..00cfg]
call dword [esp + 0x20]
add esp, 0xc
xor edx, edx
test ebp, ebp
je 0x100f6456
cmp ebp, 0x40
jb 0x100f6437
lea ecx, [ebp - 1]
lea eax, [esp + ebp + 0x27]
add ecx, ebx
cmp ebx, eax
ja 0x100f63bd
lea eax, [esp + 0x28]
cmp ecx, eax
jae 0x100f6437
lea eax, [ebp - 1]
add eax, edi
cmp ebx, eax
ja 0x100f63ca
cmp ecx, edi
jae 0x100f6437
mov ecx, ebp
lea eax, [ebx + 0x10]
mov esi, edi
and ecx, 0xffffffc0
sub esi, ebx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
movups xmm0, xmmword [esp + edx + 0x28]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + edx]
pxor xmm1, xmm0
movups xmm0, xmmword [esp + edx + 0x38]
movups xmmword [ebx + edx], xmm1
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [esp + edx + 0x48]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [edi + edx + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [esp + edx + 0x58]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [edi + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, ecx
jb 0x100f63e2
mov ebp, dword [esp + 0x4c]
cmp edx, ebp
jae 0x100f6456
lea eax, [esp + 0x28]
sub edi, eax
sub ebx, eax
lea ecx, [esp + 0x28]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor al, byte [ecx]
mov byte [ecx + ebx], al
cmp edx, ebp
jb 0x100f6443
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jae 0x100f6479
mov ecx, 0x10
lea edi, [edx + esi]
sub ecx, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
push esi
mov ecx, ebx
call dword [section..00cfg]
call ebx
mov eax, dword [esp + 0x34]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x38]
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000b910
add esp, 0x2c
ret