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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov edi, edx
mov edx, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test edx, edx
je 0x100aee40
mov dword [ebp - 0x54], edi
mov eax, dword [edx]
cmp eax, 4
jne 0x100aec4a
lea eax, [edx + 0x38]
mov dword [ebp - 0x48], eax
lea ebx, [edx + 0x20]
lea eax, [edx + 0x50]
mov dword [ebp - 0x4c], eax
push 0x1c
mov edi, ecx
call fcn.10145ba4
add esp, 4
mov esi, eax
mov ecx, eax
push dword [ebp - 0x48]
push ebx
push dword [ebp - 0x4c]
push edi
call fcn.1006def0
mov edi, dword [ebp - 0x54]
mov dword [edi], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lock or dword [esi + 8], eax
jmp 0x100aee46
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4c], eax
mov ebx, dword [edx + 0x14]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x64], eax
mov edi, ecx
mov ecx, dword [ecx + 4]
push 4
push 0xbcea225b
push ebx
call fcn.100972e0
mov esi, eax
mov dword [ebp - 0x50], edi
mov ecx, dword [edi + 4]
push ebx
call fcn.10096de0
mov edx, dword [ebp - 0x4c]
test esi, esi
je 0x100aed41
cmp edx, 2
jb 0x100aed41
cmp edx, 0x3ffffffe
ja 0x100aed41
lea ecx, [edx*4 + 4]
cmp eax, ecx
jb 0x100aed41
lea edi, [edx + 1]
push 0x14
call fcn.10145ba4
add esp, 4
mov ebx, eax
mov ecx, eax
push edi
call fcn.10069720
mov eax, dword [ebx]
mov dword [ebp - 0x48], ebx
cmp dword [ebx + 4], eax
je 0x100aef7e
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0x4c]
neg eax
mov ecx, 1
nop word cs:[eax + eax]
mov edx, dword [esi + ecx*4]
cmp edx, dword [esi + ecx*4 - 4]
mov ebx, dword [ebp - 0x48]
jle 0x100aedcf
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
sub ebx, edi
sar ebx, 2
cmp ebx, ecx
jbe 0x100aef7e
mov dword [edi + ecx*4], edx
lea edx, [eax + ecx]
inc edx
inc ecx
cmp edx, 1
jne 0x100aecf0
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov edi, edx
sub edi, ecx
je 0x100aed4f
mov eax, edi
sar eax, 2
mov esi, ecx
not esi
add esi, edx
mov dword [ebp - 0x58], edi
jne 0x100aed53
xor esi, esi
jmp 0x100aed8e
mov edi, dword [ebp - 0x54]
mov dword [edi], 0
jmp 0x100aee46
xor eax, eax
jmp 0x100aedaa
mov edx, edi
and edx, 0xfffffffe
xor esi, esi
nop word [eax + eax]
movzx edi, al
movzx ebx, byte [ecx + esi]
xor ebx, edi
shr eax, 8
xor eax, dword [ebx*4 + 0x101a3a68]
movzx edi, al
movzx ebx, byte [ecx + esi + 1]
xor ebx, edi
shr eax, 8
xor eax, dword [ebx*4 + 0x101a3a68]
add esi, 2
cmp edx, esi
jne 0x100aed60
test byte [ebp - 0x58], 1
mov ebx, dword [ebp - 0x48]
je 0x100aedaa
movzx edx, al
movzx ecx, byte [ecx + esi]
xor ecx, edx
shr eax, 8
xor eax, dword [ecx*4 + 0x101a3a68]
mov dword [ebx + 0xc], eax
cmp eax, dword [ebp - 0x64]
jne 0x100aedcf
test ebx, ebx
mov edi, dword [ebp - 0x54]
je 0x100aee40
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100aedf9
push ebx
call fcn.100b2270
jmp 0x100aee02
test ebx, ebx
mov edi, dword [ebp - 0x54]
je 0x100aee40
mov eax, dword [ebx]
test eax, eax
je 0x100aede8
mov dword [ebx + 4], eax
push eax
call fcn.10145bd4
add esp, 4
push ebx
call fcn.10145bd4
add esp, 4
mov dword [edi], 0
jmp 0x100aee46
push ebx
call fcn.1006f420
add esp, 4
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x4c]
cmp edx, 0x1fffffff
mov ecx, dword [ebp - 0x50]
ja 0x100aee40
shl edx, 3
test edx, edx
je 0x100aee40
test eax, eax
je 0x100aee5a
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 4]
push eax
mov dword [ebp - 0x48], ebx
mov ebx, edx
call fcn.10096de0
mov edx, ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
cmp eax, edx
jae 0x100aee5a
mov dword [edi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, edi
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x1c]
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0x53215531
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0x53215531
mov dword [ebp - 0x38], edx
shr edx, 1
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x60]
cmp eax, 3
ja case.default.0x100aeeb6
lea ecx, [esi + 0x50]
mov dword [ebp - 0x48], ecx
jmp dword [eax*4 + 0x101a7320]
lea eax, [esi + 0x38]
mov dword [ebp - 0x4c], eax
add esi, 0x20
push 0x14
call fcn.10145ba4
add esp, 4
mov edx, esi
mov esi, eax
lea eax, [ebp - 0x40]
mov ecx, esi
push dword [ebp - 0x4c]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push dword [ebp - 0x48]
call fcn.1006a190
jmp 0x100aef65
lea eax, [esi + 0x38]
add esi, 0x20
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x28]
push eax
push esi
push ecx
push edx
push ebx
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.1006b3e0
jmp 0x100aef29
lea eax, [esi + 0x38]
add esi, 0x20
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x28]
push eax
push esi
push ecx
push edx
push ebx
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.1006b7d0
add esp, 0x1c
mov esi, dword [ebp - 0x44]
jmp 0x100aef65
lea eax, [esi + 0x38]
mov dword [ebp - 0x4c], eax
add esi, 0x20
push 0x14
call fcn.10145ba4
add esp, 4
mov edx, esi
mov esi, eax
lea eax, [ebp - 0x40]
mov ecx, esi
push dword [ebp - 0x4c]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push dword [ebp - 0x48]
call fcn.1006a190
mov dword [esi], 0x1019c4f4
test esi, esi
mov ecx, 0
je case.default.0x100aeeb6
mov eax, dword [ebp - 0x5c]
lock or dword [esi + 8], eax
mov ecx, esi
mov dword [edi], ecx
jmp 0x100aee46
int3