Function at 0x435a3a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
cmp byte [0x47de86], 0
push esi
mov esi, ecx
mov dword [esp + 0x1c], esi
jne 0x435a48
call fcn.00439be0
cmp byte [0x47de8d], 0
je 0x435a72
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0
push 0x10
push eax
push ecx
push edx
mov ecx, esi
call fcn.00436b80
pop esi
add esp, 0x2c
ret 0xc
mov esi, dword [esi + 0x110]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 4]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [eax + 4]
mov eax, dword [eax]
xor eax, dword [esi]
push ebp
push edi
mov edi, ecx
xor edx, dword [edi]
mov edi, dword [esi + 8]
xor edi, dword [ecx + 4]
add ecx, 4
mov dword [esp + 0x40], edi
mov edi, dword [esi + 0xc]
xor edi, dword [ecx + 4]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x18]
add esi, 0x20
cmp byte [0x47de86], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
jne 0x435add
call fcn.00439be0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [0x479860]
mov dword [esp + 0x24], ecx
xor ecx, ecx
xor ebp, ebp
jmp 0x435af0
and ecx, dword [ebp + 0x47d5d0]
add ebp, dword [esp + 0x24]
cmp ebp, 0x800
jb 0x435af0
and ecx, dword [0x47ddc8]
or dword [esp + 0x40], ecx
or eax, ecx
or edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x20]
movzx ebp, cl
shr ecx, 8
mov dword [esp + 0x1c], ecx
xor ebx, dword [ebp*8 + 0x47d5d4]
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x47d5d1]
xor dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0x40]
mov ecx, dword [ecx*8 + 0x47d5d4]
xor dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
shr dword [esp + 0x1c], 8
movzx ebp, byte [esp + 0x1c]
shr ecx, 8
mov dword [esp + 0x40], ecx
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x47d5d1]
xor ecx, dword [ebp*8 + 0x47d5d2]
shr dword [esp + 0x40], 8
xor edi, ecx
movzx ecx, dl
xor edi, dword [ecx*8 + 0x47d5d4]
shr edx, 8
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
shr edi, 8
mov ebp, dword [edi*8 + 0x47d5d3]
movzx ecx, dl
xor ebp, dword [ecx*8 + 0x47d5d1]
mov ecx, dword [esp + 0x40]
movzx edi, cl
xor ebp, dword [edi*8 + 0x47d5d2]
mov edi, dword [esp + 0x18]
xor edi, ebp
movzx ebp, al
xor edi, dword [ebp*8 + 0x47d5d4]
shr eax, 8
shr ecx, 8
mov ecx, dword [ecx*8 + 0x47d5d3]
mov dword [esp + 0x18], edi
movzx edi, al
xor ecx, dword [edi*8 + 0x47d5d1]
shr edx, 8
movzx edi, dl
xor ecx, dword [edi*8 + 0x47d5d2]
shr eax, 8
xor ebx, ecx
movzx ecx, al
shr edx, 8
mov edx, dword [edx*8 + 0x47d5d3]
xor edx, dword [ecx*8 + 0x47d5d2]
mov ecx, dword [esp + 0x28]
xor dword [esp + 0x10], edx
shr eax, 8
mov eax, dword [eax*8 + 0x47d5d3]
xor dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
shr eax, 1
sub eax, 1
mov dword [esp + 0x1c], eax
movzx edx, bl
mov eax, dword [edx*8 + 0x47d5d3]
shr ebx, 8
movzx ecx, bl
mov edi, dword [ecx*8 + 0x47d5d2]
xor edi, dword [esi + 4]
movzx ebp, byte [esp + 0x10]
shr ebx, 8
xor eax, dword [esi]
movzx edx, bl
shr ebx, 8
mov ecx, dword [ebx*8 + 0x47d5d4]
xor ecx, dword [ebp*8 + 0x47d5d3]
mov ebx, dword [esp + 0x10]
mov edx, dword [edx*8 + 0x47d5d1]
shr ebx, 8
xor edx, dword [esi + 8]
movzx ebp, bl
xor eax, dword [ebp*8 + 0x47d5d2]
shr ebx, 8
movzx ebp, bl
xor edi, dword [ebp*8 + 0x47d5d1]
movzx ebp, byte [esp + 0x14]
xor ecx, dword [esi + 0xc]
shr ebx, 8
mov ebx, dword [ebx*8 + 0x47d5d4]
xor ebx, dword [ebp*8 + 0x47d5d3]
xor edx, ebx
mov ebx, dword [esp + 0x14]
shr ebx, 8
movzx ebp, bl
xor ecx, dword [ebp*8 + 0x47d5d2]
shr ebx, 8
movzx ebp, bl
xor eax, dword [ebp*8 + 0x47d5d1]
movzx ebp, byte [esp + 0x18]
shr ebx, 8
mov ebx, dword [ebx*8 + 0x47d5d4]
xor ebx, dword [ebp*8 + 0x47d5d3]
xor edi, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], edi
shr ebx, 8
movzx edi, bl
xor edx, dword [edi*8 + 0x47d5d2]
shr ebx, 8
movzx edi, bl
xor ecx, dword [edi*8 + 0x47d5d1]
shr ebx, 8
xor eax, dword [ebx*8 + 0x47d5d4]
movzx edi, cl
mov edi, dword [edi*8 + 0x47d5d3]
xor edi, dword [esi + 0x10]
shr ecx, 8
movzx ebx, cl
mov ebx, dword [ebx*8 + 0x47d5d2]
xor ebx, dword [esi + 0x14]
shr ecx, 8
mov dword [esp + 0x14], ebx
mov ebx, ecx
movzx ebp, dl
shr ebx, 8
mov ebx, dword [ebx*8 + 0x47d5d4]
xor ebx, dword [ebp*8 + 0x47d5d3]
shr edx, 8
xor ebx, dword [esi + 0x1c]
movzx ebp, dl
xor edi, dword [ebp*8 + 0x47d5d2]
shr edx, 8
mov dword [esp + 0x18], edi
mov edi, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
shr edi, 8
mov edi, dword [edi*8 + 0x47d5d4]
movzx ebp, dl
xor edi, dword [ebp*8 + 0x47d5d3]
movzx ecx, cl
xor edi, dword [ecx*8 + 0x47d5d1]
xor edi, dword [esi + 0x18]
mov ecx, edi
shr edx, 8
movzx edi, dl
xor ebx, dword [edi*8 + 0x47d5d2]
shr edx, 8
movzx ebp, al
mov edi, edx
shr edi, 8
mov edi, dword [edi*8 + 0x47d5d4]
xor edi, dword [ebp*8 + 0x47d5d3]
movzx ebp, byte [esp + 0x40]
xor edi, dword [ebp*8 + 0x47d5d1]
shr eax, 8
xor dword [esp + 0x14], edi
movzx edi, al
xor ecx, dword [edi*8 + 0x47d5d2]
shr eax, 8
mov dword [esp + 0x10], ecx
movzx ecx, al
xor ebx, dword [ecx*8 + 0x47d5d1]
shr eax, 8
mov eax, dword [eax*8 + 0x47d5d4]
movzx edx, dl
xor eax, dword [edx*8 + 0x47d5d1]
add esi, 0x20
xor dword [esp + 0x18], eax
sub dword [esp + 0x1c], 1
jne 0x435c22
mov eax, dword [esp + 0x10]
movzx ecx, al
movzx edx, byte [ecx*8 + 0x47d5d1]
shr eax, 8
movzx ecx, al
shr eax, 8
mov byte [esp + 0x3b], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x47d5d1]
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2e], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x31], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x37], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x47d5d1]
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3a], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x2d], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x33], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x47d5d1]
mov byte [esp + 0x36], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, bl
shr ebx, 8
mov byte [esp + 0x2c], al
movzx eax, bl
mov byte [esp + 0x39], dl
movzx edx, byte [ecx*8 + 0x47d5d1]
movzx ecx, byte [eax*8 + 0x47d5d1]
shr ebx, 8
mov byte [esp + 0x2f], dl
movzx edx, bl
movzx eax, byte [edx*8 + 0x47d5d1]
mov byte [esp + 0x32], cl
shr ebx, 8
movzx ecx, byte [ebx*8 + 0x47d5d1]
mov byte [esp + 0x38], cl
mov ecx, dword [esi]
xor ecx, dword [esp + 0x2c]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x44]
test eax, eax
je 0x435f1d
mov edx, dword [eax]
jmp 0x435f1f
xor edx, edx
xor edx, ecx
test eax, eax
mov ecx, dword [esp + 0x48]
mov dword [ecx], edx
lea edx, [ecx + 4]
je 0x435f31
add eax, 4
mov edi, dword [esi + 4]
xor edi, dword [esp + 0x30]
test eax, eax
je 0x435f40
mov ecx, dword [eax]
jmp 0x435f42
xor ecx, ecx
xor ecx, edi
mov dword [edx], ecx
add edx, 4
test eax, eax
je 0x435f50
add eax, 4
mov edi, dword [esi + 8]
xor edi, dword [esp + 0x34]
test eax, eax
je 0x435f5f
mov ecx, dword [eax]
jmp 0x435f61
xor ecx, ecx
xor ecx, edi
pop edi
mov dword [edx], ecx
add edx, 4
test eax, eax
pop ebp
pop ebx
je 0x435f72
add eax, 4
mov esi, dword [esi + 0xc]
xor esi, dword [esp + 0x2c]
test eax, eax
je 0x435f8a
mov eax, dword [eax]
xor eax, esi
mov dword [edx], eax
pop esi
add esp, 0x2c
ret 0xc
xor eax, eax
xor eax, esi
mov dword [edx], eax
pop esi
add esp, 0x2c
ret 0xc