Function at 0x102f8fe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x114
mov eax, dword [0x10372b24]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x134]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0x134]
push ebp
mov ebp, dword [esp + 0x134]
push esi
mov esi, dword [esp + 0x124]
mov ecx, esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x144]
push edi
mov edi, dword [esp + 0x12c]
mov edx, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x9c], 0
movups xmmword [esp + 0x74], xmm0
mov dword [esp + 0xa0], 0
movups xmmword [esp + 0x84], xmm0
movq qword [esp + 0x94], xmm0
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0x64]
sub edx, 1
jne 0x102f9080
cmp dword [esp + 0x64], edi
jne 0x102f90b4
mov dword [ebp], edx
mov dword [ebx], edx
xor eax, eax
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101026a7
add esp, 0x114
ret
mov eax, dword [ebx]
mov ecx, 1
nop dword [eax + eax]
cmp dword [esp + ecx*4 + 0x64], 0
jne 0x102f90cd
inc ecx
cmp ecx, 0xf
jbe 0x102f90c0
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov edx, 0xf
cmovb eax, ecx
nop dword [eax + eax]
cmp dword [esp + edx*4 + 0x64], 0
jne 0x102f90ec
sub edx, 1
jne 0x102f90e0
cmp eax, edx
mov dword [esp + 0x30], edx
mov ebp, 1
cmova eax, edx
shl ebp, cl
mov dword [esp + 0x24], eax
mov dword [ebx], eax
cmp ecx, edx
jae 0x102f9117
sub ebp, dword [esp + ecx*4 + 0x64]
js 0x102f9223
inc ecx
add ebp, ebp
cmp ecx, edx
jb 0x102f9106
lea ebx, [edx*4]
mov eax, dword [esp + ebx + 0x64]
sub ebp, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], ebp
js 0x102f9223
add eax, ebp
xor ecx, ecx
mov dword [esp + ebx + 0x64], eax
mov dword [esp + 0xa8], ecx
sub edx, 1
je 0x102f9163
xor eax, eax
nop dword [eax + eax]
add ecx, dword [esp + eax + 0x68]
lea eax, [eax + 4]
mov dword [esp + eax + 0xa8], ecx
sub edx, 1
jne 0x102f9150
mov ebx, dword [esp + 0x38]
xor ecx, ecx
nop dword [eax]
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x102f918b
mov eax, dword [esp + edx*4 + 0xa4]
mov dword [ebx + eax*4], ecx
inc eax
mov dword [esp + edx*4 + 0xa4], eax
inc ecx
cmp ecx, edi
jb 0x102f9170
mov ebx, dword [esp + 0x34]
xor edi, edi
mov edx, dword [esp + 0x24]
or ecx, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x20], edi
xor esi, esi
mov dword [esp + 0x10], ecx
mov eax, dword [esp + ebx + 0xa4]
mov ebx, edx
mov dword [esp + 0x5c], eax
neg ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xe4], edi
mov dword [esp + 0x34], ebp
cmp eax, dword [esp + 0x30]
jg 0x102f9473
lea ecx, [esp + 0x64]
mov edi, esi
lea ecx, [ecx + eax*4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
je 0x102f945a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
dec eax
mov dword [esp + 0x28], eax
lea eax, [ebx + edx]
cmp dword [esp + 0x14], eax
jle 0x102f9333
sub ebx, edx
mov ebp, ebx
jmp 0x102f9234
mov eax, 0xfffffffd
jmp 0x102f909b
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
mov ebx, eax
add ebp, edx
mov dword [esp + 0x3c], ebx
inc ecx
mov dword [esp + 0x48], ebp
sub edi, ebx
mov dword [esp + 0x10], ecx
cmp edi, edx
mov eax, 1
cmova edi, edx
mov edx, dword [esp + 0x14]
sub edx, ebx
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x4c]
jbe 0x102f9293
mov esi, dword [esp + 0x2c]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x28]
add eax, ecx
cmp edx, edi
jae 0x102f9293
inc edx
cmp edx, edi
jae 0x102f9293
nop dword [eax + eax]
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x102f9293
inc edx
sub eax, ecx
cmp edx, edi
jb 0x102f9280
mov edi, dword [esp + 0x50]
mov ecx, edx
mov esi, 1
shl esi, cl
mov eax, dword [edi]
lea ecx, [eax + esi]
cmp ecx, 0x5a0
ja 0x102f9223
mov ebp, dword [esp + 0x54]
mov dword [edi], ecx
mov edi, dword [esp + 0x20]
lea ebp, [ebp + eax*8]
mov eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x34], ebp
mov dword [esp + eax*4 + 0xe4], ebp
test ecx, ecx
je 0x102f931c
mov eax, dword [esp + 0x24]
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x40], dl
mov edx, edi
mov dword [esp + ecx*4 + 0xa4], edi
mov ecx, dword [esp + 0x48]
shr edx, cl
mov ecx, dword [esp + eax*4 + 0xe0]
mov eax, ebp
sub eax, ecx
sar eax, 3
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [esp + 0x10]
jmp 0x102f9322
mov eax, dword [esp + 0x58]
mov dword [eax], ebp
mov edx, dword [esp + 0x24]
lea eax, [ebx + edx]
cmp dword [esp + 0x14], eax
jg 0x102f9230
mov edx, dword [esp + 0x14]
mov al, dl
mov ecx, dword [esp + 0x5c]
sub al, bl
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x38]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jb 0x102f9359
mov byte [esp + 0x40], 0xc0
jmp 0x102f93a1
mov ecx, dword [ecx]
mov eax, dword [esp + 0x130]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jae 0x102f937c
cmp ecx, 0x100
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x40], al
jmp 0x102f939c
sub ecx, eax
mov eax, dword [esp + 0x138]
mov al, byte [eax + ecx*4]
add al, 0x50
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x1c], ecx
add dword [esp + 0x18], 4
mov ecx, edx
mov eax, edi
sub ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, ebx
shr eax, cl
cmp eax, esi
jae 0x102f93e5
mov ebx, dword [esp + 0x1c]
lea ecx, [eax*8]
add ecx, ebp
lea edi, [edx*8]
mov ebp, dword [esp + 0x40]
nop
mov dword [ecx], ebp
add eax, edx
mov dword [ecx + 4], ebx
add ecx, edi
cmp eax, esi
jb 0x102f93d0
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, 1
lea ecx, [ecx - 1]
shl eax, cl
test edi, eax
je 0x102f93ff
xor edi, eax
shr eax, 1
test edi, eax
jne 0x102f93f7
mov edx, dword [esp + 0x24]
xor edi, eax
mov ecx, ebx
mov dword [esp + 0x20], edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0xa4]
je 0x102f9446
dec ecx
sub ebx, edx
mov dword [esp + 0x10], ecx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0xa4]
jne 0x102f9422
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
test eax, eax
jne 0x102f9207
mov eax, dword [esp + 0x14]
add dword [esp + 0x2c], 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x30]
jg 0x102f9473
mov ecx, dword [esp + 0x2c]
jmp 0x102f91f1
cmp dword [esp + 0x60], 0
je 0x102f9099
cmp dword [esp + 0x30], 1
je 0x102f9099
mov eax, 0xfffffffb
jmp 0x102f909b