Function at 0x100fbb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
mov esi, dword [edx]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x20], 0
mov ecx, dword [edx + 0x14]
inc esi
push esi
mov dword [esp + 0x30], edi
mov eax, dword [edi]
push dword [edi + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
call fcn.100559e0
mov ecx, dword [esp + 0x34]
add esp, 8
mov edi, eax
mov dword [esp + 0x1c], edi
mov ecx, dword [ecx + 0xc]
push esi
push ecx
test edi, edi
jne 0x100fbb82
call fcn.10055c30
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.10055600
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov ecx, dword [ecx + 0x24]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [esp + 0x3c]
push edi
mov edx, dword [eax + 0x14]
call fcn.100e7410
add esp, 0x14
test eax, eax
je 0x100fbbc4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x58]
push dword [esp + 0x54]
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x100fc26f
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp edi, edx
jl 0x100fbbc4
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x28], eax
jne 0x100fbf78
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
sub eax, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
add eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
or eax, ecx
je 0x100fbe07
mov edi, dword [esp + 0x10]
mov eax, edi
and eax, 1
mov dword [esp + 0x38], esi
or eax, esi
jne 0x100fbc8c
mov ebx, ecx
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, edi
and ecx, ebx
or edx, ecx
je 0x100fbc64
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x38], esi
mov edi, dword [ebp + 0x10]
xor edx, edx
dec edi
mov dword [esp + 0x28], 0
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x10]
and ecx, dword [esp + 0xc]
or edx, ecx
jne 0x100fbcf2
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
dec edi
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
inc esi
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 0x100fbcc3
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x28]
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test edi, edi
jle 0x100fbdfb
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 + 0x58]
push eax
mov eax, dword [esp + 0x30]
push dword [esp + 0x54]
push dword [esp + 0x5c]
mov edx, dword [eax + 0x14]
call fcn.100e7410
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100fc30c
add edi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x58]
nop dword [eax]
cmp dword [esp + 0x28], edi
jge 0x100fbd9a
lea eax, [esp + 0x28]
mov dword [esp + 0x30], 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x54], 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x3c]
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 0x100fbd50
mov eax, dword [esp + 0x38]
push ebx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
test esi, esi
je 0x100fbdb4
cmp esi, 0x65
jne 0x100fc30c
mov edx, dword [esp + 0x18]
xor eax, eax
mov ebx, dword [esp + 0x14]
cmp esi, 0x65
mov edi, dword [esp + 0x20]
sete al
sub eax, dword [ebp + 0x10]
add eax, dword [esp + 0x28]
test eax, eax
jle 0x100fbe03
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 dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xc]
jmp 0x100fbe0b
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], 1
test edx, edx
jg 0x100fbec4
cmp dword [ebp + 8], esi
jg 0x100fbec4
test ebx, ebx
je 0x100fbf64
jns 0x100fbe4c
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100fbe43
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 0x100fbe9b
cdq
mov esi, eax
mov ecx, edx
mov eax, ebx
cdq
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0x50], eax
adc ecx, edx
add esi, 0x64
adc ecx, 0
mov dword [esp + 0x54], ecx
call fcn.100d6670
test eax, eax
jne 0x100fbeba
push dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
push esi
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100fbeba
mov dword [edi], eax
mov dword [edi + 8], esi
mov esi, dword [edi + 4]
mov edi, dword [edi]
push ebx
push dword [esp + 0x20]
lea eax, [edi + esi]
push eax
call fcn.10139d00
lea eax, [esi + ebx]
mov byte [edi + eax], 0
jmp 0x100fbf41
mov esi, 7
jmp 0x100fbf4c
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebx + 1]
nop word [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100fbed0
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 0x100fbf28
cdq
mov esi, eax
mov ecx, edx
mov eax, ebx
cdq
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0x50], eax
adc ecx, edx
add esi, 0x64
adc ecx, 0
mov dword [esp + 0x54], ecx
call fcn.100d6670
test eax, eax
jne 0x100fbeba
push dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
push esi
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100fbeba
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.10139d00
lea eax, [esi + ebx]
mov byte [eax + edi], 0
mov ecx, dword [ebp + 0x20]
add esp, 0xc
xor esi, esi
mov dword [ecx + 4], eax
test esi, esi
jne 0x100fc30c
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
cmp edi, edx
jl 0x100fbbc0
mov eax, dword [ebp + 0x10]
add eax, edx
cmp edi, eax
jge 0x100fc1fd
mov eax, edi
mov dword [esp + 0x30], 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 + 0x10]
and ecx, dword [esp + 0xc]
or edx, ecx
jne 0x100fbfba
mov dword [esp + 0x30], 0
cmp edi, dword [esp + 0x18]
mov edi, dword [ebp + 0x20]
jle 0x100fbfe9
mov ecx, dword [esp + 0x24]
sub ebx, ecx
mov edx, dword [esp + 0x1c]
push ebx
lea edx, [edx + ecx]
mov ecx, edi
call fcn.100fba40
mov esi, eax
add esp, 4
test esi, esi
jne 0x100fc1d7
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x30], 0
je 0x100fc083
mov ebx, dword [ebp + 0x14]
lea ecx, [ebx + 1]
nop word [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100fc000
mov eax, dword [edi + 8]
sub ebx, ecx
mov ecx, dword [edi + 4]
inc ecx
add ecx, ebx
cmp ecx, eax
jl 0x100fc05d
cdq
mov esi, eax
mov ecx, edx
mov eax, ebx
cdq
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0x50], eax
adc ecx, edx
add esi, 0x64
adc ecx, 0
mov dword [esp + 0x54], ecx
call fcn.100d6670
test eax, eax
jne 0x100fc1f3
push dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
push esi
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100fc1f3
mov dword [edi], eax
mov dword [edi + 8], esi
mov esi, dword [edi + 4]
mov edi, dword [edi]
push ebx
push dword [ebp + 0x14]
lea eax, [edi + esi]
push eax
call fcn.10139d00
mov ecx, dword [ebp + 0x20]
lea eax, [esi + ebx]
mov byte [eax + edi], 0
add esp, 0xc
mov ebx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
sub esi, ebx
mov dword [esp + 0x38], esi
lea eax, [ebx + eax]
mov dword [esp + 0x50], eax
jns 0x100fc0ad
mov esi, eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100fc0a0
sub esi, ecx
mov dword [esp + 0x38], esi
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
inc ecx
mov dword [esp + 0x5c], eax
add ecx, esi
mov edx, dword [ebx + 8]
cmp ecx, edx
jl 0x100fc113
mov eax, edx
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 + 0x54], ecx
call fcn.100d6670
test eax, eax
jne 0x100fc1f3
push dword [esp + 0x54]
mov ecx, esi
push edi
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100fc1f3
lea ecx, [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 8], edi
lea eax, [ebx + 4]
mov dword [esp + 0x24], ecx
jmp 0x100fc117
mov dword [esp + 0x24], eax
mov esi, dword [eax]
mov edi, dword [ebx]
mov ebx, dword [esp + 0x38]
push ebx
push dword [esp + 0x54]
lea eax, [edi + esi]
push eax
call fcn.10139d00
mov ecx, dword [esp + 0x68]
lea eax, [esi + ebx]
xor esi, esi
mov byte [eax + edi], 0
add esp, 0xc
mov dword [ecx], eax
cmp dword [esp + 0x30], esi
je 0x100fc1d7
mov ebx, dword [ebp + 0x18]
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100fc150
mov eax, dword [esp + 0x24]
sub ebx, ecx
mov edi, dword [ebp + 0x20]
mov ecx, dword [eax]
mov edx, dword [edi + 8]
inc ecx
add ecx, ebx
cmp ecx, edx
jl 0x100fc1b4
mov eax, edx
cdq
mov esi, eax
mov ecx, edx
mov eax, ebx
cdq
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0x54], eax
adc ecx, edx
add esi, 0x64
adc ecx, 0
mov dword [esp + 0x5c], ecx
call fcn.100d6670
test eax, eax
jne 0x100fc1ec
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push esi
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100fc1ec
mov dword [edi], eax
lea eax, [edi + 4]
mov dword [edi + 8], esi
mov dword [esp + 0x24], eax
mov esi, dword [eax]
mov edi, dword [edi]
push ebx
push dword [ebp + 0x18]
lea eax, [edi + esi]
push eax
call fcn.10139d00
mov ecx, dword [esp + 0x30]
lea eax, [esi + ebx]
add esp, 0xc
mov byte [eax + edi], 0
xor esi, esi
mov dword [ecx], eax
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
test esi, esi
je 0x100fbbc4
jmp 0x100fc30c
mov esi, 7
jmp 0x100fc1d7
mov esi, 7
jmp 0x100fc30c
cmp dword [ebp + 0xc], 0
je 0x100fc30c
mov esi, dword [ebp + 0x1c]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x100fc210
mov ebx, dword [ebp + 0x20]
sub esi, ecx
mov dword [esp + 0x3c], esi
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
inc ecx
add ecx, esi
cmp ecx, eax
jl 0x100fc266
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.100d6670
test eax, eax
jne 0x100fc1f3
push dword [esp + 0x5c]
mov ecx, esi
push edi
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100fc1f3
mov dword [ebx], eax
mov dword [ebx + 8], edi
push dword [esp + 0x3c]
push dword [ebp + 0x1c]
jmp 0x100fc2ec
cmp esi, 0x65
jne 0x100fc30c
mov esi, dword [esp + 0x1c]
add esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100fc281
mov ebx, dword [ebp + 0x20]
sub esi, ecx
mov dword [esp + 0x3c], esi
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
inc ecx
add ecx, esi
cmp ecx, eax
jl 0x100fc2df
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.100d6670
test eax, eax
jne 0x100fc1f3
push dword [esp + 0x5c]
mov ecx, esi
push edi
call fcn.10026c10
add esp, 8
test eax, eax
je 0x100fc1f3
mov dword [ebx], eax
mov dword [ebx + 8], edi
mov eax, dword [esp + 0x1c]
push dword [esp + 0x3c]
add eax, dword [esp + 0x28]
push eax
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
lea eax, [edi + esi]
push eax
call fcn.10139d00
mov eax, dword [esp + 0x48]
add esp, 0xc
add eax, esi
xor esi, esi
mov dword [ebx + 4], eax
mov byte [edi + eax], 0
mov eax, dword [esp + 0x44]
push dword [esp + 0x40]
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