Function at 0x100fe1e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
mov ebx, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [edx + 0x14]
push esi
mov esi, dword [edx]
mov eax, dword [ebx]
inc esi
push edi
mov dword [esp + 0x3c], eax
xor edi, edi
mov eax, dword [edx + 4]
push esi
push dword [ebx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
call fcn.10056cd0
mov ecx, dword [esp + 0x38]
add esp, 8
mov ebx, eax
mov dword [esp + 0x10], ebx
mov ecx, dword [ecx + 0xc]
push esi
push ecx
test ebx, ebx
jne 0x100fe262
call fcn.10056f20
sub eax, 5
add esp, 8
neg eax
sbb eax, eax
and eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100568f0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov ecx, dword [ecx + 0x24]
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x40]
push ebx
mov edx, dword [eax + 0x14]
call fcn.100e9c10
add esp, 0x14
test eax, eax
jne 0x100fea12
mov ebx, dword [ebp + 0x20]
jmp 0x100fe2a7
mov ebx, dword [ebp + 0x20]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
mov dword [esp + 0x4c], 0xffffffff
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x5c]
push dword [esp + 0x58]
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x100fe96c
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp edi, edx
jl 0x100fe2a3
cmp dword [esp + 0x34], eax
jne 0x100fe64b
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
sub eax, ebx
mov dword [esp + 0x40], eax
lea eax, [ebx + ecx]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, ebx
or eax, dword [esp + 0xc]
je 0x100fe4c7
mov eax, ebx
mov dword [esp + 0x38], esi
and eax, 1
or eax, esi
jne 0x100fe366
nop
inc esi
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, ebx
and ecx, dword [esp + 0xc]
or edx, ecx
je 0x100fe340
mov dword [esp + 0x38], esi
mov edi, dword [ebp + 0x10]
xor edx, edx
dec edi
xor ecx, ecx
mov eax, edi
xor ebx, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, dword [esp + 0xc]
or edx, ecx
jne 0x100fe3ba
mov esi, dword [esp + 0x14]
dec edi
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
inc ebx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, esi
and ecx, dword [esp + 0xc]
or edx, ecx
je 0x100fe393
mov esi, dword [esp + 0x38]
sub esi, ebx
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test edi, edi
jle 0x100fe4b7
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], 0
mov ecx, dword [eax + 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x44]
push dword [esp + 0x3c]
mov edx, dword [eax + 0x14]
call fcn.100e9c10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100fea00
add edi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x54]
nop
cmp dword [esp + 0x28], edi
jge 0x100fe45a
lea eax, [esp + 0x28]
mov dword [esp + 0x58], 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], 0
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x4c]
push ebx
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
je 0x100fe410
mov eax, dword [esp + 0x38]
push ebx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
test esi, esi
je 0x100fe474
cmp esi, 0x65
jne 0x100fea00
mov edx, dword [esp + 0x18]
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp esi, 0x65
mov ecx, dword [esp + 0x10]
sete al
sub eax, dword [ebp + 0x10]
add eax, dword [esp + 0x28]
test eax, eax
jle 0x100fe4c3
movq xmm1, qword [esp + 0x68]
add edx, eax
movd xmm0, eax
psrlq xmm1, xmm0
movq qword [esp + 0x68], xmm1
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], eax
jmp 0x100fe4c7
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
xor esi, esi
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], 1
test edx, edx
jg 0x100fe598
cmp dword [ebp + 8], esi
jg 0x100fe598
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x100fe62e
jns 0x100fe50e
mov ebx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100fe505
sub ebx, ecx
mov edi, dword [ebp + 0x20]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
inc ecx
add ecx, ebx
cmp ecx, eax
jl 0x100fe565
cdq
mov esi, eax
mov ecx, edx
mov eax, ebx
cdq
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0x40], eax
adc ecx, edx
add esi, 0x64
adc ecx, 0
mov dword [esp + 0x58], ecx
call fcn.100d8ee0
test eax, eax
jne 0x100fe962
push dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
push esi
call fcn.10027f60
add esp, 8
test eax, eax
je 0x100fe962
mov dword [edi], eax
mov dword [edi + 8], esi
mov esi, dword [edi + 4]
mov edi, dword [edi]
mov edx, dword [esp + 0x10]
push ebx
push edx
lea eax, [edi + esi]
push eax
call fcn.1013c1a0
mov edx, dword [esp + 0x24]
lea eax, [esi + ebx]
mov ebx, dword [ebp + 0x20]
add esp, 0xc
mov byte [edi + eax], 0
xor esi, esi
mov edi, dword [esp + 0x1c]
mov dword [ebx + 4], eax
jmp 0x100fe631
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100fe5a0
mov edi, dword [ebp + 0x20]
sub ebx, ecx
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
inc ecx
add ecx, ebx
cmp ecx, eax
jl 0x100fe600
cdq
mov esi, eax
mov ecx, edx
mov eax, ebx
cdq
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0x40], eax
adc ecx, edx
add esi, 0x64
adc ecx, 0
mov dword [esp + 0x58], ecx
call fcn.100d8ee0
test eax, eax
jne 0x100fe962
push dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
push esi
call fcn.10027f60
add esp, 8
test eax, eax
je 0x100fe962
mov dword [edi], eax
mov dword [edi + 8], esi
mov esi, dword [edi + 4]
mov edi, dword [edi]
push ebx
push dword [ebp + 0x1c]
lea eax, [edi + esi]
push eax
call fcn.1013c1a0
mov edx, dword [esp + 0x24]
lea eax, [esi + ebx]
mov ebx, dword [ebp + 0x20]
add esp, 0xc
mov byte [eax + edi], 0
xor esi, esi
mov edi, dword [esp + 0x1c]
mov dword [ebx + 4], eax
jmp 0x100fe631
mov ebx, dword [ebp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
cmp edi, edx
jl 0x100fe2a0
jmp 0x100fe64e
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
add eax, edx
cmp edi, eax
jge 0x100fe8f3
mov eax, edi
mov dword [esp + 0x38], 1
sub eax, edx
xor ecx, ecx
xor edx, edx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, dword [esp + 0xc]
or edx, ecx
jne 0x100fe690
mov dword [esp + 0x38], 0
mov ebx, dword [ebp + 0x20]
cmp edi, dword [esp + 0x18]
jle 0x100fe6bf
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
sub eax, ecx
push eax
lea edx, [edx + ecx]
mov ecx, ebx
call fcn.100fe120
mov esi, eax
add esp, 4
test esi, esi
jne 0x100fe8de
cmp dword [esp + 0x38], 0
je 0x100fe770
mov ebx, dword [ebp + 0x14]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100fe6d0
mov edi, dword [ebp + 0x20]
sub ebx, ecx
mov ecx, dword [edi + 4]
lea eax, [edi + 4]
inc ecx
mov dword [esp + 0x28], eax
add ecx, ebx
mov edx, dword [edi + 8]
cmp ecx, edx
jl 0x100fe745
mov eax, edx
cdq
mov esi, eax
mov ecx, edx
mov eax, ebx
cdq
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0x40], eax
adc ecx, edx
add esi, 0x64
adc ecx, 0
mov dword [esp + 0x58], ecx
call fcn.100d8ee0
test eax, eax
jne 0x100fe962
push dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
push esi
call fcn.10027f60
add esp, 8
test eax, eax
je 0x100fe962
lea ecx, [edi + 4]
mov dword [edi], eax
mov dword [edi + 8], esi
lea eax, [edi + 4]
mov dword [esp + 0x20], ecx
jmp 0x100fe749
mov dword [esp + 0x20], eax
mov esi, dword [eax]
mov edi, dword [edi]
push ebx
push dword [ebp + 0x14]
lea eax, [edi + esi]
push eax
call fcn.1013c1a0
mov ecx, dword [esp + 0x34]
lea eax, [esi + ebx]
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov byte [eax + edi], 0
mov dword [ecx], eax
jmp 0x100fe777
lea edx, [ebx + 4]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
sub edi, ebx
lea eax, [ebx + eax]
mov dword [esp + 0x5c], eax
jns 0x100fe79c
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100fe793
sub edi, ecx
mov ebx, dword [ebp + 0x20]
mov eax, dword [edx]
inc eax
add eax, edi
mov ecx, dword [ebx + 8]
mov dword [esp + 0x40], ecx
cmp eax, ecx
jl 0x100fe809
mov eax, ecx
cdq
mov esi, eax
mov ecx, edx
mov eax, edi
cdq
add esi, eax
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
adc ecx, edx
add esi, 0x64
mov dword [esp + 0x40], esi
adc ecx, 0
mov dword [esp + 0x58], ecx
call fcn.100d8ee0
test eax, eax
jne 0x100fe962
push dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
push esi
call fcn.10027f60
add esp, 8
test eax, eax
je 0x100fe962
mov edx, dword [esp + 0x20]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov dword [ebx + 8], esi
mov dword [esp + 0x28], eax
jmp 0x100fe80d
mov dword [esp + 0x28], edx
mov eax, dword [ebx]
mov esi, dword [edx]
push edi
push dword [esp + 0x60]
mov dword [esp + 0x28], eax
add eax, esi
push eax
call fcn.1013c1a0
mov eax, dword [esp + 0x34]
lea edx, [esi + edi]
mov ecx, dword [esp + 0x2c]
xor esi, esi
add esp, 0xc
mov dword [eax], edx
mov byte [edx + ecx], 0
cmp dword [esp + 0x38], esi
je 0x100fe8de
mov edi, dword [ebp + 0x18]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100fe848
sub edi, ecx
mov ecx, dword [esp + 0x40]
lea eax, [edi + 1]
add eax, edx
cmp eax, ecx
jl 0x100fe8a7
mov eax, ecx
cdq
mov esi, eax
mov ecx, edx
mov eax, edi
cdq
add esi, eax
adc ecx, edx
add esi, 0x64
adc ecx, 0
mov dword [esp + 0x5c], ecx
call fcn.100d8ee0
test eax, eax
jne 0x100fe962
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
push esi
call fcn.10027f60
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x100fe962
mov dword [ebx], eax
mov dword [ebx + 8], esi
jmp 0x100fe8ab
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
push edi
push dword [ebp + 0x18]
mov esi, dword [esi]
add eax, esi
push eax
call fcn.1013c1a0
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
add esp, 0xc
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
mov byte [eax + ecx], 0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], edi
jmp 0x100fe2a7
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], edi
test esi, esi
je 0x100fe2a7
jmp 0x100fea00
cmp dword [ebp + 0xc], 0
je 0x100fea00
mov esi, dword [ebp + 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100fe903
mov eax, dword [ebx + 8]
sub esi, ecx
mov ecx, dword [ebx + 4]
inc ecx
mov dword [esp + 0x40], esi
add ecx, esi
cmp ecx, eax
jl 0x100fe956
cdq
mov edi, eax
mov ecx, edx
mov eax, esi
mov esi, dword [ebx]
cdq
add edi, eax
adc ecx, edx
add edi, 0x64
adc ecx, 0
mov dword [esp + 0x5c], ecx
call fcn.100d8ee0
test eax, eax
jne 0x100fe962
push dword [esp + 0x5c]
mov ecx, esi
push edi
call fcn.10027f60
add esp, 8
test eax, eax
je 0x100fe962
mov dword [ebx], eax
mov dword [ebx + 8], edi
push dword [esp + 0x40]
push dword [ebp + 0x1c]
jmp 0x100fe9e0
mov esi, 7
jmp 0x100fea00
cmp esi, 0x65
jne 0x100fea00
mov esi, dword [esp + 0x10]
add esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100fe980
mov eax, dword [ebx + 8]
sub esi, ecx
mov ecx, dword [ebx + 4]
inc ecx
mov dword [esp + 0x40], esi
add ecx, esi
cmp ecx, eax
jl 0x100fe9d3
cdq
mov edi, eax
mov ecx, edx
mov eax, esi
mov esi, dword [ebx]
cdq
add edi, eax
adc ecx, edx
add edi, 0x64
adc ecx, 0
mov dword [esp + 0x5c], ecx
call fcn.100d8ee0
test eax, eax
jne 0x100fe962
push dword [esp + 0x5c]
mov ecx, esi
push edi
call fcn.10027f60
add esp, 8
test eax, eax
je 0x100fe962
mov dword [ebx], eax
mov dword [ebx + 8], edi
mov eax, dword [esp + 0x10]
push dword [esp + 0x40]
add eax, dword [esp + 0x24]
push eax
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
lea eax, [edi + esi]
push eax
call fcn.1013c1a0
mov eax, dword [esp + 0x4c]
add esp, 0xc
add eax, esi
xor esi, esi
mov dword [ebx + 4], eax
mov byte [eax + edi], 0
mov eax, dword [esp + 0x48]
push dword [esp + 0x44]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret