Function at 0x43fa50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push 0x2630
push 0
push esi
call fcn.004504c0
add esp, 0xc
cmp dword [esi + 0x262c], 0
jne 0x43fa78
mov ecx, esi
call fcn.0043f810
mov eax, dword [esp + 0x1c]
add eax, 0x1f
shr eax, 5
mov dword [esi], eax
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax]
mov byte [esi + 4], cl
movzx edx, byte [eax + 1]
mov byte [esi + 5], dl
movzx ecx, byte [eax + 2]
mov byte [esi + 6], cl
movzx edx, byte [eax + 3]
mov byte [esi + 7], dl
movzx ecx, byte [eax + 4]
mov byte [esi + 8], cl
movzx ecx, byte [eax + 5]
mov byte [esi + 9], cl
movzx ecx, byte [eax + 6]
mov byte [esi + 0xa], cl
movzx ecx, byte [eax + 7]
lea edx, [esi + 8]
mov byte [esi + 0xb], cl
movzx ecx, byte [eax + 8]
mov byte [esi + 0xc], cl
movzx ecx, byte [eax + 9]
mov byte [esi + 0xd], cl
movzx ecx, byte [eax + 0xa]
mov byte [esi + 0xe], cl
movzx ecx, byte [eax + 0xb]
mov byte [esi + 0xf], cl
movzx ecx, byte [eax + 0xc]
mov byte [esi + 0x10], cl
movzx ecx, byte [eax + 0xd]
mov byte [esi + 0x11], cl
movzx ecx, byte [eax + 0xe]
mov byte [esi + 0x12], cl
mov al, byte [eax + 0xf]
mov byte [esi + 0x13], al
cmp dword [esi], 4
jne 0x43fd17
mov ecx, dword [esi + 0x10]
lea edi, [esi + 0x608]
mov eax, edx
mov ebp, 2
xor ebx, ebx
ror ecx, 8
mov edx, ecx
shr edx, 0x18
mov bh, byte [edx + esi + 0x404]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
xor ebx, edx
shl ebx, 8
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
xor ebx, edx
shl ebx, 8
movzx ecx, cl
movzx edx, byte [ecx + esi + 0x404]
xor ebx, edx
xor ebx, dword [eax - 4]
xor ebx, dword [edi - 4]
mov ecx, ebx
mov dword [eax + 0xc], ecx
xor ecx, dword [eax]
xor ebx, ebx
mov dword [eax + 0x10], ecx
xor ecx, dword [eax + 4]
mov dword [eax + 0x14], ecx
xor ecx, dword [eax + 8]
mov dword [eax + 0x18], ecx
ror ecx, 8
mov edx, ecx
shr edx, 0x18
mov bh, byte [edx + esi + 0x404]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
xor ebx, edx
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
shl ebx, 8
xor ebx, edx
movzx ecx, cl
movzx edx, byte [ecx + esi + 0x404]
shl ebx, 8
xor ebx, edx
xor ebx, dword [eax + 0xc]
xor ebx, dword [edi]
mov ecx, ebx
mov dword [eax + 0x1c], ecx
xor ecx, dword [eax + 0x10]
xor ebx, ebx
mov dword [eax + 0x20], ecx
xor ecx, dword [eax + 0x14]
mov dword [eax + 0x24], ecx
xor ecx, dword [eax + 0x18]
mov dword [eax + 0x28], ecx
ror ecx, 8
mov edx, ecx
shr edx, 0x18
mov bh, byte [edx + esi + 0x404]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
xor ebx, edx
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
shl ebx, 8
xor ebx, edx
movzx ecx, cl
movzx edx, byte [ecx + esi + 0x404]
shl ebx, 8
xor ebx, edx
xor ebx, dword [edi + 4]
xor ebx, dword [eax + 0x1c]
add edi, 0x14
mov ecx, ebx
mov dword [eax + 0x2c], ecx
xor ecx, dword [eax + 0x20]
xor ebx, ebx
mov dword [eax + 0x30], ecx
xor ecx, dword [eax + 0x24]
add eax, 0x50
mov dword [eax - 0x1c], ecx
xor ecx, dword [eax - 0x28]
mov dword [eax - 0x18], ecx
ror ecx, 8
mov edx, ecx
shr edx, 0x18
mov bh, byte [edx + esi + 0x404]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
xor ebx, edx
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
shl ebx, 8
xor ebx, edx
movzx ecx, cl
movzx edx, byte [ecx + esi + 0x404]
shl ebx, 8
xor ebx, edx
xor ebx, dword [edi - 0xc]
xor ebx, dword [eax - 0x24]
mov ecx, ebx
mov dword [eax - 0x14], ecx
xor ecx, dword [eax - 0x20]
xor ebx, ebx
mov dword [eax - 0x10], ecx
xor ecx, dword [eax - 0x1c]
mov dword [eax - 0xc], ecx
xor ecx, dword [eax - 0x18]
mov dword [eax - 8], ecx
ror ecx, 8
mov edx, ecx
shr edx, 0x18
mov bh, byte [edx + esi + 0x404]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
xor ebx, edx
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + esi + 0x404]
shl ebx, 8
movzx ecx, cl
xor ebx, edx
movzx edx, byte [ecx + esi + 0x404]
shl ebx, 8
xor ebx, edx
xor ebx, dword [edi - 8]
xor ebx, dword [eax - 0x14]
mov ecx, ebx
mov dword [eax - 4], ecx
xor ecx, dword [eax - 0x10]
mov dword [eax], ecx
xor ecx, dword [eax - 0xc]
mov dword [eax + 4], ecx
xor ecx, dword [eax - 8]
sub ebp, 1
mov dword [eax + 8], ecx
jne 0x43fb12
cmp byte [esp + 0x20], 1
je 0x43fdfe
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov dword [esi + 0x108], ecx
mov ecx, dword [esi]
mov dword [esi + 0x10c], edx
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x10]
lea edx, [ecx*4 + 0x18]
cmp edx, 4
mov dword [esi + 0x110], eax
mov dword [esp + 0x14], 4
jbe 0x43fdfe
lea ebx, [esi + 0x14]
mov edi, dword [ebx]
mov eax, edi
shr eax, 7
and eax, 0x1010101
imul eax, eax, 0x1b
mov ecx, edi
and ecx, 0xff7f7f7f
add ecx, ecx
xor eax, ecx
mov ecx, eax
shr ecx, 7
and ecx, 0x1010101
imul ecx, ecx, 0x1b
mov edx, eax
and edx, 0xff7f7f7f
add edx, edx
xor ecx, edx
mov edx, ecx
shr edx, 7
and edx, 0x1010101
imul edx, edx, 0x1b
mov ebp, ecx
and ebp, 0xff7f7f7f
add ebp, ebp
xor edx, ebp
xor edi, edx
mov dword [esp + 0x20], edi
mov ebp, ecx
xor ebp, edi
ror ebp, 0x10
mov edi, eax
xor edi, dword [esp + 0x20]
add ebx, 4
ror edi, 8
xor ebp, edi
mov edi, dword [esp + 0x20]
ror edi, 0x18
xor ebp, edi
xor ebp, edx
xor ebp, ecx
xor ebp, eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xfc], ebp
mov ecx, dword [esi]
add eax, 1
lea edx, [ecx*4 + 0x18]
cmp eax, edx
mov dword [esp + 0x14], eax
jb 0x43fd63
pop edi
pop esi
pop ebp
pop ebx
ret