Function at 0x1001dfc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
push ebx
lea edx, [eax + 0x339]
push esi
mov ecx, eax
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
cmp eax, edx
ja 0x1001e06d
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, dword [ebp + 0x14]
cmp ecx, 0x7790
ja 0x1001e2e6
je 0x1001e28a
cmp ecx, 0x6a5f
ja 0x1001e168
je 0x1001e15d
mov eax, ecx
sub eax, 0x141a
je 0x1001e11c
sub eax, 0x5627
je 0x1001e0e1
sub eax, 0xf
jne 0x1001e51a
mov ecx, 0x7889
mov dword [esp + 0x1c], ecx
mov eax, ecx
sub eax, 0x7889
je 0x1001e0c1
sub eax, 0x39
jne 0x1001e0c9
cmp byte [esp + 0x28], al
je 0x1001e0a8
mov ecx, 0x7bb3
mov dword [esp + 0x18], ecx
mov eax, ecx
sub eax, 0x7bb3
je 0x1001e078
sub eax, 0x4b
jne 0x1001e093
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [edi]
push ecx
push edx
mov ecx, ebx
call fcn.10022ac0
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x10], eax
add ecx, 0x4b
mov dword [esp + 0x18], ecx
cmp ecx, 0x7bfe
jbe 0x1001e05f
mov ecx, dword [esp + 0x1c]
jmp 0x1001e0c9
mov eax, 0x558c
cmp eax, eax
je 0x1001e53a
add eax, 0x38
cmp eax, 0x558c
jbe 0x1001e0af
jmp 0x1001e0c9
mov dword [esp + 0x28], 1
add ecx, 0x39
mov dword [esp + 0x1c], ecx
cmp ecx, 0x78c2
jbe 0x1001e042
jmp 0x1001e51a
test ebx, ebx
jne 0x1001e51a
mov ecx, 0x5693
mov edi, edi
mov eax, ecx
sub eax, 0x5693
je 0x1001e104
sub eax, 0x58
je 0x1001e06d
jmp 0x1001e10c
mov dword [esp + 0x10], 0
add ecx, 0x58
cmp ecx, 0x56eb
jbe 0x1001e0f0
jmp 0x1001e51a
cmp dword [edi + 0x18], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
jle 0x1001e51a
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [eax + 0x6c]
push ecx
push eax
call edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x20], 0x68
inc eax
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, dword [edi + 0x18]
jl 0x1001e135
jmp 0x1001e51a
mov eax, dword [edi]
not eax
mov dword [edi], eax
jmp 0x1001e51a
mov eax, ecx
sub eax, 0x6a6e
je 0x1001e1bb
sub eax, 0xf
je 0x1001e184
sub eax, 0xf
je 0x1001e06d
jmp 0x1001e51a
cmp dword [edx], 0
je 0x1001e1ae
lea esp, [esp]
movzx ecx, byte [ebx]
mov eax, dword [edi]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x100362b8]
inc ebx
mov dword [edi], eax
dec dword [edx]
jne 0x1001e190
mov eax, dword [edi]
not eax
mov dword [esp + 0x10], eax
jmp 0x1001e51a
cmp dword [edx], 8
jb 0x1001e51a
jmp 0x1001e1d0
xor ecx, ecx
mov dword [esp + 0x1c], 5
lea ebx, [ebx]
cmp ecx, 0xc8
ja case.0x1001e1f3.1
movzx edx, byte [ecx + 0x1001e564]
jmp dword [edx*4 + 0x1001e554]
movzx edx, byte [ebx]
mov eax, dword [edi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x100362b8]
mov dword [edi], eax
movzx edx, byte [ebx + 1]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x100362b8]
add ebx, 2
mov dword [edi], eax
jmp case.0x1001e1f3.1
movzx edx, byte [ebx]
mov eax, dword [edi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x100362b8]
inc ebx
mov dword [edi], eax
jmp case.0x1001e1f3.1
movzx edx, byte [ebx]
mov eax, dword [edi]
xor edx, eax
shr eax, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x100362b8]
inc ebx
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
add dword [eax], 0xfffffff8
add ecx, 0x32
dec dword [esp + 0x1c]
jne 0x1001e1e0
mov eax, dword [ebp + 0x14]
cmp dword [eax], 8
jae 0x1001e1d0
jmp 0x1001e51a
push 0
lea eax, [edi + 4]
push 0
push eax
call fcn.100061b0
mov ecx, dword [edi + 0x18]
lea edx, [eax + ecx*8]
lea eax, [edi + 4]
add esp, 0xc
push eax
mov dword [esp + 0x10], edx
call fcn.1001df00
sub eax, dword [edi + 0x1c]
add esp, 4
test eax, eax
jle 0x1001e2d5
lea eax, [edi + 4]
push eax
call fcn.1001df00
sub eax, dword [edi + 0x1c]
add esp, 4
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
jmp 0x1001e51a
xor eax, eax
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
jmp 0x1001e51a
cmp ecx, 0x79b6
ja 0x1001e4fe
je 0x1001e4eb
mov eax, ecx
sub eax, 0x779f
je 0x1001e33f
sub eax, 0xf
je 0x1001e324
sub eax, 0x1f9
jne 0x1001e51a
push 8
call fcn.100259fe
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x1001e51a
mov eax, dword [esp + 0x14]
push 0
lea ecx, [eax + eax]
push ecx
lea edx, [edi + 4]
push edx
call fcn.100061b0
add esp, 0xc
jmp 0x1001e51a
mov eax, dword [esp + 0x14]
push eax
push ebx
call fcn.1001b4a0
add esp, 8
cmp dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
jle 0x1001e51a
fld qword [0x10039290]
mov eax, dword [esp + 0xc]
fld qword [esp + 0x30]
mov ecx, 0x1da0
cmp ecx, 0x20fc
ja 0x1001e45f
je 0x1001e441
cmp ecx, 0x1f4e
ja 0x1001e3fa
je 0x1001e4b9
cmp ecx, 0x1e4c
ja 0x1001e3e5
je 0x1001e4b9
mov edx, ecx
sub edx, 0x1da0
je 0x1001e3de
sub edx, 0x56
jne 0x1001e4ba
fstp st(0)
mov edx, esi
shl edx, 4
sub eax, edx
fld qword [eax - 8]
mov eax, dword [esp + 0xc]
fadd qword [edx + eax + 8]
fmul qword [esi*8 + 0x100384a0]
fld qword [eax]
fmul st(2)
faddp st(1)
jmp 0x1001e4ba
xor esi, esi
jmp 0x1001e4ba
mov edx, ecx
sub edx, 0x1ea2
je 0x1001e417
sub edx, 0x56
jne 0x1001e4ba
jmp 0x1001e442
cmp ecx, 0x2050
ja 0x1001e437
je 0x1001e417
mov edx, ecx
sub edx, 0x1fa4
je 0x1001e417
sub edx, 0x56
jne 0x1001e4ba
mov edx, esi
shl edx, 4
sub eax, edx
fld qword [eax - 8]
mov eax, dword [esp + 0xc]
fadd qword [edx + eax + 8]
fmul qword [esi*8 + 0x100384a0]
faddp st(1)
jmp 0x1001e4b9
cmp ecx, 0x20a6
jne 0x1001e4ba
jmp 0x1001e442
inc esi
mov edx, esi
shl edx, 4
sub eax, edx
fld qword [eax - 8]
mov eax, dword [esp + 0xc]
fadd qword [edx + eax + 8]
fmul qword [esi*8 + 0x100384a0]
faddp st(1)
jmp 0x1001e4ba
cmp ecx, 0x22aa
ja 0x1001e489
je 0x1001e442
cmp ecx, 0x21fe
ja 0x1001e47f
je 0x1001e442
mov edx, ecx
sub edx, 0x2152
je 0x1001e4b9
jmp 0x1001e40e
cmp ecx, 0x2254
jne 0x1001e4ba
jmp 0x1001e4b9
cmp ecx, 0x23ac
ja 0x1001e4a2
je 0x1001e442
mov edx, ecx
sub edx, 0x2300
je 0x1001e4b9
jmp 0x1001e40e
cmp ecx, 0x2402
jne 0x1001e4ba
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fst qword [edx + eax*8]
mov eax, dword [esp + 0xc]
inc esi
add ecx, 0x56
cmp ecx, 0x2402
jbe 0x1001e377
mov ecx, dword [esp + 0x18]
inc ecx
add eax, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
cmp ecx, dword [esp + 0x14]
jl 0x1001e372
fstp st(1)
fstp qword [esp + 0x30]
jmp 0x1001e51a
mov eax, dword [esp + 0x20]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x1001e51a
mov eax, ecx
sub eax, 0x79c5
je 0x1001e512
sub eax, 0xf
je 0x1001e06d
jmp 0x1001e51a
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
add ecx, 0xf
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x2c]
jbe 0x1001dff1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [edi]
push eax
push ecx
mov ecx, ebx
call fcn.1000c4d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret