Function at 0x43b200
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x47cc88]
test eax, eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
jne 0x43b214
call fcn.0043aef0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add eax, 0x1f
shr eax, 5
mov dword [edi + 4], eax
movzx ecx, word [edx + 2]
movzx esi, word [edx]
shl ecx, 0x10
or ecx, esi
mov dword [edi + 8], ecx
movzx ecx, word [edx + 6]
movzx esi, word [edx + 4]
shl ecx, 0x10
or ecx, esi
mov dword [edi + 0xc], ecx
movzx ecx, word [edx + 0xa]
movzx esi, word [edx + 8]
lea ebp, [edi + 0xc]
shl ecx, 0x10
or ecx, esi
mov dword [edi + 0x10], ecx
movzx ecx, word [edx + 0xe]
movzx esi, word [edx + 0xc]
shl ecx, 0x10
or ecx, esi
sub eax, 4
mov dword [edi + 0x14], ecx
je 0x43b593
sub eax, 2
je 0x43b39c
sub eax, 2
jne 0x43b782
movzx eax, word [edx + 0x12]
movzx ecx, word [edx + 0x10]
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x18], eax
movzx eax, word [edx + 0x16]
movzx ecx, word [edx + 0x14]
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x1c], eax
movzx eax, word [edx + 0x1a]
movzx ecx, word [edx + 0x18]
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x20], eax
movzx eax, word [edx + 0x1e]
movzx edx, word [edx + 0x1c]
shl eax, 0x10
or eax, edx
mov dword [edi + 0x24], eax
lea ecx, [edi + 0x28]
xor esi, esi
lea ecx, [ecx]
mov edx, eax
ror edx, 8
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x47a460]
xor eax, dword [ebx*4 + 0x47a060]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0x479c60]
movzx edx, dl
mov ebx, dword [edx*4 + 0x479860]
mov edx, dword [esi + 0x47c860]
xor eax, ebx
mov ebx, dword [ecx - 0x20]
xor eax, edx
mov edx, dword [ecx - 0x1c]
xor eax, ebx
mov ebx, dword [ecx - 0x18]
mov dword [ecx], eax
xor eax, edx
mov edx, dword [ecx - 0x14]
mov dword [ecx + 4], eax
xor eax, ebx
mov dword [ecx + 8], eax
xor eax, edx
mov ebx, eax
mov dword [ecx + 0xc], eax
shr ebx, 0x10
mov edx, eax
movzx ebx, bl
shr edx, 0x18
mov edx, dword [edx*4 + 0x47a460]
xor edx, dword [ebx*4 + 0x47a060]
mov ebx, eax
shr ebx, 8
movzx eax, al
movzx ebx, bl
xor edx, dword [ebx*4 + 0x479c60]
mov ebx, dword [eax*4 + 0x479860]
mov eax, dword [ecx - 0x10]
xor edx, ebx
mov ebx, dword [ecx - 0xc]
xor eax, edx
mov edx, dword [ecx - 8]
mov dword [ecx + 0x10], eax
xor eax, ebx
mov ebx, dword [ecx - 4]
mov dword [ecx + 0x14], eax
xor eax, edx
mov dword [ecx + 0x18], eax
xor eax, ebx
mov dword [ecx + 0x1c], eax
add esi, 4
add ecx, 0x20
cmp esi, 0x1c
jb 0x43b2d0
jmp 0x43b782
movzx ecx, word [edx + 0x12]
movzx eax, word [edx + 0x10]
shl ecx, 0x10
or ecx, eax
mov dword [edi + 0x18], ecx
movzx ecx, word [edx + 0x16]
movzx edx, word [edx + 0x14]
shl ecx, 0x10
or ecx, edx
mov dword [edi + 0x1c], ecx
mov eax, ebp
xor esi, esi
mov edx, ecx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x47a460]
xor ecx, dword [ebx*4 + 0x47a060]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x479c60]
movzx edx, dl
xor ecx, dword [edx*4 + 0x479860]
xor ecx, dword [esi + 0x47c860]
mov edx, dword [eax - 4]
mov ebx, dword [eax]
xor ecx, edx
mov edx, dword [eax + 4]
mov dword [eax + 0x14], ecx
xor ecx, ebx
mov ebx, dword [eax + 8]
mov dword [eax + 0x18], ecx
xor ecx, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x1c], ecx
xor ecx, ebx
mov ebx, dword [eax + 0x10]
mov dword [eax + 0x20], ecx
xor ecx, edx
mov dword [eax + 0x24], ecx
xor ecx, ebx
mov dword [eax + 0x28], ecx
ror ecx, 8
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
mov edx, ecx
shr edx, 0x18
mov edx, dword [edx*4 + 0x47a460]
xor edx, dword [ebx*4 + 0x47a060]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x479c60]
movzx ecx, cl
mov ebx, dword [ecx*4 + 0x479860]
mov ecx, dword [eax + 0x14]
xor edx, ebx
xor edx, dword [esi + 0x47c864]
mov ebx, dword [eax + 0x18]
xor edx, ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x2c], edx
xor edx, ebx
mov ebx, dword [eax + 0x20]
mov dword [eax + 0x30], edx
xor edx, ecx
mov ecx, dword [eax + 0x24]
mov dword [eax + 0x34], edx
xor edx, ebx
mov ebx, dword [eax + 0x28]
mov dword [eax + 0x38], edx
xor edx, ecx
mov dword [eax + 0x3c], edx
xor edx, ebx
mov dword [eax + 0x40], edx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x47a460]
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x47a060]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x479c60]
movzx edx, dl
mov ebx, dword [edx*4 + 0x479860]
mov edx, dword [eax + 0x2c]
xor ecx, ebx
xor ecx, dword [esi + 0x47c868]
mov ebx, dword [eax + 0x30]
xor ecx, edx
mov edx, dword [eax + 0x34]
mov dword [eax + 0x44], ecx
xor ecx, ebx
mov ebx, dword [eax + 0x38]
mov dword [eax + 0x48], ecx
xor ecx, edx
mov edx, dword [eax + 0x3c]
mov dword [eax + 0x4c], ecx
xor ecx, ebx
mov ebx, dword [eax + 0x40]
mov dword [eax + 0x50], ecx
xor ecx, edx
mov dword [eax + 0x54], ecx
xor ecx, ebx
mov dword [eax + 0x58], ecx
ror ecx, 8
mov ebx, ecx
mov edx, ecx
shr ebx, 0x10
shr edx, 0x18
mov edx, dword [edx*4 + 0x47a460]
movzx ebx, bl
xor edx, dword [ebx*4 + 0x47a060]
mov ebx, ecx
shr ebx, 8
movzx ecx, cl
movzx ebx, bl
xor edx, dword [ebx*4 + 0x479c60]
mov ebx, dword [ecx*4 + 0x479860]
mov ecx, dword [esi + 0x47c86c]
xor edx, ebx
mov ebx, dword [eax + 0x44]
xor edx, ecx
xor edx, ebx
mov ebx, dword [eax + 0x4c]
mov ecx, edx
mov edx, dword [eax + 0x48]
mov dword [eax + 0x5c], ecx
xor ecx, edx
mov edx, dword [eax + 0x50]
mov dword [eax + 0x60], ecx
xor ecx, ebx
mov ebx, dword [eax + 0x54]
mov dword [eax + 0x64], ecx
xor ecx, edx
mov edx, dword [eax + 0x58]
mov dword [eax + 0x68], ecx
xor ecx, ebx
mov dword [eax + 0x6c], ecx
xor ecx, edx
mov dword [eax + 0x70], ecx
add esi, 0x10
add eax, 0x60
cmp esi, 0x20
jb 0x43b3c0
jmp 0x43b782
mov eax, ebp
xor esi, esi
mov edx, ecx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x47a460]
xor ecx, dword [ebx*4 + 0x47a060]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x479c60]
movzx edx, dl
xor ecx, dword [edx*4 + 0x479860]
xor ecx, dword [esi + 0x47c860]
mov edx, dword [eax - 4]
mov ebx, dword [eax]
xor ecx, edx
mov edx, dword [eax + 4]
mov dword [eax + 0xc], ecx
xor ecx, ebx
mov ebx, dword [eax + 8]
mov dword [eax + 0x10], ecx
xor ecx, edx
mov dword [eax + 0x14], ecx
xor ecx, ebx
mov dword [eax + 0x18], ecx
ror ecx, 8
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
mov edx, ecx
shr edx, 0x18
mov edx, dword [edx*4 + 0x47a460]
xor edx, dword [ebx*4 + 0x47a060]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x479c60]
movzx ecx, cl
mov ebx, dword [ecx*4 + 0x479860]
mov ecx, dword [eax + 0xc]
xor edx, ebx
xor edx, dword [esi + 0x47c864]
mov ebx, dword [eax + 0x10]
xor edx, ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x1c], edx
xor edx, ebx
mov ebx, dword [eax + 0x18]
mov dword [eax + 0x20], edx
xor edx, ecx
mov dword [eax + 0x24], edx
xor edx, ebx
mov dword [eax + 0x28], edx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x47a460]
xor ecx, dword [ebx*4 + 0x47a060]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x479c60]
movzx edx, dl
mov ebx, dword [edx*4 + 0x479860]
mov edx, dword [eax + 0x1c]
xor ecx, ebx
xor ecx, dword [esi + 0x47c868]
mov ebx, dword [eax + 0x20]
xor ecx, edx
mov dword [eax + 0x2c], ecx
xor ecx, ebx
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x28]
mov dword [eax + 0x30], ecx
xor ecx, edx
mov dword [eax + 0x34], ecx
xor ecx, ebx
mov dword [eax + 0x38], ecx
ror ecx, 8
mov ebx, ecx
shr ebx, 0x10
mov edx, ecx
movzx ebx, bl
shr edx, 0x18
mov edx, dword [edx*4 + 0x47a460]
xor edx, dword [ebx*4 + 0x47a060]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x479c60]
movzx ecx, cl
mov ebx, dword [ecx*4 + 0x479860]
mov ecx, dword [eax + 0x2c]
xor edx, ebx
xor edx, dword [esi + 0x47c86c]
mov ebx, dword [eax + 0x30]
xor edx, ecx
mov ecx, dword [eax + 0x34]
mov dword [eax + 0x3c], edx
xor edx, ebx
mov ebx, dword [eax + 0x38]
mov dword [eax + 0x40], edx
xor edx, ecx
mov dword [eax + 0x44], edx
xor edx, ebx
mov dword [eax + 0x48], edx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x47a460]
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x47a060]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x479c60]
movzx edx, dl
mov ebx, dword [edx*4 + 0x479860]
mov edx, dword [esi + 0x47c870]
xor ecx, ebx
mov ebx, dword [eax + 0x3c]
xor ecx, edx
mov edx, dword [eax + 0x40]
xor ecx, ebx
mov ebx, dword [eax + 0x44]
mov dword [eax + 0x4c], ecx
xor ecx, edx
mov edx, dword [eax + 0x48]
mov dword [eax + 0x50], ecx
xor ecx, ebx
mov dword [eax + 0x54], ecx
xor ecx, edx
mov dword [eax + 0x58], ecx
add esi, 0x14
add eax, 0x50
cmp esi, 0x28
jb 0x43b597
cmp dword [edi], 1
je 0x43b869
mov ecx, dword [ebp]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov dword [edi + 0x10c], ecx
mov ecx, dword [edi + 4]
mov dword [edi + 0x110], edx
mov dword [edi + 0x108], eax
mov eax, dword [edi + 0x14]
lea edx, [ecx*4 + 0x18]
cmp edx, 4
mov dword [edi + 0x114], eax
mov dword [esp + 0x1c], 4
jbe 0x43b869
lea eax, [edi + 0x18]
mov dword [esp + 0x18], eax
mov esi, dword [eax]
mov eax, esi
shr eax, 7
and eax, 0x1010101
imul eax, eax, 0x1b
mov ecx, esi
and ecx, 0xff7f7f7f
shl ecx, 1
xor eax, ecx
mov ecx, eax
shr ecx, 7
and ecx, 0x1010101
imul ecx, ecx, 0x1b
mov edx, eax
and edx, 0xff7f7f7f
shl edx, 1
xor ecx, edx
mov edx, ecx
shr edx, 7
and edx, 0x1010101
imul edx, edx, 0x1b
mov ebx, ecx
and ebx, 0xff7f7f7f
shl ebx, 1
xor edx, ebx
xor esi, edx
mov ebx, ecx
xor ebx, esi
ror ebx, 0x10
mov ebp, eax
xor ebp, esi
ror ebp, 8
xor ebx, ebp
ror esi, 0x18
xor ebx, esi
xor ebx, edx
xor ebx, ecx
mov ecx, dword [esp + 0x1c]
xor ebx, eax
mov eax, dword [esp + 0x18]
mov dword [eax + 0x100], ebx
mov edx, dword [edi + 4]
inc ecx
add eax, 4
lea edx, [edx*4 + 0x18]
cmp ecx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jb 0x43b7d1
pop edi
pop esi
pop ebp
pop ebx
ret 0xc