Function at 0x1010cfc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x114
mov eax, dword [0x10150380]
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 + 0x34], eax
mov dword [esp + 0x20], 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 0x1010d060
cmp dword [esp + 0x64], edi
jne 0x1010d080
mov dword [ebp], edx
mov dword [ebx], edx
xor eax, eax
jmp 0x1010d457
mov eax, dword [ebx]
mov ecx, 1
cmp dword [esp + ecx*4 + 0x64], 0
jne 0x1010d094
inc ecx
cmp ecx, 0xf
jbe 0x1010d087
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov edx, ecx
cmovae edx, eax
mov eax, 0xf
cmp dword [esp + eax*4 + 0x64], 0
jne 0x1010d0b0
sub eax, 1
jne 0x1010d0a4
cmp edx, eax
mov dword [esp + 0x2c], eax
mov ebp, eax
cmovbe ebp, edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], ebp
mov dword [ebx], ebp
cmp ecx, eax
jae 0x1010d0e1
nop dword [eax]
sub edx, dword [esp + ecx*4 + 0x64]
js 0x1010d452
inc ecx
add edx, edx
cmp ecx, eax
jb 0x1010d0d0
lea ebx, [eax*4]
mov ecx, edx
sub edx, dword [esp + ebx + 0x64]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], edx
js 0x1010d452
xor edx, edx
mov dword [esp + ebx + 0x64], ecx
mov dword [esp + 0xa8], edx
sub eax, 1
je 0x1010d123
xor ecx, ecx
add edx, dword [esp + ecx + 0x68]
lea ecx, [ecx + 4]
mov dword [esp + ecx + 0xa8], edx
sub eax, 1
jne 0x1010d110
mov ebx, dword [esp + 0x34]
xor ecx, ecx
nop dword [eax]
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x1010d14b
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 0x1010d130
mov ebx, dword [esp + 0x30]
xor edx, edx
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x1c], edx
xor esi, esi
mov dword [esp + 0x10], ecx
mov eax, dword [esp + ebx + 0xa4]
mov ebx, dword [esp + 0x18]
neg ebx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xe4], edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], esi
cmp edi, dword [esp + 0x2c]
jg 0x1010d435
lea edx, [esp + 0x64]
lea edx, [edx + edi*4]
mov dword [esp + 0x28], edx
mov edx, esi
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
je 0x1010d421
nop dword [eax]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
dec eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add eax, ebx
cmp edi, eax
jle 0x1010d2eb
nop dword [eax + eax]
mov edi, dword [esp + 0x2c]
mov ebx, eax
mov edx, dword [esp + 0x14]
inc ecx
sub edi, ebx
mov dword [esp + 0x10], ecx
cmp edi, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x3c], ebx
cmova edi, dword [esp + 0x18]
sub edx, ebx
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x4c]
jbe 0x1010d248
mov esi, dword [esp + 0x28]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x24]
add eax, ecx
cmp edx, edi
jae 0x1010d248
inc edx
cmp edx, edi
jae 0x1010d248
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x1010d248
inc edx
sub eax, ecx
cmp edx, edi
jb 0x1010d235
mov edi, dword [esp + 0x50]
mov ecx, edx
mov esi, 1
shl esi, cl
mov dword [esp + 0x48], esi
mov eax, dword [edi]
lea ecx, [eax + esi]
cmp ecx, 0x5a0
ja 0x1010d452
mov ebp, dword [esp + 0x54]
mov dword [edi], ecx
lea ebp, [ebp + eax*8]
mov eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x30], ebp
mov dword [esp + eax*4 + 0xe4], ebp
test ecx, ecx
je 0x1010d2d1
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0xa4], edi
mov ecx, ebx
sub ecx, eax
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x40], dl
mov edx, edi
shr edx, cl
mov edi, ebp
mov ecx, dword [esp + eax*4 + 0xe0]
sub edi, ecx
mov eax, dword [esp + 0x40]
sar edi, 3
sub edi, edx
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], edi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edi
jmp 0x1010d2d7
mov eax, dword [esp + 0x58]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
add eax, ebx
cmp dword [esp + 0x14], eax
jg 0x1010d1f0
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x5c]
sub al, bl
mov edi, dword [esp + 0x38]
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x34]
lea eax, [eax + ecx*4]
cmp edi, eax
jb 0x1010d30f
mov byte [esp + 0x40], 0xc0
jmp 0x1010d35d
mov ecx, dword [edi]
add edi, 4
mov eax, dword [esp + 0x130]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], edi
cmp ecx, eax
jae 0x1010d339
cmp ecx, 0x100
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x40], al
jmp 0x1010d35d
sub ecx, eax
mov dword [esp + 0x38], edi
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 + 0x20], ecx
mov eax, dword [esp + 0x14]
mov edi, 1
mov ecx, eax
sub ecx, ebx
shl edi, cl
mov ecx, ebx
shr edx, cl
cmp edx, esi
jae 0x1010d3a5
mov ebx, dword [esp + 0x20]
lea eax, [edx*8]
add eax, ebp
lea ecx, [edi*8]
mov ebp, dword [esp + 0x40]
nop dword [eax]
mov dword [eax], ebp
add edx, edi
mov dword [eax + 4], ebx
add eax, ecx
cmp edx, esi
jb 0x1010d390
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0x1010d3bf
xor edi, eax
shr eax, 1
test edi, eax
jne 0x1010d3b7
xor edi, eax
mov ecx, ebx
mov eax, 1
mov dword [esp + 0x1c], edi
shl eax, cl
mov ecx, dword [esp + 0x10]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0xa4]
je 0x1010d40a
mov esi, dword [esp + 0x18]
dec ecx
sub ebx, esi
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 0x1010d3e2
mov esi, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x24], 0
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
jne 0x1010d1d0
add dword [esp + 0x28], 4
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x2c]
jle 0x1010d1b3
cmp dword [esp + 0x60], 0
je 0x1010d079
cmp dword [esp + 0x2c], 1
je 0x1010d079
mov eax, 0xfffffffb
jmp 0x1010d457
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010fe2d
add esp, 0x114
ret