Function at 0x100d362a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov edx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 3
mov eax, dword [esi + 0x444]
mov ecx, dword [esi + 0x458]
shl eax, 3
sub ecx, eax
lea eax, [edi + 0x18]
cmp edx, ecx
mov dword [ebp - 0x34], eax
cmovg edx, ecx
xor ebx, ebx
pop ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100d39cf
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
movzx ecx, byte [eax*2 + 0x1024b320]
mov al, byte [eax*2 + 0x1024b321]
mov byte [ebp - 1], al
movzx eax, al
mov dword [ebp - 0x30], eax
mov eax, ecx
shl eax, 4
mov dword [ebp - 0x38], eax
test ecx, ecx
jne 0x100d36c2
mov eax, dword [ebp - 0x10]
shl eax, 3
push eax
lea eax, [ebx + 0x20]
push ecx
lea eax, [edi + eax*4]
push eax
call fcn.1008c9e0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp - 0xc]
lea ebx, [ebx + eax*2]
jmp 0x100d39cc
cmp dword [ebp - 0x10], 0
jle 0x100d39cc
lea eax, [ebx + 0x21]
lea eax, [edi + eax*4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x454]
mov dword [ebp - 0x2c], eax
cmp eax, edx
jl 0x100d3706
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.100d5b84
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x2c], edx
jge 0x100d39c9
mov eax, dword [ebp - 0x38]
lea edi, [esi + 0x44c]
mov ecx, dword [edi + 8]
mov dword [ebp - 8], ecx
shr ecx, 3
mov eax, dword [eax + 0x102dfcb4]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push dword [ecx + eax]
call fcn.1023241c
pop ecx
mov ecx, dword [ebp - 8]
and ecx, 7
shl eax, cl
mov ecx, dword [ebp - 0x28]
shr eax, 0x19
movsx edx, word [ecx + eax*4]
movsx ecx, word [ecx + eax*4 + 2]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jns 0x100d37e4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
add eax, 7
cmp edx, eax
cmova edx, eax
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 8], edx
shr ecx, 3
push dword [ecx + eax]
call fcn.1023241c
pop ecx
mov ecx, dword [ebp - 8]
and ecx, 7
shl eax, cl
mov ecx, dword [ebp - 0x20]
add ecx, 0x20
shr eax, cl
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
movsx edx, word [ecx + eax*4]
movsx ecx, word [ecx + eax*4 + 2]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
jns 0x100d37e4
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
cmp edx, eax
cmova edx, eax
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 8], edx
shr ecx, 3
push dword [ecx + eax]
call fcn.1023241c
pop ecx
mov ecx, dword [ebp - 8]
and ecx, 7
shl eax, cl
mov ecx, dword [ebp - 0x20]
add ecx, 0x20
shr eax, cl
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
movsx edx, word [ecx + eax*4]
movsx ecx, word [ecx + eax*4 + 2]
mov eax, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
cmova ecx, eax
mov dword [edi + 8], ecx
test edx, edx
jne 0x100d3805
mov ecx, dword [ebp - 0x14]
and dword [ecx], edx
and dword [ecx - 4], edx
jmp 0x100d39ae
mov eax, dword [ebp + 0x10]
mov ecx, edx
mov edi, edx
sar ecx, 5
and edi, 0xf
mov dword [ebp - 0x2c], ecx
movsx eax, word [eax + ebx*2]
mov dword [ebp - 8], eax
test dl, 0x10
je 0x100d390c
cmp ecx, 0xf
jge 0x100d384f
lea eax, [esi + 0x44c]
push eax
call fcn.100b660b
pop ecx
mov ecx, dword [ebp - 8]
neg eax
shl ecx, 4
add ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx*4 + 0x1030c568]
xor ecx, eax
sub ecx, eax
jmp 0x100d3896
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x100d386f
push edx
lea eax, [esi + 0x44c]
push eax
call fcn.100b65cb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
jmp 0x100d3871
xor edx, edx
push eax
lea eax, [edx + ecx]
push eax
call fcn.100d3d93
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x44c]
push eax
call fcn.100b660b
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
je 0x100d3896
neg ecx
mov eax, dword [ebp - 0x14]
mov dword [eax - 4], ecx
cmp edi, 0xf
jae 0x100d38c5
lea eax, [esi + 0x44c]
push eax
call fcn.100b660b
pop ecx
mov ecx, dword [ebp - 8]
neg eax
shl ecx, 4
add ecx, edi
mov edi, dword [ecx*4 + 0x1030c568]
xor edi, eax
sub edi, eax
jmp 0x100d3902
cmp byte [ebp - 1], 0
je 0x100d38de
push dword [ebp - 0x30]
lea eax, [esi + 0x44c]
push eax
call fcn.100b65cb
pop ecx
pop ecx
jmp 0x100d38e0
xor eax, eax
push dword [ebp - 8]
add eax, edi
push eax
call fcn.100d3d93
mov edi, eax
lea eax, [esi + 0x44c]
push eax
call fcn.100b660b
add esp, 0xc
test eax, eax
je 0x100d3902
neg edi
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edi
jmp 0x100d39ae
add ecx, edi
mov dword [ebp - 0x2c], ecx
cmp ecx, 0xf
jge 0x100d3942
lea eax, [esi + 0x44c]
push eax
call fcn.100b660b
neg eax
xor edx, edx
test edi, edi
pop ecx
mov ecx, dword [ebp - 8]
setne dl
shl ecx, 4
add ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx*4 + 0x1030c568]
xor ecx, eax
sub ecx, eax
jmp 0x100d3991
cmp byte [ebp - 1], 0
je 0x100d3963
push dword [ebp - 0x30]
lea eax, [esi + 0x44c]
push eax
call fcn.100b65cb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
jmp 0x100d3965
xor edx, edx
push eax
lea eax, [edx + ecx]
push eax
call fcn.100d3d93
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x44c]
push eax
call fcn.100b660b
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
je 0x100d398a
neg ecx
xor edx, edx
test edi, edi
setne dl
neg edi
lea eax, [edx + ebx]
mov edx, dword [ebp + 0xc]
sbb edi, edi
add edi, 0x21
add edi, ebx
mov dword [edx + eax*4 + 0x80], ecx
mov ecx, dword [ebp - 0x14]
and dword [edx + edi*4], 0
mov eax, dword [ebp - 0x10]
add ecx, 8
mov edx, dword [ebp - 0xc]
dec eax
add ebx, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
test eax, eax
jg 0x100d36d5
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], ecx
jne 0x100d3666
movzx edi, byte [edi + 0x31]
xor ecx, ecx
shl edi, 4
add edi, 0x102e3838
mov dword [ebp - 8], ebx
mov dword [ebp - 0x28], edi
cmp ebx, 0x23c
jg 0x100d3b7f
lea eax, [esi + 0x44c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + ebx*4]
add eax, 0x88
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x454]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], eax
cmp eax, edx
jl 0x100d3a64
mov edi, dword [ebp + 0x14]
cmp eax, edi
jle 0x100d3a3b
test ecx, ecx
jne 0x100d3b2f
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.100d5b84
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], edx
cmp eax, edx
jge 0x100d3b7f
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x2c], eax
mov edi, dword [edx + 8]
mov ecx, edi
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx]
shr ecx, 3
push dword [ecx + eax]
call fcn.1023241c
pop ecx
mov ecx, edi
and ecx, 7
shl eax, cl
push 0x20
pop ecx
sub ecx, esi
shr eax, cl
mov ecx, dword [ebp - 0x3c]
movsx edx, word [ebx + eax*4]
movsx eax, word [ebx + eax*4 + 2]
mov ebx, dword [ebp - 8]
add eax, edi
mov edi, dword [ebp - 0x30]
cmp ecx, eax
mov dword [ebp - 0x38], edx
cmova ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], ecx
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi - 4], eax
mov dword [edi - 8], eax
test edx, edx
je 0x100d3b0a
mov edi, edx
mov ecx, dword [edi*4 + 0x1024b5d0]
push 8
pop eax
push dword [ebp - 0x34]
sar eax, cl
lea esi, [ecx + ebx]
xor edi, eax
call fcn.100b660b
pop ecx
mov ecx, dword [ebp + 0x10]
neg eax
movsx ecx, word [ecx + esi*2]
mov ecx, dword [ecx*4 + 0x1030bd68]
xor ecx, eax
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + esi*4 + 0x80], ecx
test edi, edi
jne 0x100d3acb
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp + 8]
add ebx, 4
add edi, 0x10
mov dword [ebp - 8], ebx
mov dword [ebp - 0x30], edi
cmp ebx, 0x23c
jg 0x100d3b7f
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
jmp 0x100d3a1c
sub ecx, eax
sub ebx, 4
push ecx
lea eax, [esi + 0x44c]
mov dword [ebp - 0x2c], ecx
push eax
call fcn.100d136e
mov edx, dword [ebp - 0xc]
mov eax, edi
sub eax, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x2c]
push edx
push eax
push str.overread__skip__d_enddists:__d__d_n
push 0x20
push dword [esi + 0x80ac]
call fcn.101ceb2e
add esp, 0x20
test dword [esi + 0x80a8], 0x20002
push 0
pop eax
cmovne ebx, eax
mov dword [ebp - 8], ebx
jmp 0x100d3b82
mov edi, dword [ebp + 0x14]
sub edi, dword [esi + 0x454]
jns 0x100d3bb0
test dword [esi + 0x80a8], 0x20004
je 0x100d3bc0
push edi
push str.bits_left_d_n
push 0x10
push dword [esi + 0x80ac]
call fcn.101ceb2e
add esp, 0x10
xor ecx, ecx
jmp 0x100d3bc3
test edi, edi
jle 0x100d3bc0
test dword [esi + 0x80a8], 0x40004
jmp 0x100d3b94
mov ecx, dword [ebp - 8]
shl ecx, 2
mov eax, 0x900
sub eax, ecx
push eax
mov eax, dword [ebp + 0xc]
sub eax, 0xffffff80
add eax, ecx
push 0
push eax
call fcn.1008c9e0
lea eax, [esi + 0x44c]
push edi
push eax
call fcn.100d136e
mov eax, dword [esi + 0x454]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.100d5b84
add esp, 0x24
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret