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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b775
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101dadb0]
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 0x10063a2b
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 + 0x101ba240]
cmp ecx, ebx
jb 0x10063a13
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.10047840
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.10048e10
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.10048200
lea ecx, [ebp - 0x64]
call fcn.100447b0
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x10063ac6
inc eax
push eax
push dword [ebp - 0x60]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [edi + 8]
cmp ecx, dword [edi + 0xc]
je 0x10063b93
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.10048e10
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.10048410
mov esi, dword [edi + 8]
lea ecx, [ebp - 0x40]
push 3
call fcn.1011cc50
mov edx, dword [edi]
add edx, 4
mov eax, dword [edx]
test eax, eax
je 0x10063b85
cmp dword [eax + 8], esi
jb 0x10063b7c
ja 0x10063b7c
mov dword [eax], 0
mov eax, dword [eax + 4]
mov dword [edx], eax
jmp 0x10063b81
lea edx, [eax + 4]
mov eax, dword [edx]
test eax, eax
jne 0x10063b68
lea ecx, [ebp - 0x40]
call fcn.1011cd00
add dword [edi + 8], 0x28
jmp 0x10063b9f
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, edi
call fcn.10063e50
lea ecx, [ebp - 0x30]
call fcn.100447b0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10063bbc
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.10048ea0
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.10048ea0
add esp, 8
lea ecx, [ebp + 0x10]
call fcn.100447b0
mov eax, dword [ebp + 0x28]
cmp eax, 0x10
jb 0x10063c00
inc eax
push eax
push dword [ebp + 0x14]
call fcn.10048ea0
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.10048ea0
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.10120250
mov esp, ebp
pop ebp
ret 0x24