Function at 0x100f6250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov edx, esi
lea esp, [esp]
mov ecx, dword [eax]
inc dword [ebp + ecx*4 - 0x7c]
lea ecx, [ebp + ecx*4 - 0x7c]
add eax, 4
dec edx
jne 0x100f62a0
cmp dword [ebp - 0x7c], esi
jne 0x100f62c5
mov eax, dword [ebp + 0x1c]
mov dword [eax], edi
mov dword [ebx], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx]
mov dword [ebp - 4], edx
mov ecx, 1
nop
cmp dword [ebp + ecx*4 - 0x7c], edi
jne 0x100f62dc
inc ecx
cmp ecx, 0xf
jbe 0x100f62d0
mov dword [ebp - 8], ecx
cmp edx, ecx
jae 0x100f62e8
mov dword [ebp - 4], ecx
mov edx, ecx
mov ebx, 0xf
lea ecx, [ecx]
cmp dword [ebp + ebx*4 - 0x7c], edi
jne 0x100f62f9
dec ebx
jne 0x100f62f0
mov dword [ebp - 0x20], ebx
cmp edx, ebx
jbe 0x100f6305
mov dword [ebp - 4], ebx
mov edx, ebx
mov eax, dword [ebp + 0x20]
mov esi, 1
shl esi, cl
mov dword [eax], edx
cmp ecx, ebx
jae 0x100f6326
sub esi, dword [ebp + ecx*4 - 0x7c]
js 0x100f6414
inc ecx
add esi, esi
cmp ecx, ebx
jb 0x100f6315
lea ecx, [ebx*4]
mov eax, ecx
mov eax, dword [ebp + eax - 0x7c]
sub esi, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x34], esi
js 0x100f6414
add eax, esi
mov dword [ebp + ecx - 0x7c], eax
xor eax, eax
dec ebx
mov dword [ebp - 0xb8], edi
je 0x100f6365
xor ecx, ecx
add eax, dword [ebp + ecx - 0x78]
add ecx, 4
dec ebx
mov dword [ebp + ecx - 0xb8], eax
jne 0x100f6354
mov esi, dword [ebp + 8]
xor ecx, ecx
lea ebx, [ebx]
mov eax, dword [esi]
add esi, 4
mov dword [ebp + 8], esi
cmp eax, edi
je 0x100f6397
mov esi, dword [ebp + 0x2c]
lea eax, [ebp + eax*4 - 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov dword [esi + eax*4], ecx
mov esi, dword [ebp - 0x18]
inc eax
mov dword [esi], eax
mov esi, dword [ebp + 8]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x100f6370
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + eax - 0xbc]
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov ebx, edx
xor esi, esi
neg ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
cmp eax, ecx
jg 0x100f6604
lea ecx, [ebp + eax*4 - 0x7c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x100f65f1
dec dword [ebp - 0x10]
lea eax, [ebx + edx]
cmp dword [ebp - 8], eax
jle 0x100f6501
mov ecx, dword [ebp - 0x10]
inc ecx
sub ebx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], ebx
jmp 0x100f6423
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
add dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x20]
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov ebx, eax
mov eax, dword [ebp - 4]
sub edx, ebx
cmp edx, eax
cmova edx, eax
sub ecx, ebx
mov eax, 1
shl eax, cl
cmp eax, dword [ebp - 0x3c]
jbe 0x100f6478
or esi, 0xffffffff
sub esi, dword [ebp - 0x10]
add eax, esi
mov esi, dword [ebp - 0xc]
cmp ecx, edx
jae 0x100f6478
inc ecx
cmp ecx, edx
jae 0x100f6478
jmp 0x100f6463
mov esi, dword [ebp - 0x18]
add esi, 4
mov dword [ebp - 0x18], esi
mov esi, dword [esi]
add eax, eax
cmp eax, esi
jbe 0x100f6478
inc ecx
sub eax, esi
cmp ecx, edx
jb 0x100f6460
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov edx, 1
shl edx, cl
mov dword [ebp - 0x24], edx
add edx, eax
cmp edx, 0x5a0
ja 0x100f6414
mov esi, dword [ebp + 0x24]
lea esi, [esi + eax*8]
mov eax, dword [ebp - 0x14]
lea eax, [ebp + eax*4 - 0xf8]
mov dword [ebp - 0x38], eax
mov dword [eax], esi
mov eax, dword [ebp + 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
test eax, eax
je 0x100f64ea
mov edi, dword [ebp - 0x1c]
mov dl, byte [ebp - 4]
mov dword [ebp + eax*4 - 0xbc], edi
mov byte [ebp - 0x2c], cl
mov ecx, dword [ebp - 0x30]
mov eax, edi
shr eax, cl
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx - 4]
mov edi, esi
sub edi, ecx
mov byte [ebp - 0x2b], dl
mov edx, dword [ebp - 0x2c]
sar edi, 3
sub edi, eax
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
jmp 0x100f64ef
mov eax, dword [ebp + 0x1c]
mov dword [eax], esi
mov ecx, dword [ebp - 4]
lea eax, [ebx + ecx]
cmp dword [ebp - 8], eax
jg 0x100f6420
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x2c]
mov dl, cl
sub dl, bl
mov byte [ebp - 0x2b], dl
mov edx, dword [ebp + 0xc]
lea edx, [eax + edx*4]
mov eax, dword [ebp + 8]
cmp eax, edx
jb 0x100f6521
mov byte [ebp - 0x2c], 0xc0
jmp 0x100f655a
mov eax, dword [eax]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jae 0x100f653e
cmp eax, 0x100
sbb dl, dl
and dl, 0xa0
add dl, 0x60
mov byte [ebp - 0x2c], dl
mov edi, eax
jmp 0x100f6556
sub eax, edx
mov edx, dword [ebp + 0x18]
add eax, eax
add eax, eax
mov dl, byte [eax + edx]
add dl, 0x50
mov byte [ebp - 0x2c], dl
mov edx, dword [ebp + 0x14]
mov edi, dword [eax + edx]
add dword [ebp + 8], 4
sub ecx, ebx
mov edx, 1
shl edx, cl
mov eax, esi
mov ecx, ebx
shr eax, cl
cmp eax, dword [ebp - 0x24]
jae 0x100f658f
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + eax*8]
mov esi, dword [ebp - 0x2c]
mov dword [ecx], esi
lea esi, [edx*8]
mov dword [ecx + 4], edi
add eax, edx
add ecx, esi
cmp eax, dword [ebp - 0x24]
jb 0x100f6574
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
dec ecx
mov eax, 1
shl eax, cl
test esi, eax
je 0x100f65a8
mov edi, edi
xor esi, eax
shr eax, 1
test esi, eax
jne 0x100f65a0
mov edx, 1
mov ecx, ebx
shl edx, cl
xor esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
dec edx
and edx, esi
cmp edx, dword [ebp + eax*4 - 0xbc]
je 0x100f65e1
sub ebx, dword [ebp - 4]
mov edx, 1
mov ecx, ebx
shl edx, cl
dec eax
dec edx
and edx, esi
cmp edx, dword [ebp + eax*4 - 0xbc]
jne 0x100f65c5
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
mov edx, dword [ebp - 4]
jne 0x100f63f7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0xc], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, ecx
jle 0x100f63e7
cmp dword [ebp - 0x34], 0
je 0x100f62bc
cmp ecx, 1
je 0x100f62bc
pop edi
pop esi
mov eax, 0xfffffffb
pop ebx
mov esp, ebp
pop ebp
ret