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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101718d5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
or esi, 0xffffffff
xor ecx, ecx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1006236b
mov edx, dword [ebp + 8]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x101b0280]
cmp ecx, ebx
jb 0x10062353
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.10046370
mov byte [ebp - 4], 2
push 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10047940
lea ecx, [ebp - 0x30]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x30], eax
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
add eax, 0x20
cmp dword [ebp - 0x4c], 0x10
push dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], esi
call fcn.10046d30
lea ecx, [ebp - 0x64]
call fcn.100432e0
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x10062406
inc eax
push eax
push dword [ebp - 0x60]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x64]
push 8
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
call fcn.100479d0
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [edi + 8]
cmp ecx, dword [edi + 0xc]
je 0x100624d3
mov eax, dword [ebp - 0x3c]
lea esi, [ecx + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
mov byte [ebp - 4], 5
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov ecx, esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea eax, [ebp - 0x30]
push eax
call fcn.10046f40
mov esi, dword [edi + 8]
lea ecx, [ebp - 0x40]
push 3
call fcn.10112de0
mov edx, dword [edi]
add edx, 4
mov eax, dword [edx]
test eax, eax
je 0x100624c5
cmp dword [eax + 8], esi
jb 0x100624bc
ja 0x100624bc
mov dword [eax], 0
mov eax, dword [eax + 4]
mov dword [edx], eax
jmp 0x100624c1
lea edx, [eax + 4]
mov eax, dword [edx]
test eax, eax
jne 0x100624a8
lea ecx, [ebp - 0x40]
call fcn.10112e90
add dword [edi + 8], 0x28
jmp 0x100624df
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, edi
call fcn.10062790
lea ecx, [ebp - 0x30]
call fcn.100432e0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100624fc
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.100479d0
add esp, 8
lea ecx, [ebp + 0x10]
call fcn.100432e0
mov eax, dword [ebp + 0x28]
cmp eax, 0x10
jb 0x10062540
inc eax
push eax
push dword [ebp + 0x14]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x10]
push 8
push eax
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
mov dword [ebp + 0x10], 0
call fcn.100479d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret 0x24