Function at 0x43c5e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x90
push ebx
push ebp
lea ebp, [eax + 7]
shr ebp, 3
push esi
and eax, 7
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], eax
mov ebx, ecx
jne 0x43c607
mov dword [esp + 0x24], 8
xor edx, edx
cmp ebp, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
jbe 0x43c7ae
xor esi, esi
lea eax, [ebp - 2]
cmp eax, edx
mov dword [esp + 0x28], esi
jbe 0x43c7ae
cmp esi, edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x43c764
lea edi, [esp + 0x30]
mov esi, ebx
call fcn.0043c0e0
mov eax, dword [0x5b3a84]
test eax, eax
jne 0x43c894
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov edx, 1
mov edi, dword [esp + edx*4 + 0x34]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x38], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
or ebp, edi
xor dword [esp + 0x3c], ebp
mov edi, dword [esp + edx*4 + 0x38]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x3c], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
or ebp, edi
xor dword [esp + 0x3c], ebp
mov edi, dword [esp + edx*4 + 0x3c]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x40], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
or ebp, edi
xor dword [esp + 0x3c], ebp
mov edi, dword [esp + edx*4 + 0x40]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x44], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
or ebp, edi
xor dword [esp + 0x3c], ebp
mov edi, dword [esp + edx*4 + 0x44]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x48], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
mov ecx, dword [esp + 0x3c]
or ebp, edi
xor ecx, ebp
add edx, 5
cmp edx, 0x1a
mov dword [esp + 0x3c], ecx
jb 0x43c671
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x43c773
lea edx, [esp + 0x38]
push edx
mov edi, ebx
call fcn.0043c2e0
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x1c]
xor ecx, eax
mov eax, dword [ebx + 4]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x18]
xor eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x20]
add ebx, 8
mov dword [esp + 0x18], eax
inc esi
mov dword [esp + 0x14], edx
lea eax, [ebp - 2]
xor edx, edx
cmp esi, eax
mov dword [esp + 0x28], esi
jb 0x43c633
mov ecx, dword [esp + 0x24]
cmp ecx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
jbe 0x43c7d3
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 8]
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebp, 1
jne 0x43c7f3
xor edi, edi
mov esi, ebx
call fcn.0043c0e0
mov eax, dword [0x5b3a84]
test eax, eax
jne 0x43c894
jmp 0x43c87e
cmp ebp, 2
jne 0x43c810
xor edi, edi
mov esi, ebx
call fcn.0043c0e0
mov eax, dword [0x5b3a84]
test eax, eax
jne 0x43c894
jmp 0x43c824
lea eax, [esp + 0x38]
push eax
mov edi, ebx
call fcn.0043c2e0
add esp, 4
cmp ebp, 1
jbe 0x43c87e
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx]
mov esi, dword [esp + 0x18]
mov edx, dword [ebx + 4]
xor edi, ecx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
xor esi, edx
xor eax, eax
test edi, edi
mov dword [esp + 0x18], esi
jbe 0x43c866
mov ecx, ebx
lea edx, [esp + 0x14]
sub ecx, edx
nop
mov dl, byte [ebx + eax + 8]
lea esi, [esp + eax + 0x14]
mov byte [esi + ecx], dl
mov dl, byte [esi]
mov byte [ebx + eax + 8], dl
inc eax
cmp eax, edi
jb 0x43c850
cmp ebp, 2
je 0x43c7d8
lea eax, [esp + 0x38]
push eax
mov edi, ebx
call fcn.0043c2e0
add esp, 4
mov edx, dword [ebx]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x20]
xor eax, edx
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret